Bug 1572257
Summary: | openstack undercloud upgrade fails when overcloud has Failed state | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Sergii Golovatiuk <sgolovat> |
Component: | instack-undercloud | Assignee: | Rabi Mishra <ramishra> |
Status: | CLOSED NOTABUG | QA Contact: | Yurii Prokulevych <yprokule> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 13.0 (Queens) | CC: | dbecker, dmacpher, joflynn, jschluet, jstransk, mburns, morazi, nchandek, ramishra, slinaber, therve, vcojot, zbitter |
Target Milestone: | z2 | Keywords: | Rebase, Reopened, Triaged, ZStream |
Target Release: | 13.0 (Queens) | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | instack-undercloud-8.4.3-2.el7ost | Doc Type: | Bug Fix |
Doc Text: |
Red Hat OpenStack undercloud upgrade failed when the overcloud was in a Failed state. It failed very late with a cryptic error when trying to migrate the overcloud stack to use convergence architecture in the post-configuration step of the upgrade process.
Now, it fails fast and does not allow undercloud upgrade to proceed. The user receives an error at the beginning of undercloud upgrade. The user must ensure that the overcloud is in *_COMPLETE state before proceeding with the undercloud upgrade.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-12-02 14:09:21 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: |
Description
Sergii Golovatiuk
2018-04-26 14:23:35 UTC
*** Bug 1572259 has been marked as a duplicate of this bug. *** Additional context: we hit this during FFWD upgrade testing. I'm not sure if we should be saying "all Heat stacks need to be *_COMPLETE rather than *_FAILED before we upgrade Heat" or if this is something that we need to fix. (In reply to Jiri Stransky from comment #2) > Additional context: we hit this during FFWD upgrade testing. I'm not sure if > we should be saying "all Heat stacks need to be *_COMPLETE rather than > *_FAILED before we upgrade Heat" or if this is something that we need to fix. Yes we should say that, because we decided we wanted all overcloud stacks migrated to convergence in Queens, and that can only happen for stacks that are in a COMPLETE state. Thanks, so sounds like we should transform it into a Doc BZ? (CCing Dan) > Thanks, so sounds like we should transform it into a Doc BZ? we were trying to migrate the FAILED stacks, which would be fixed by https://review.openstack.org/#/c/566225/. Though it seems little weird that undercloud upgrade would fail for an overcloud being in FAILED state. If that's something we want, then we should fail fast rather than in post config[1]. [1] https://github.com/openstack/instack-undercloud/blob/master/instack_undercloud/undercloud.py#L2042 (In reply to Rabi Mishra from comment #6) > Though it seems little weird that undercloud upgrade would fail for an > overcloud being in FAILED state. If that's something we want, then we should > fail fast rather than in post config[1]. > > [1] > https://github.com/openstack/instack-undercloud/blob/master/ > instack_undercloud/undercloud.py#L2042 Agree, it would be much better if we didn't let people start the undercloud upgrade until the overcloud was in a COMPLETE state. I'm pretty sure this is the procedure we follow in the field in practice, but customers who are updating on their own may not always be aware of it. *** Bug 1593741 has been marked as a duplicate of this bug. *** This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible. If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-". To add draft documentation text: * Select the documentation type from the "Doc Type" drop down field. * A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field. Verified with instack-undercloud-8.4.3-3.el7ost.noarch : 2018-08-15 05:03:21,460 ERROR: Can not upgrade undercloud with FAILED overcloud Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:2574 |