Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1361877 - upgrade failed: Failed to detach interface
Summary: upgrade failed: Failed to detach interface
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 9.0 (Mitaka)
Hardware: Unspecified
OS: Unspecified
Target Milestone: ga
: 9.0 (Mitaka)
Assignee: Dan Sneddon
QA Contact: Omri Hochman
Depends On:
TreeView+ depends on / blocked
Reported: 2016-07-31 12:28 UTC by Ronnie Rasouli
Modified: 2016-08-04 04:42 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2016-08-03 20:55:18 UTC
Target Upstream Version:

Attachments (Terms of Use)
error logs where the error found (deleted)
2016-07-31 12:28 UTC, Ronnie Rasouli
no flags Details

Description Ronnie Rasouli 2016-07-31 12:28:20 UTC
Created attachment 1186053 [details]
error logs where the error found

Description of problem:

Overcloud update failed with error Failed to detach interface

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.deploy rhos8 
2.launch an instance from network
3.update the undercloud
4. update the overcloud

Actual results:

overcloud_update failed

Expected results:

Upgrade success

Additional info:
based on

Deployment rhos8 overcloud
openstack overcloud deploy --templates ~/templates/my-overcloud --control-scale 3 --compute-scale 1 --ntp-server --libvirt-type qemu -e ~/templates/my-overcloud/environments/network-isolation.yaml -e ~/templates/network-environment.yaml -e ~/templates/firstboot-environment.yaml

spawn instancetnet=$(neutron net-list | grep tenant-net | awk '{print $2};')
nova boot --image cirros --flavor m1.tiny firstInstance --nic net-id=$tnet
openstack overcloud deploy --templates ~/templates/my-overcloud --control-scale 3 --compute-scale 1 --ntp-server --libvirt-type qemu -e ~/templates/my-overcloud/environments/network-isolation.yaml -e ~/templates/network-environment.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/major-upgrade-aodh.yaml  --force-postconfig

Comment 6 Steve Baker 2016-08-02 23:45:19 UTC
According to the attached log, multiple compute and controller nodes are getting the detach error.

This suggests that some change is causing port resources to be replaced. Chances are this is because other network resources are being replaced unexpectedly - this should be the first thing to check.

Attaching an event list for the stack update should show what network resources are being replaced:

  heat event-list --nested-depth 3 --format log overcloud

If those replacements are unexpected, then you'll need to figure out what properties are changing which cause replacement.

If those replacements are expected and these nodes really do need new ports attached to them, then you'll need to diagnose nova for the cause of the detach failures.

I'll have a look in upstream logstash to see if might be related

Comment 7 Steve Baker 2016-08-02 23:57:55 UTC
I'm not seeing any detach errors in upstream gate jobs

Comment 9 Mike Burns 2016-08-03 20:55:18 UTC
In an IRC conversation, it was brought up that there was a mistake in the process (the templates were copied to $HOME but not updated with the newer templates).  Given that others have not seen this issue so far, we're going to close the bug.  

If it reproduces, please reopen the bug.

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