Fail to generate glance_api config files when using NFS backend

Bug #1732928 reported by Martin André
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Alan Bishop

Bug Description

The glance_api config volume does not exist. It fails to run puppet during the config_generation step:

Error: /Stage[main]/Tripleo::Glance::Nfs_mount/File_line[NFS for glance in fstab]: Could not evaluate: No such file or directory - /etc/fstab

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/521103

Changed in tripleo:
status: Triaged → In Progress
tags: added: pike-backport-potential
Changed in tripleo:
assignee: Martin André (mandre) → Alan Bishop (alan-bishop)
Changed in tripleo:
assignee: Alan Bishop (alan-bishop) → Martin André (mandre)
Changed in tripleo:
assignee: Martin André (mandre) → Alan Bishop (alan-bishop)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/521103
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=64854af783ca76fd95c2296a18fbead4bb0410cd
Submitter: Zuul
Branch: master

commit 64854af783ca76fd95c2296a18fbead4bb0410cd
Author: Martin André <email address hidden>
Date: Fri Nov 17 16:16:13 2017 +0100

    Fix glance config generation when using NFS

    This commit sets the 'tripleo::glance::nfs_mount::edit_fstab' variable
    to false to prevent the glance_api to write to /etc/fstab and fail in
    the case we're using an NFS backend.

    This also updates the NFS mount option and mount point to align with
    the config from the puppet-tripleo module at:

    https://github.com/openstack/puppet-tripleo/blob/master/manifests/glance/nfs_mount.pp

    Change-Id: Ied27fac67d28b3104441ada469942a19e3c07a89
    Closes-Bug: #1732928

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/522836

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

Reviewed: https://review.openstack.org/522836
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=8002b9eea7309a72804fa8cd525783e999eb92e4
Submitter: Zuul
Branch: stable/pike

commit 8002b9eea7309a72804fa8cd525783e999eb92e4
Author: Martin André <email address hidden>
Date: Fri Nov 17 16:16:13 2017 +0100

    Fix glance config generation when using NFS

    This commit sets the 'tripleo::glance::nfs_mount::edit_fstab' variable
    to false to prevent the glance_api to write to /etc/fstab and fail in
    the case we're using an NFS backend.

    This also updates the NFS mount option and mount point to align with
    the config from the puppet-tripleo module at:

    https://github.com/openstack/puppet-tripleo/blob/master/manifests/glance/nfs_mount.pp

    Change-Id: Ied27fac67d28b3104441ada469942a19e3c07a89
    Closes-Bug: #1732928
    (cherry picked from commit 64854af783ca76fd95c2296a18fbead4bb0410cd)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.0.0.0b2

This issue was fixed in the openstack/tripleo-heat-templates 8.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 7.0.6

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