RGW not working with deployed ceph

Bug #1946253 reported by John Fulton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
John Fulton

Bug Description

After deploying my overcloud with deployed ceph [1] RGW does not work and attempting a new storage container fails with a 401:

 [CentOS-8 - stack@undercloud ~]$ openstack container create foo
Unauthorized (HTTP 401) (Request-ID: tx0000000000000000062d1-0061576efc-5f0c-default)
 [CentOS-8 - stack@undercloud ~]$

[1] https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/deployed_ceph.html

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/813208

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-docs (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tripleo-docs/+/813209

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/812230
Committed: https://opendev.org/openstack/tripleo-ansible/commit/cc47629712b2f1aea39adb5a8e60a7df1a714d99
Submitter: "Zuul (22348)"
Branch: master

commit cc47629712b2f1aea39adb5a8e60a7df1a714d99
Author: John Fulton <email address hidden>
Date: Fri Oct 1 21:37:10 2021 +0000

    Apply ceph_conf_overrides for non-deployed_ceph services

    When deployed_ceph is not used, all ceph_conf_overrides in
    cephadm-extra-vars-heat.yml are applied during the bootstrap
    process via cephadm's config assimilation. This might include
    overrides needed by services like RGW which is out of scope of
    deployed_ceph. When deployed_ceph is used, these configurations
    were not getting applied as they missed their chance during
    bootstrap which casued bug 1946253. Thus, add a new task to
    assimilate configuration not just during bootstrap but any
    time the tripleo_cephadm role is run.

    Rename tripleo_cephadm_{bootstrap,assimilation}_conf as
    it's used in assimilatiaon not just during bootstrap but
    also when new configurations are added (e.g. adding RGW
    to a deployed ceph cluster).

    Closes-Bug: #1946253
    Change-Id: Iac75ab454b3a5983f3a700f2e47d73706ec5b834

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/813208
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/42d74692136e889ca05c2169f44296ac2ab3bcf7
Submitter: "Zuul (22348)"
Branch: master

commit 42d74692136e889ca05c2169f44296ac2ab3bcf7
Author: John Fulton <email address hidden>
Date: Fri Oct 8 15:36:45 2021 +0000

    Introduce ApplyCephConfigOverridesOnUpdate

    Add ApplyCephConfigOverridesOnUpdate boolean which defaults
    to false. If this parameter is true, CephConfigOverrides are
    applied to the Ceph cluster not only during the initial
    deployment but also during each update.

    Related-Bug: #1946253
    Depends-On: Iac75ab454b3a5983f3a700f2e47d73706ec5b834
    Change-Id: I798cfc13df8f199326e2ea9275cf605e7cf961af

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-docs (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-docs/+/813209
Committed: https://opendev.org/openstack/tripleo-docs/commit/ac118847042c339e2018b129d5e58457698b8b8f
Submitter: "Zuul (22348)"
Branch: master

commit ac118847042c339e2018b129d5e58457698b8b8f
Author: John Fulton <email address hidden>
Date: Fri Oct 8 15:38:10 2021 +0000

    Document ApplyCephConfigOverridesOnUpdate

    Explain what ApplyCephConfigOverridesOnUpdate is for and
    why it is used with "deployed ceph".

    Also, fix broken links to ceph documentation.

    Related-Bug: #1946253
    Depends-On: I798cfc13df8f199326e2ea9275cf605e7cf961af
    Change-Id: Ibf7d5746ec27bbb51947b63a1feaff8e5ad6f56d

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/813765

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/wallaby)

Related fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/813766

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/813765
Committed: https://opendev.org/openstack/tripleo-ansible/commit/a806e7d94cf24e95eedbb5da2fb315153760d7e5
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit a806e7d94cf24e95eedbb5da2fb315153760d7e5
Author: John Fulton <email address hidden>
Date: Fri Oct 1 21:37:10 2021 +0000

    Apply ceph_conf_overrides for non-deployed_ceph services

    When deployed_ceph is not used, all ceph_conf_overrides in
    cephadm-extra-vars-heat.yml are applied during the bootstrap
    process via cephadm's config assimilation. This might include
    overrides needed by services like RGW which is out of scope of
    deployed_ceph. When deployed_ceph is used, these configurations
    were not getting applied as they missed their chance during
    bootstrap which casued bug 1946253. Thus, add a new task to
    assimilate configuration not just during bootstrap but any
    time the tripleo_cephadm role is run.

    Rename tripleo_cephadm_{bootstrap,assimilation}_conf as
    it's used in assimilatiaon not just during bootstrap but
    also when new configurations are added (e.g. adding RGW
    to a deployed ceph cluster).

    Closes-Bug: #1946253
    Change-Id: Iac75ab454b3a5983f3a700f2e47d73706ec5b834
    (cherry picked from commit cc47629712b2f1aea39adb5a8e60a7df1a714d99)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/813766
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/aa076360754a712ccfd1719d179236290e893c43
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit aa076360754a712ccfd1719d179236290e893c43
Author: John Fulton <email address hidden>
Date: Fri Oct 8 15:36:45 2021 +0000

    Introduce ApplyCephConfigOverridesOnUpdate

    Add ApplyCephConfigOverridesOnUpdate boolean which defaults
    to false. If this parameter is true, CephConfigOverrides are
    applied to the Ceph cluster not only during the initial
    deployment but also during each update.

    Related-Bug: #1946253
    Depends-On: Iac75ab454b3a5983f3a700f2e47d73706ec5b834
    Change-Id: I798cfc13df8f199326e2ea9275cf605e7cf961af
    (cherry picked from commit 42d74692136e889ca05c2169f44296ac2ab3bcf7)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 4.2.0

This issue was fixed in the openstack/tripleo-ansible 4.2.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.