Unable to export ceph information for multiple stacks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Committed
|
High
|
John Fulton |
Bug Description
Unable to export two stacks at once [1] after the fix for 1884246 landed though I can export one stack at a time [2]. We need to be able to export two at once however, because we need to generate one file.
[1]
(undercloud) [CentOS-8 - stack@undercloud ~]$ openstack overcloud export ceph --stack dcn0,dcn1
Exception occured while running the command
Traceback (most recent call last):
File "/usr/local/
super(Command, self).run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/local/
config_
File "/usr/local/
mon_ips = export_
File "/usr/local/
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 ~]$ openstack overcloud export ceph --stack dcn0
/usr/lib/
% (name, name, name))
Ceph information from 1 stack(s) exported to ceph-export-
(undercloud) [CentOS-8 - stack@undercloud ~]$
[2]
(undercloud) [CentOS-8 - stack@undercloud ~]$ openstack overcloud export ceph --stack dcn0
Ceph information from 1 stack(s) exported to ceph-export-
(undercloud) [CentOS-8 - stack@undercloud ~]$ openstack overcloud export ceph --stack dcn1
Ceph information from 1 stack(s) exported to ceph-export-
(undercloud) [CentOS-8 - stack@undercloud ~]$
tags: | added: edge train-backport-potential |
tags: | removed: train-backport-potential |
Changed in tripleo: | |
status: | In Progress → Fix Committed |
@John,
It does not look related to 1884246 as you've mentioned in the bug report. Normal export does not support multiple stacks specified with ','. AFACS, it's only specific to export ceph[1]. To me it is broken after your recent patch[2].
[1] https:/ /github. com/openstack/ python- tripleoclient/ blob/master/ tripleoclient/ v1/overcloud_ export_ ceph.py# L76
[2] https:/ /github. com/openstack/ python- tripleoclient/ commit/ 8b4d326839748cb 89d83ada92ecac2 12e5eed436
@Bogdan, these are recent regressions and not applicable to train.