Bug 1245826
| Summary: | Overcloud package update cmd not waiting for hooks | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Omri Hochman <ohochman> | ||||
| Component: | python-rdomanager-oscplugin | Assignee: | Jan Provaznik <jprovazn> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Shai Revivo <srevivo> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | unspecified | CC: | dmacpher, hbrock, jcoufal, jslagle, mburns, rhel-osp-director-maint, zbitter | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | 10.0 (Newton) | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Known Issue | |||||
| Doc Text: |
The "openstack overcloud update stack" command returns immediately despite ongoing operations in the background. The command seems to run forever because it's not interactive. In these situations, run the command with the "-i" flag. This prompts the user for any manual interaction needs.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-10-05 19:36:10 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Omri Hochman
2015-07-22 21:18:15 UTC
Created attachment 1055078 [details]
instack-messages
Basically the CLI command is exiting immediately instead of giving the user the chance to interactively clear the hooks. Since the stack is not guaranteed to move to UPDATE_IN_PROGRESS before returning from the heat stack-update command, most likely we are seeing the COMPLETE status from a previous operation and misinterpreting it as the update being complete. Note that the issue is likely in openstack-tripleo-common, but we don't have a bugzilla component for that. You can use '-i' (interactive) param to run through whole package update process and wait for hooks ('-i' is in doc too). Minor bug is that "COMPLETE" status is returned right after triggering the update (because of the reason described by Zane) but this shouldn't have an impact on the update process itself.
If you abort already running "openstack overcloud update stack overcloud -i" you can anytime get back to it just by re-running the command again (the command checks if update is already in progress and if so it continues with the existing update). IMO this can be closed as "not a bug" if you agree? We could probably expand the docs to specifically mention -i and why it is needed (and what to do if you forget to add it). I can't actually imagine any reason that you'd not want to specify that option. doc patch https://review.gerrithub.io/241146 adds explicit note about using interactive mode The docs are updated to state that -i is required, so closing this bug. This bug did not make the OSP 8.0 release. It is being deferred to OSP 10. Obsolete. Please re-open if still valid. |