Kilo changes for Glance

Registered by Steve Lewis

Overview
########

This blueprint collects all the changes that are necessary to make the Glance playbook ready for Kilo. This is meant to supplement and detail the Glance tasks necessary to fulfill the master blueprint for supporting the Kilo release: https://blueprints.launchpad.net/openstack-ansible/+spec/master-kilofication

Problem Description
-------------------

The configuration files need to be updated for Kilo.

Proposed Change
---------------

After an analysis of the changes between Juno and Kilo config files, the following list of changes appear to be appropriate to upgrade the playbook to Kilo:
+++++++++++
Core Changes
+++++++++++
  * Refresh policy.json file in playbooks/roles/os_glance/files from upstream glance.
  * Update config files in playbooks/roles/os_glance/templates:
    * In glance-api.conf.j2:
      * under [task] add line task_executor = {{ glance_task_executor }} with a default value of taskflow for the new variable
      * under [default] add line digest_algorithm = {{ glance_digest_algorithm }} with a default value of sha1 for the new variable
      * under [default] add line http_keepalive = {{ glance_http_keepalive }} with a default value of True for the new variable
      * add new [oslo_policy] group with appropriate defaults and variables.
    * In glance-registry.conf.j2:
      * under [default] add line http_keepalive = {{ glance_http_keepalive }} with a default value of True for the new variable -- same variable as used by glance-api.conf.j2 above
      * add new [oslo_policy] group with appropriate defaults and variables.
    * Add a glance-manage.conf.j2:
      * Needs to reuse infra variables similar to glance-api.conf.j2 and glance-registry.conf.j2
      * Needs other values filled in appropriately. (e.g. log_file, [database] connection)
      * Ensure the config file is generated from the template in the glance_post_install task

Playbook Impact
---------------

Minor impact localized to the config files.

Alternatives
------------

None.

Security Impact
---------------

None.

Performance Impact
------------------

None.

End User Impact
---------------

None.

Deployer Impact
---------------

None.

Developer Impact
----------------

None.

Dependencies
------------

No.

Documentation Impact
--------------------

None.

References
----------
os-ansible-deployment juno version of the policy.json
https://github.com/stackforge/os-ansible-deployment/blob/15fb287eaa4a756d5e4e21be71a64a6af2170c9b/playbooks/roles/os_glance/files/policy.json

Current example policy.json
https://github.com/openstack/glance/blob/2015.1.0b3/etc/policy.json

os-ansible-deployment juno version of the glance-api.conf.j2
https://github.com/stackforge/os-ansible-deployment/blob/15fb287eaa4a756d5e4e21be71a64a6af2170c9b/playbooks/roles/os_glance/templates/glance-api.conf.j2

Current example glance-api.conf
https://github.com/openstack/glance/blob/2015.1.0b3/etc/glance-api.conf

os-ansible-deployment juno version of the glance-registry.conf.j2
https://github.com/stackforge/os-ansible-deployment/blob/15fb287eaa4a756d5e4e21be71a64a6af2170c9b/playbooks/roles/os_glance/templates/glance-registry.conf.j2

Current example glance-registry.conf
https://github.com/openstack/glance/blob/2015.1.0b3/etc/glance-registry.conf

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Steve Lewis
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
Accepted for kilo
Implementation:
Unknown
Milestone target:
None
Completed by
Kevin Carter

Related branches

Sprints

Whiteboard

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.