openstack overcloud export fails with No such file or directory: '/home/stack/config-download/control-plane/group_vars/overcloud.json'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Committed
|
High
|
John Fulton |
Bug Description
The following two commands fail with TripleO main branch because they cannot find group_vars/
openstack overcloud export -f --stack control-plane
openstack overcloud export ceph -f --stack control-plane
This breaks DCN deployments.
(undercloud) [CentOS-8 - stack@undercloud dcn]$ openstack overcloud export -f --stack control-plane
Exception occured while running the command
Traceback (most recent call last):
File "/usr/lib/
super(Command, self).run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
heat, stack, False, config_
File "/usr/lib/
with open(file, 'r') as ff:
FileNotFoundError: [Errno 2] No such file or directory: '/home/
[Errno 2] No such file or directory: '/home/
(undercloud) [CentOS-8 - stack@undercloud dcn]$
(undercloud) [CentOS-8 - stack@undercloud dcn]$ openstack overcloud export ceph -f --stack control-plane
Exception occured while running the command
Traceback (most recent call last):
File "/usr/lib/
super(Command, self).run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
config_
File "/usr/lib/
mon_ips = export_
File "/usr/lib/
with open(file, 'r') as ff:
FileNotFoundError: [Errno 2] No such file or directory: '/home/
[Errno 2] No such file or directory: '/home/
(undercloud) [CentOS-8 - stack@undercloud dcn]$
Changed in tripleo: | |
status: | In Progress → Fix Committed |
Automatic config-download is now adding the stack name twice. The file is here:
config- download/ control- plane/control- plane/group_ vars/overcloud. json
Do we simply update the python- tripleoclient to deal with the new location?
again? [1]
[1] https:/ /review. opendev. org/c/openstack /python- tripleoclient/ +/737671