ganesha_vip is not set in standalone deployments

Bug #1911022 reported by Tom Barron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Low
Tom Barron

Bug Description

In an overcloud deployment with the CephNFS (Ganesha) service, the `ganesha_vip` is set in puppet vip_data.json hieradata:

[root@controller-0 ~]# grep ganesha_vip /etc/puppet/hieradata/*
/etc/puppet/hieradata/vip_data.json: "ganesha_vip": "172.17.5.138",

But when CephNFS (Ganesha) service is included in a standalone deployment, this VIP is not set by THT so one must as a workaround use ExtraConfig to set the puppet variable directly:

[centos@standalone ~]$ sudo grep -R ganesha_vip /etc/puppet/hieradata
/etc/puppet/hieradata/extraconfig.json: "ganesha_vip": "192.168.24.3"
[centos@standalone ~]$

Tom Barron (tpb)
Changed in tripleo:
importance: Undecided → Low
assignee: nobody → Tom Barron (tpb)
milestone: none → wallaby-3
status: New → Triaged
Changed in tripleo:
milestone: wallaby-3 → wallaby-rc1
Changed in tripleo:
milestone: wallaby-rc1 → xena-1
Changed in tripleo:
milestone: xena-1 → xena-2
Changed in tripleo:
milestone: xena-2 → xena-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (master)
Changed in tripleo:
status: Triaged → In Progress
Tom Barron (tpb)
tags: added: train-backport-potential ussuri-backport-potential victoria-backport-potential wallaby-backport-potential
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/+/803122

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/+/803119
Committed: https://opendev.org/openstack/tripleo-ansible/commit/0aceca00e76e967ee9b5efc30da0bc3ee23acb2e
Submitter: "Zuul (22348)"
Branch: master

commit 0aceca00e76e967ee9b5efc30da0bc3ee23acb2e
Author: Tom Barron <email address hidden>
Date: Sun Aug 1 11:18:25 2021 -0400

    Set ganesha_vip when no StoragetNFS network

    is deployed.

    Normally when Ganesha is deployed for CephFS through NFS,
    the StorageNFS isolated network is deployed and we set
    the address for ganesha_vip on that network. But with
    Standalone role the StorageNFS network is not deployed
    so ganesha_vip is not set in the tripleo hieradata unless
    it is provided by extra config.

    Set it to net_vip_map.external in the event that it has
    not been set on the StorageNFS network. Note that external
    is chosen rather than ctlplane since the VIP must be reachable
    from compute instances, guest VMs, that should have no access
    to the ctlplane network.

    Closes-Bug: #1911022
    Change-Id: Ia97533c0b8b3b8498a173e1d363323dcdc77cce4

Changed in tripleo:
status: In Progress → Fix Released
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/+/803677

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/+/803677
Committed: https://opendev.org/openstack/tripleo-ansible/commit/520b1e1edb83d9f9e101695900667c80a4cdbc8f
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 520b1e1edb83d9f9e101695900667c80a4cdbc8f
Author: Tom Barron <email address hidden>
Date: Sun Aug 1 11:18:25 2021 -0400

    Set ganesha_vip when no StoragetNFS network

    is deployed.

    Normally when Ganesha is deployed for CephFS through NFS,
    the StorageNFS isolated network is deployed and we set
    the address for ganesha_vip on that network. But with
    Standalone role the StorageNFS network is not deployed
    so ganesha_vip is not set in the tripleo hieradata unless
    it is provided by extra config.

    Set it to net_vip_map.external in the event that it has
    not been set on the StorageNFS network. Note that external
    is chosen rather than ctlplane since the VIP must be reachable
    from compute instances, guest VMs, that should have no access
    to the ctlplane network.

    Closes-Bug: #1911022
    Change-Id: Ia97533c0b8b3b8498a173e1d363323dcdc77cce4
    (cherry picked from commit 0aceca00e76e967ee9b5efc30da0bc3ee23acb2e)

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

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

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/803965
Committed: https://opendev.org/openstack/tripleo-ansible/commit/3ff85eb7db7636ff395ba6f2da0f6fda7b6f1a24
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 3ff85eb7db7636ff395ba6f2da0f6fda7b6f1a24
Author: Tom Barron <email address hidden>
Date: Sun Aug 1 11:18:25 2021 -0400

    Set ganesha_vip when no StoragetNFS network

    is deployed.

    Normally when Ganesha is deployed for CephFS through NFS,
    the StorageNFS isolated network is deployed and we set
    the address for ganesha_vip on that network. But with
    Standalone role the StorageNFS network is not deployed
    so ganesha_vip is not set in the tripleo hieradata unless
    it is provided by extra config.

    Set it to net_vip_map.external in the event that it has
    not been set on the StorageNFS network. Note that external
    is chosen rather than ctlplane since the VIP must be reachable
    from compute instances, guest VMs, that should have no access
    to the ctlplane network.

    Closes-Bug: #1911022
    Change-Id: Ia97533c0b8b3b8498a173e1d363323dcdc77cce4
    (cherry picked from commit 0aceca00e76e967ee9b5efc30da0bc3ee23acb2e)
    (cherry picked from commit 520b1e1edb83d9f9e101695900667c80a4cdbc8f)

tags: added: in-stable-victoria
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/ussuri)

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

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/804150
Committed: https://opendev.org/openstack/tripleo-ansible/commit/7a527977e65595ff85c47d60a11c8feec752ef8a
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 7a527977e65595ff85c47d60a11c8feec752ef8a
Author: Tom Barron <email address hidden>
Date: Sun Aug 1 11:18:25 2021 -0400

    Set ganesha_vip when no StoragetNFS network

    is deployed.

    Normally when Ganesha is deployed for CephFS through NFS,
    the StorageNFS isolated network is deployed and we set
    the address for ganesha_vip on that network. But with
    Standalone role the StorageNFS network is not deployed
    so ganesha_vip is not set in the tripleo hieradata unless
    it is provided by extra config.

    Set it to net_vip_map.external in the event that it has
    not been set on the StorageNFS network. Note that external
    is chosen rather than ctlplane since the VIP must be reachable
    from compute instances, guest VMs, that should have no access
    to the ctlplane network.

    Closes-Bug: #1911022
    Change-Id: Ia97533c0b8b3b8498a173e1d363323dcdc77cce4
    (cherry picked from commit 0aceca00e76e967ee9b5efc30da0bc3ee23acb2e)
    (cherry picked from commit 520b1e1edb83d9f9e101695900667c80a4cdbc8f)
    (cherry picked from commit 3ff85eb7db7636ff395ba6f2da0f6fda7b6f1a24)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/train)

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

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

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

commit fb8233524a9fd1b8efbea90246aeae4a7b0da8ab
Author: Tom Barron <email address hidden>
Date: Sun Aug 1 11:18:25 2021 -0400

    Set ganesha_vip when no StoragetNFS network

    is deployed.

    Normally when Ganesha is deployed for CephFS through NFS,
    the StorageNFS isolated network is deployed and we set
    the address for ganesha_vip on that network. But with
    Standalone role the StorageNFS network is not deployed
    so ganesha_vip is not set in the tripleo hieradata unless
    it is provided by extra config.

    Set it to net_vip_map.external in the event that it has
    not been set on the StorageNFS network. Note that external
    is chosen rather than ctlplane since the VIP must be reachable
    from compute instances, guest VMs, that should have no access
    to the ctlplane network.

    Closes-Bug: #1911022
    Change-Id: Ia97533c0b8b3b8498a173e1d363323dcdc77cce4
    (cherry picked from commit 0aceca00e76e967ee9b5efc30da0bc3ee23acb2e)
    (cherry picked from commit 520b1e1edb83d9f9e101695900667c80a4cdbc8f)
    (cherry picked from commit 3ff85eb7db7636ff395ba6f2da0f6fda7b6f1a24)
    (cherry picked from commit 7a527977e65595ff85c47d60a11c8feec752ef8a)

tags: added: in-stable-train
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/+/804442

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

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

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

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

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

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

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/+/803122
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/6b4a4389f3231f090d5ccd2ff9673ef6813a8745
Submitter: "Zuul (22348)"
Branch: master

commit 6b4a4389f3231f090d5ccd2ff9673ef6813a8745
Author: Tom Barron <email address hidden>
Date: Sun Aug 1 14:18:49 2021 -0400

    Remove ganesha_vip extra config workaround

    for scenario004

    We were using extra config to set ganesha_vip because it was unset
    if the isolated StorageNFS network is not deployed, as it is with
    Standalone deployment in CI.

    Now it is set, and set to an address on the external net where guest
    VMs can reach it.

    Related-Bug: #1911022
    Change-Id: Ic20b3aaccc18c19973a07798f20a63ac9d5c0bb7

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/+/804442
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/43c28e9c2a2fc9d81d85f0ebc9c08dc635cdd9fe
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 43c28e9c2a2fc9d81d85f0ebc9c08dc635cdd9fe
Author: Tom Barron <email address hidden>
Date: Sun Aug 1 14:18:49 2021 -0400

    Remove ganesha_vip extra config workaround

    for scenario004

    We were using extra config to set ganesha_vip because it was unset
    if the isolated StorageNFS network is not deployed, as it is with
    Standalone deployment in CI.

    Now it is set, and set to an address on the external net where guest
    VMs can reach it.

    Related-Bug: #1911022
    Change-Id: Ic20b3aaccc18c19973a07798f20a63ac9d5c0bb7
    (cherry picked from commit 8b07db1979fe6b31646ee54a7a881ed0ad51385f)

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

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

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

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

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

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

commit e59be96fa5936ed4c5af343fa62eb38716ada3aa
Author: Tom Barron <email address hidden>
Date: Sun Aug 1 14:18:49 2021 -0400

    Remove ganesha_vip extra config workaround

    for scenario004

    We were using extra config to set ganesha_vip because it was unset
    if the isolated StorageNFS network is not deployed, as it is with
    Standalone deployment in CI.

    Now it is set, and set to an address on the external net where guest
    VMs can reach it.

    Related-Bug: #1911022
    Depends-On: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/822022
    Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/822045
    Change-Id: Ic20b3aaccc18c19973a07798f20a63ac9d5c0bb7
    (cherry picked from commit 8b07db1979fe6b31646ee54a7a881ed0ad51385f)
    (cherry picked from commit 43c28e9c2a2fc9d81d85f0ebc9c08dc635cdd9fe)

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/822682
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/68cc95c3aff6402e3b741cf6ad7ca2f4b2330490
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 68cc95c3aff6402e3b741cf6ad7ca2f4b2330490
Author: Tom Barron <email address hidden>
Date: Sun Aug 1 14:18:49 2021 -0400

    Remove ganesha_vip extra config workaround

    for scenario004

    We were using extra config to set ganesha_vip because it was unset
    if the isolated StorageNFS network is not deployed, as it is with
    Standalone deployment in CI.

    Now it is set, and set to an address on the external net where guest
    VMs can reach it.

    Related-Bug: #1911022
    Change-Id: Ic20b3aaccc18c19973a07798f20a63ac9d5c0bb7
    (cherry picked from commit 8b07db1979fe6b31646ee54a7a881ed0ad51385f)
    (cherry picked from commit 43c28e9c2a2fc9d81d85f0ebc9c08dc635cdd9fe)

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

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

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/823750
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/4274ea94d91a0c3000887703a7d3f4a4d37e2953
Submitter: "Zuul (22348)"
Branch: stable/train

commit 4274ea94d91a0c3000887703a7d3f4a4d37e2953
Author: Tom Barron <email address hidden>
Date: Sun Aug 1 14:18:49 2021 -0400

    Remove ganesha_vip extra config workaround

    for scenario004

    We were using extra config to set ganesha_vip because it was unset
    if the isolated StorageNFS network is not deployed, as it is with
    Standalone deployment in CI.

    Now it is set, and set to an address on the external net where guest
    VMs can reach it.

    Related-Bug: #1911022
    Change-Id: Ic20b3aaccc18c19973a07798f20a63ac9d5c0bb7
    (cherry picked from commit 8b07db1979fe6b31646ee54a7a881ed0ad51385f)
    (cherry picked from commit 43c28e9c2a2fc9d81d85f0ebc9c08dc635cdd9fe)
    (cherry picked from commit 68cc95c3aff6402e3b741cf6ad7ca2f4b2330490)

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

This issue was fixed in the openstack/tripleo-ansible 1.5.6 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.