newton->ocata upgrade hangs starting nova-api
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Oliver Walsh |
Bug Description
I'm testing composable upgrades, and with nova enabled we get stuck at step2 with this error in the nova API log:
2017-02-17 17:11:06.341 51250 ERROR nova Traceback (most recent call last):
2017-02-17 17:11:06.341 51250 ERROR nova File "/usr/bin/
2017-02-17 17:11:06.341 51250 ERROR nova sys.exit(main())
2017-02-17 17:11:06.341 51250 ERROR nova File "/usr/lib/
2017-02-17 17:11:06.341 51250 ERROR nova server = service.
2017-02-17 17:11:06.341 51250 ERROR nova File "/usr/lib/
2017-02-17 17:11:06.341 51250 ERROR nova self.workers = (getattr(CONF, '%s_workers' % wname, None) or
2017-02-17 17:11:06.341 51250 ERROR nova File "/usr/lib/
2017-02-17 17:11:06.341 51250 ERROR nova return self._get(name)
2017-02-17 17:11:06.341 51250 ERROR nova File "/usr/lib/
2017-02-17 17:11:06.341 51250 ERROR nova value = self._do_get(name, group, namespace)
2017-02-17 17:11:06.341 51250 ERROR nova File "/usr/lib/
2017-02-17 17:11:06.341 51250 ERROR nova % (opt.name, str(ve)))
2017-02-17 17:11:06.341 51250 ERROR nova ConfigFileValue
2017-02-17 17:11:06.341 51250 ERROR nova
The problem seems to be we update nova-api packages, then try to start the service, but puppet hasn't yet run to set the value for osapi_compute_
I'm currently not sure why others manually testing aren't seeing this, I guess my (all upstream) environment is different, but we need to resolve this to enable upgrde CI testing with nova enabled.
There seem to be multiple problems - as well as the *workers config above, the package updates are trying to restart nova* while rabbit is down, so we may have to adjust the steps.
Ideally we'd just stop the packages messing with the service state (--noscripts?) as it makes the ordering more difficult here I think.
Still unclear how/why this is working for others so it'd be good to compare environments and figure that out and/or get confirmation from someone with an upstream env that they see the same as me.