| |
@@ -3519,8 +3519,8 @@
|
| |
#IF specific
|
| |
'imgdir': os.path.join(self.workdir, 'scratch_images'),
|
| |
'tmpdir': os.path.join(self.workdir, 'oz-tmp'),
|
| |
- 'verbose' : True,
|
| |
- 'timeout': 7200,
|
| |
+ 'verbose': True,
|
| |
+ 'timeout': self.options.oz_install_timeout or None,
|
| |
'output': 'log',
|
| |
'raw': False,
|
| |
'debug': True,
|
| |
@@ -5666,7 +5666,7 @@
|
| |
'max_retries': 120,
|
| |
'offline_retry': True,
|
| |
'offline_retry_interval': 120,
|
| |
- 'keepalive' : True,
|
| |
+ 'keepalive': True,
|
| |
'timeout' : None,
|
| |
'no_ssl_verify' : False,
|
| |
'use_fast_upload': True,
|
| |
@@ -5681,6 +5681,7 @@
|
| |
'resolver-status.properties *.lastUpdated',
|
| |
'failed_buildroot_lifetime' : 3600 * 4,
|
| |
'rpmbuild_timeout' : 3600 * 24,
|
| |
+ 'oz_install_timeout': 0,
|
| |
'cert': None,
|
| |
'ca': '', # FIXME: Unused, remove in next major release
|
| |
'serverca': None}
|
| |
@@ -5688,7 +5689,7 @@
|
| |
for name, value in config.items('kojid'):
|
| |
if name in ['sleeptime', 'maxjobs', 'minspace', 'retry_interval',
|
| |
'max_retries', 'offline_retry_interval', 'failed_buildroot_lifetime',
|
| |
- 'timeout', 'rpmbuild_timeout',]:
|
| |
+ 'timeout', 'rpmbuild_timeout', 'oz_install_timeout',]:
|
| |
try:
|
| |
defaults[name] = int(value)
|
| |
except ValueError:
|
| |
related PR #837
fixes #842
make this value configurable,
if it's not specified in kojid.conf, passing None to imagefactory, who will tell oz to use default timeout which can be specified in /etc/oz/oz.cfg since oz-0.16.0