Bug 1609835 - [UPGRADES][14]Failed to setup heat output - Failed to detach interface from server
Summary: [UPGRADES][14]Failed to setup heat output - Failed to detach interface from s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: beta
: 14.0 (Rocky)
Assignee: Emilien Macchi
QA Contact: Yurii Prokulevych
URL:
Whiteboard:
: 1610200 (view as bug list)
Depends On: 1647779 1650172
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-30 15:22 UTC by Yurii Prokulevych
Modified: 2019-01-11 11:51 UTC (History)
12 users (show)

Fixed In Version: openstack-tripleo-heat-templates-9.0.1-0.20181013060859.ffbe879.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:51:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 588529 0 None MERGED Mount /usr/lib/heat on undercloud Heat 2020-02-07 11:25:13 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:51:19 UTC

Description Yurii Prokulevych 2018-07-30 15:22:41 UTC
Description of problem:
-----------------------
Overcloud upgrade prepare command failed:

openstack overcloud upgrade prepare --stack overcloud \
    --templates /usr/share/openstack-tripleo-heat-templates \
        -e /home/stack/virt/internal.yaml \
        -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
        -e /home/stack/virt/network/network-environment.yaml \
        -e /home/stack/virt/enable-tls.yaml \
        -e /home/stack/virt/inject-trust-anchor.yaml \
        -e /home/stack/virt/public_vip.yaml \
        -e /usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml \
        -e /home/stack/virt/hostnames.yml \
        -e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml \
        -e /home/stack/virt/debug.yaml \
        -e /home/stack/virt/nodes_data.yaml \
        -e /home/stack/virt/docker-images.yaml \
        -e /home/stack/cli_opts_params.yaml \
        -e /home/stack/virt/docker-images.yaml \
    --roles-file /usr/share/openstack-tripleo-heat-templates/roles_data.yaml 2>&1
...
overcloud.CephStorage.1.CephStorage:
  resource_type: OS::TripleO::CephStorageServer
  physical_resource_id: dec72b20-7538-4708-b7e6-17631683a5b7
  status: UPDATE_FAILED
  status_reason: |
    InterfaceDetachFailed: resources.CephStorage: Failed to detach interface (13a64a4c-78b2-43aa-b65e-46ea352511a7) from server (dec72b20-7538-4708-b7e6-17631683a5b7)
overcloud.CephStorage.0.CephStorage:
  resource_type: OS::TripleO::CephStorageServer
  physical_resource_id: 45e2dc80-d9d5-44c0-8a86-2cffc5cceb94
  status: UPDATE_FAILED
  status_reason: |
    InterfaceDetachFailed: resources.CephStorage: Failed to detach interface (0fd60872-e0c6-4d25-a338-c4f420be9344) from server (45e2dc80-d9d5-44c0-8a86-2cffc5cceb94)
overcloud.CephStorage.2.CephStorage:
  resource_type: OS::TripleO::CephStorageServer
  physical_resource_id: e2fafb78-14aa-494b-a857-1de847367e75
  status: UPDATE_FAILED
  status_reason: |
    InterfaceDetachFailed: resources.CephStorage: Failed to detach interface (25cbc5b2-d7f9-461d-8763-9b75efd70e0b) from server (e2fafb78-14aa-494b-a857-1de847367e75)
2018-07-30 10:51:42.796 13372 DEBUG osc_lib.shell [-] clean_up ListStackFailures:  clean_up /usr/lib/python2.7/site-packages/osc_lib/shell.py:486
2018-07-30 10:51:42.796 13372 INFO osc_lib.shell [-] END return value: 0
2018-07-30 10:51:42.796 13372 ERROR openstack [-] Heat Stack update failed.: DeploymentError: Heat Stack update failed.
Heat Stack update failed.
2018-07-30 10:51:42.797 13372 DEBUG osc_lib.shell [-] clean_up UpgradePrepare: Heat Stack update failed. clean_up /usr/lib/python2.7/site-packages/osc_lib/shell.py:486
2018-07-30 10:51:42.799 13372 INFO osc_lib.shell [-] END return value: 1



Version-Release number of selected component (if applicable):
-------------------------------------------------------------
openstack-tripleo-heat-templates-9.0.0-0.20180717094150.el7ost.noarch

openstack-heat-agents-1.6.1-0.20180709100740.fdd6a5f.el7ost.noarch
openstack-heat-api-cfn-12.0.0-0.20180604085325.7d878a8.el7ost.noarch
openstack-heat-api-12.0.0-0.20180604085325.7d878a8.el7ost.noarch
openstack-heat-common-12.0.0-0.20180604085325.7d878a8.el7ost.noarch
openstack-heat-engine-12.0.0-0.20180604085325.7d878a8.el7ost.noarch
openstack-heat-monolith-12.0.0-0.20180604085325.7d878a8.el7ost.noarch

python-tripleoclient-heat-installer-10.3.1-0.20180716131225.300dfb3.el7ost.noarch
python-tripleoclient-10.3.1-0.20180716131225.300dfb3.el7ost.noarch


Steps to Reproduce:
-------------------
1. Install RHOS-13
2. Upgrade UC to RHOS-14(2018-07-25.2)
3. Setup playbook for oc upgrade


Actual results:
---------------
Upgrade prepare command fails

Expected results:
-----------------
Upgrade playbooks are generated

Additional info:
----------------
Virtual setup: 3controllers + 2computes + 3ceph

Comment 2 Thomas Hervé 2018-08-06 13:58:22 UTC
The hypothesis right now is that's it's due to the lack of heat plugins in the undercloud.

https://review.openstack.org/#/c/588529/ may fix it.

Comment 4 Rabi Mishra 2018-08-08 02:49:13 UTC
*** Bug 1610200 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2019-01-11 11:51:11 UTC
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/RHEA-2019:0045


Note You need to log in before you can comment on or make changes to this bug.