Failing deployment "Unable to create the flat network. Physical network tenant is in use."
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Alex Schultz |
Bug Description
If the user fails to include their network-isolation or network environment files when performing a stack update, it will fail when Heat attempts to create the default flat network in the overcloud configuration. This is a very destructive action as recovery from this condition requires that a user restore their undercloud database from a backup or manually remove the resources created.
How to reproduce the problem:
1) Deploy the cloud
openstack overcloud deploy --templates -e /usr/share/
2) Run an update without network-
openstack overcloud deploy --templates -e /usr/share/
Changed in tripleo: | |
status: | Triaged → In Progress |
tags: | added: queens-backport-potential rocky-backport-potential |
Changed in tripleo: | |
milestone: | stein-3 → stein-rc1 |
Reviewed: https:/ /review. openstack. org/638858 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=1a71c441fa8 958896d7f380636 075612c67bf7da
Committed: https:/
Submitter: Zuul
Branch: master
commit 1a71c441fa89588 96d7f3806360756 12c67bf7da
Author: Alex Schultz <email address hidden>
Date: Sat Feb 23 12:54:23 2019 -0700
Check that the networks are defined on update
Check defined networks in the resource registry of the stack against the
networks defined in the environment files. If the environment provided
doesn't have the networks defined, it's likely they were improperly
dropped which can lead to deployment issues. This is a light check that
only checks for the existance of the networks but not the contents of
those networks. This handles the case where a user forgets to include
the network-isolation configuration on a subsequent update to the cloud.
This does not prevent a user from changing the contents of the networks
to something that breaks their deployment.
Partial-Bug: #1817631 bf8c55f2fd04c9a 9efde914a67
Change-Id: Ia97a2367770e37