glance does not have write permissions in nfs store after upgrade to train

Bug #1884926 reported by Giulio Fidente
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
High
Giulio Fidente
Train
Fix Released
High
Giulio Fidente

Bug Description

the ansible tasks we have in host_prep_tasks [1] which are supposed to refresh fstab *and* remount the share on the host (as per ansible module [2]) are actually only updating the fstab content, not remounting the share because ansible tries to do "-o remount" when possible [3] which isn't sufficient to change the NFS mount options

1. https://github.com/openstack/tripleo-heat-templates/blob/stable/train/deployment/glance/glance-api-container-puppet.yaml#L703
2. https://github.com/ansible/ansible/blob/stable-2.9/lib/ansible/modules/system/mount.py#L723
3. https://github.com/ansible/ansible/blob/stable-2.9/lib/ansible/modules/system/mount.py#L417

Changed in tripleo:
assignee: nobody → Giulio Fidente (gfidente)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/739219

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Giulio Fidente (<email address hidden>) on branch: master
Review: https://review.opendev.org/737607
Reason: going to be train only

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

Reviewed: https://review.opendev.org/739219
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=4157d5832003ba333df9678644b57ecc6d8bcaa4
Submitter: Zuul
Branch: stable/train

commit 4157d5832003ba333df9678644b57ecc6d8bcaa4
Author: Giulio Fidente <email address hidden>
Date: Fri Jul 3 14:10:33 2020 +0200

    Unmount NFS shares before launching LEAPP

    There is an inhibitor which will stop upgrade if there are NFS shares
    mounted.

    Change-Id: Ifb44c70e8becc94453b0c086858985d76b2455a6
    Closes-Bug: 1884926

tags: added: in-stable-train
Changed in tripleo:
milestone: victoria-1 → victoria-3
Changed in tripleo:
milestone: victoria-3 → wallaby-1
Revision history for this message
Giulio Fidente (gfidente) wrote :

merged in stable/train only because that is the only release where we do LEAPP

Changed in tripleo:
milestone: wallaby-1 → none
status: In Progress → Fix Released
status: Fix Released → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 11.4.0

This issue was fixed in the openstack/tripleo-heat-templates 11.4.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.