Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1641682

Summary: ffw-update is trying to delete undercloud networks
Product: Red Hat OpenStack Reporter: Eduard Barrera <ebarrera>
Component: rhosp-directorAssignee: Lukas Bezdicka <lbezdick>
Status: CLOSED DUPLICATE QA Contact: Gurenko Alex <agurenko>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: ccamacho, dbecker, ebarrera, emacchi, jfrancoa, lbezdick, mburns, morazi
Target Milestone: z4Keywords: Triaged, Unconfirmed, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-28 12:29:08 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 Eduard Barrera 2018-10-22 13:52:49 UTC
Description of problem:

During the step 6.1[1] cu. is getting the following errors, director is trying to delete all the networks:

...
overcloud3.Networks.TenantNetwork.TenantSubnet:
  resource_type: OS::Neutron::Subnet
  physical_resource_id: d5ca764d-80dc-4394-9cbe-590e79e7fd6f
  status: DELETE_FAILED
  status_reason: |
    Conflict: resources.TenantSubnet: Unable to complete operation on subnet d5ca764d-80dc-4394-9cbe-590e79e7fd6f: One or more ports have an IP allocation from this subnet.
...

I did check the templates, networking config is updated correctly, noyt using custom roles_data so nothing modified there.

These are the commands used:

Overcloud deploy:

time openstack overcloud deploy \
--stack overcloud1 \
--templates /home/stack/templates/openstack-tripleo-heat-templates \
-e openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e openstack-tripleo-heat-templates/environments/puppet-ceph-external.yaml \
-e rhel-registration/environment-rhel-registration.yaml \
-e rhel-registration/rhel-registration-resource-registry.yaml \
-e network-environment.yaml \
--timeout 120 | tee overcloud_install.log


Ffw-update:

openstack overcloud ffwd-upgrade prepare \
    --stack overcloud1 \
    --templates /home/stack/templates/openstack-tripleo-heat-templates \
    -e /home/stack/templates/overcloud_images.yaml \
    -e openstack-tripleo-heat-templates/environments/network-isolation.yaml \
    -e openstack-tripleo-heat-templates/environments/puppet-ceph-external.yaml \
	-e network-environment.yaml


One strange thing is that there is no references on temp files generated by director of the network-environment.yaml  so if I do a grep -R ExternalNetCidr *  I only find the default values.


[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/13/html/fast_forward_upgrades/assembly-upgrading_the_overcloud#performing_the_fast_forward_upgrade_of_the_overcloud


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


How reproducible:
Always



Actual results:
Errors specified above

Expected results:
no errors

Comment 4 Lukas Bezdicka 2018-11-12 13:39:28 UTC
Mostly looks like customer issue where they forgot to add MGMT network to roles_data.yaml. We need to verify.

Comment 6 Carlos Camacho 2018-11-19 14:28:30 UTC
Eduard, mind to check with the customer if they forgot to add the MGMT network to the roles_data.yaml template?

Comment 10 Lukas Bezdicka 2019-01-28 12:29:08 UTC

*** This bug has been marked as a duplicate of bug 1657889 ***

Comment 11 Red Hat Bugzilla 2023-09-14 04:40:39 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days