Bug 1501515

Summary: OSP11 -> OSP12 upgrade: major-upgrade-composable-steps-docker fails with Conflict: resources.InternalApiNetwork: Unable to create the flat network. Physical network internal_api is in use.
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: openstack-tripleo-heat-templatesAssignee: Tim Rozet <trozet>
Status: CLOSED ERRATA QA Contact: Marius Cornea <mcornea>
Severity: urgent Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: bfournie, dbecker, dsneddon, jschluet, lbezdick, mbracho, mbultel, mburns, morazi, ohochman, rhel-osp-director-maint, sathlang, sclewis, trozet, tvignaud, yprokule
Target Milestone: rcKeywords: Triaged
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-7.0.3-3.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1478818 Environment:
Last Closed: 2017-12-13 22:13:59 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:
Bug Depends On: 1478818    
Bug Blocks: 1399762    

Comment 1 Marius Cornea 2017-10-12 17:34:30 UTC
This issue has started showing up again in the latest puddle. Checking THT I see that the fix for Bug #1478818 has basically been reverted by https://review.openstack.org/#/c/509583/

This is the upgrade result on an environment with latest puddle:

(undercloud) [stack@undercloud-0 ~]$ openstack stack failures list overcloud
overcloud.Networks.InternalApiNetwork.InternalApiNetwork:
  resource_type: OS::Neutron::Net
  physical_resource_id: 
  status: CREATE_FAILED
  status_reason: |
    Conflict: resources.InternalApiNetwork: Unable to create the flat network. Physical network internal_api is in use.
    Neutron server returns request_ids: ['req-2143f1a9-4ed4-4c6d-bceb-bf417e294933']
overcloud.Networks.InternalNetwork.InternalApiSubnet:
  resource_type: OS::Neutron::Subnet
  physical_resource_id: f49a20d6-dc7d-4466-8aae-4f33f8c0864c
  status: DELETE_FAILED
  status_reason: |
    Conflict: resources.InternalApiSubnet: Unable to complete operation on subnet f49a20d6-dc7d-4466-8aae-4f33f8c0864c: One or more ports have an IP allocation from this subnet.
    Neutron server returns request_ids: ['req-f33a7eaf-1d99-4506-ac53-c516f7d2ea81']
(undercloud) [stack@undercloud-0 ~]$ openstack stack list --nested | grep -i network | grep -i internal
| 701add3b-8fac-412c-b765-f77fe7337cf1 | overcloud-Networks-ofrhyzpty6u4-InternalApiNetwork-bwy35or6ghcf                                                                                                          | edbe5cb37bd14bbebcaf09e4960344b3 | CREATE_FAILED   | 2017-10-12T16:52:35Z | None                 | 72785dba-d61e-41d4-9103-342c8f59b4ed |
| cec99073-df17-46d9-abc1-fe6470cc5dad | overcloud-Networker-xdkg6cwjdgk2-0-hravfmzoqc6s-InternalApiPort-eas25nfkmj2v                                                                                             | edbe5cb37bd14bbebcaf09e4960344b3 | CREATE_COMPLETE | 2017-10-12T15:20:12Z | None                 | d45f9c87-62f8-4843-85e2-334f6c3201e0 |
| cdcab1d5-a384-42d3-a4c5-f3c8f68cb147 | overcloud-Networker-xdkg6cwjdgk2-1-p4jlrt3hr7of-InternalApiPort-myspi23nbxxf                                                                                             | edbe5cb37bd14bbebcaf09e4960344b3 | CREATE_COMPLETE | 2017-10-12T15:17:08Z | None                 | c92eaae3-a4cb-4595-85c5-c8775d87fe01 |
| c07dbe4e-587c-4631-bc7f-45665fd23265 | overcloud-Networks-ofrhyzpty6u4-InternalNetwork-5ichbftrekzt                                                                                                             | edbe5cb37bd14bbebcaf09e4960344b3 | DELETE_FAILED   | 2017-10-12T15:12:47Z | None                 | 72785dba-d61e-41d4-9103-342c8f59b4ed |

Comment 7 mathieu bultel 2017-11-15 15:59:49 UTC
openstack-tripleo-heat-templates-7.0.3-3.el7ost

Comment 11 errata-xmlrpc 2017-12-13 22:13:59 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-2017:3462