Bug 1762360
Summary: | When using split control plane for multiple ceph deployments, all ceph clusters have same FSID, Keys, etc. | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | John Fulton <johfulto> |
Component: | python-tripleoclient | Assignee: | John Fulton <johfulto> |
Status: | CLOSED DUPLICATE | QA Contact: | Yogev Rabl <yrabl> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 16.0 (Train) | CC: | gfidente, hbrock, jslagle, mburns |
Target Milestone: | beta | Keywords: | Triaged |
Target Release: | --- | ||
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-10-29 18:32:26 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
John Fulton
2019-10-16 15:49:08 UTC
we need something similar also to extract from edge zones the ceph cluster info to be fed back into controlplane for glance/multistore Perhaps we just need an update on https://review.opendev.org/#/c/672070 WORKAROUND: When doing your extraction of passwords remove all strings matching Ceph openstack object save control-plane plan-environment.yaml python3 -c "import yaml; data=yaml.safe_load(open('plan-environment.yaml').read()); print(yaml.dump(dict(parameter_defaults=data['passwords'])))" > $DIR/passwords.yaml sed -i '/Ceph/d' passwords.yaml This works for me (undercloud) [stack@undercloud deployment]$ ansible -i edge0/config-download/inventory.yaml mons --limit edge0-distributedcomputehci-0 -m shell -b -a "podman exec ceph-mon-edge0-distributedcomputehci-0 ceph -s" edge0-distributedcomputehci-0 | CHANGED | rc=0 >> cluster: id: dc2d9eea-f11c-11e9-a51f-244253215215 health: HEALTH_OK services: mon: 3 daemons, quorum edge0-distributedcomputehci-1,edge0-distributedcomputehci-2,edge0-distributedcomputehci-0 (age 17h) mgr: edge0-distributedcomputehci-2(active, since 16h), standbys: edge0-distributedcomputehci-0, edge0-distributedcomputehci-1 osd: 36 osds: 36 up (since 16h), 36 in (since 17h) data: pools: 4 pools, 1024 pgs objects: 0 objects, 0 B usage: 37 GiB used, 1.7 TiB / 1.7 TiB avail pgs: 1024 active+clean (undercloud) [stack@undercloud deployment]$ ansible -i edge1/config-download/inventory.yaml mons --limit edge1-distributedcomputehci-0 -m shell -b -a "podman exec ceph-mon-edge1-distributedcomputehci-0 ceph -s" edge1-distributedcomputehci-0 | CHANGED | rc=0 >> cluster: id: 18bf210c-f1a0-11e9-a51f-244253215215 health: HEALTH_OK services: mon: 3 daemons, quorum edge1-distributedcomputehci-0,edge1-distributedcomputehci-1,edge1-distributedcomputehci-2 (age 97m) mgr: edge1-distributedcomputehci-1(active, since 76m), standbys: edge1-distributedcomputehci-0, edge1-distributedcomputehci-2 osd: 36 osds: 36 up (since 77m), 36 in (since 102m) data: pools: 4 pools, 1024 pgs objects: 0 objects, 0 B usage: 37 GiB used, 1.7 TiB / 1.7 TiB avail pgs: 1024 active+clean (undercloud) [stack@undercloud deployment]$ Marking this as a duplicate of BZ 1766711 in hopes that it will provide a single command which does the exclusion of ceph variables on its own. *** This bug has been marked as a duplicate of bug 1766711 *** |