Provide alternatives to add NetApp configuration for glance in heat templates.

Bug #1740456 reported by Pranali Deore
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Pranali Deore

Bug Description

TripleO Heat templates should allow, changing or setting NetApp configuration for glance .

There should be puppet files to add the below required configuration for NetApp for glance,

(1) crudini --set --existing /etc/glance/glance-api.conf DEFAULT show_image_direct_url True
(2) crudini --set /etc/glance/glance-api.conf DEFAULT show_multiple_locations True
(3) crudini --set /etc/glance/glance-api.conf glance_store filesystem_store_file_perm 644
(4) crudini --set /etc/glance/glance-api.conf glance_store filesystem_store_metadata_file /etc/glance/glance-metadata-file.conf

(5) Create glance metadata file: e.g. /etc/glance/glance-metadata-file.conf containing glance metadata e.g.
{
   "share_location": "nfs://192.168.100.75/nfs_openstack_glance_prod_vol01",
   "mount_point": "/var/lib/glance/images",
   "type": "nfs"
}

Changed in tripleo:
assignee: nobody → Pranali Deore (pranali-deore)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

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

Changed in tripleo:
status: New → In Progress
Changed in tripleo:
importance: Undecided → Medium
milestone: none → queens-3
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/530680

Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/530680
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=5f7fdb165695b9717cfae6de6b22b0d7e23c7fc3
Submitter: Zuul
Branch: master

commit 5f7fdb165695b9717cfae6de6b22b0d7e23c7fc3
Author: Pranali Deore <email address hidden>
Date: Tue Jan 2 10:29:03 2018 +0530

    Add support of netapp configuration for glance in THT

    This change adds all the required netapp environment configuartion
    for glance in heat template.

    Change-Id: Ib44796f77cbc50c3b3c37dcdd37a59f48a7baa1a
    Closes-Bug: #1740456

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/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/552016

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

Reviewed: https://review.openstack.org/552016
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=8b13e833aeadf6421e959bf3dc1cad36130d7cda
Submitter: Zuul
Branch: stable/queens

commit 8b13e833aeadf6421e959bf3dc1cad36130d7cda
Author: Pranali Deore <email address hidden>
Date: Tue Jan 2 10:29:03 2018 +0530

    Add support of netapp configuration for glance in THT

    This change adds all the required netapp environment configuartion
    for glance in heat template.

    Change-Id: Ib44796f77cbc50c3b3c37dcdd37a59f48a7baa1a
    Closes-Bug: #1740456
    (cherry picked from commit 5f7fdb165695b9717cfae6de6b22b0d7e23c7fc3)

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

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

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

This issue was fixed in the openstack/tripleo-heat-templates 8.0.2 release.

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/563989

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

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

commit d40c2830c18bbf8b94725deb88d63b448fc9291c
Author: Pranali Deore <email address hidden>
Date: Tue Jan 2 10:29:03 2018 +0530

    Add support of netapp configuration for glance in THT

    This change adds all the required netapp environment configuartion
    for glance in heat template.

    Change-Id: Ib44796f77cbc50c3b3c37dcdd37a59f48a7baa1a
    Closes-Bug: #1740456
    (cherry picked from commit 5f7fdb165695b9717cfae6de6b22b0d7e23c7fc3)
    Conflicts:
            docker/services/glance-api.yaml

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

This issue was fixed in the openstack/tripleo-heat-templates 7.0.13 release.

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

Change abandoned by Pranali Deore (<email address hidden>) on branch: master
Review: https://review.openstack.org/530432

Revision history for this message
Pranali Deore (pranali-deore) wrote :

Since, openstack-glance package has been removed from overcloud image
during the cleanup, 'filesystem_store_metadata_file' file is failing to
create on host in case of glance netapp.

So, metadata json file creation part need to be moved in puppet-tripleo

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.