Bug 1641682 - ffw-update is trying to delete undercloud networks
Summary: ffw-update is trying to delete undercloud networks
Keywords:
Status: CLOSED DUPLICATE of bug 1657889
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 13.0 (Queens)
Assignee: Lukas Bezdicka
QA Contact: Gurenko Alex
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-22 13:52 UTC by Eduard Barrera
Modified: 2023-09-14 04:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-28 12:29:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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