Designate role setting http for public uri

Bug #1717273 reported by Albert Mikaelyan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Albert Mikaelyan

Bug Description

Designate role does not use https for public uri in its defaults

Instead of using the openstack uri variables when available:

openstack_service_publicuri_proto
openstack_service_adminuri_proto
openstack_service_internaluri_proto

It uses it's own variable which is set to http, and only that:
https://github.com/openstack/openstack-ansible-os_designate/blob/master/defaults/main.yml#L129

Keystone has a good example for correct way of using this:
https://github.com/openstack/openstack-ansible-os_keystone/blob/master/defaults/main.yml#L148

The proto is set instead in ansible's inventory:
https://github.com/openstack/openstack-ansible/blob/master/group_vars/designate_all.yml#L24

Needs to align the designate role to other roles, and set to https via defaults.

Tags: designate
Revision history for this message
Albert Mikaelyan (tahvok) wrote :

After checking, openstack ansible does set the proper proto for designate.

This is done in playbooks/inventory/group_vars/designate_all.yml

Should this be aligned with other services, and done in designate defaults?

Changed in openstack-ansible:
status: New → Invalid
description: updated
Changed in openstack-ansible:
status: Invalid → New
assignee: nobody → Albert Mikaelyan (tahvok)
status: New → In Progress
Revision history for this message
Albert Mikaelyan (tahvok) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_designate (master)

Reviewed: https://review.openstack.org/504125
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_designate/commit/?id=4b009ca349a9f06188c8dc2d07b6a147e4f29669
Submitter: Jenkins
Branch: master

commit 4b009ca349a9f06188c8dc2d07b6a147e4f29669
Author: Albert Mikaelyan <email address hidden>
Date: Thu Sep 14 20:01:34 2017 +0300

    Use openstack proto variable in defaults

    Use openstack service proto variable in defaults for designate endpoints
    This will align the designate role with other roles method

    Partial-Bug: 1717273
    Change-Id: I033940c29e91945a96bf9a4a9c9058badac37c5e

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/504147
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=7ba5bed1cc4f1f51b8a43df95262a6e0a40ac8e6
Submitter: Jenkins
Branch: master

commit 7ba5bed1cc4f1f51b8a43df95262a6e0a40ac8e6
Author: Albert Mikaelyan <email address hidden>
Date: Thu Sep 14 20:40:43 2017 +0300

    Delete not needed designate variables.

    The varibales are set in designate role defaults with the dependent change.
    No need to set them in inventory any more.

    Closes-Bug: 1717273
    Change-Id: Ia6624b8110f1783133ff30a1ccdafb90f84e1897
    Depends-On: I033940c29e91945a96bf9a4a9c9058badac37c5e

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible 17.0.0.0b1

This issue was fixed in the openstack/openstack-ansible 17.0.0.0b1 development milestone.

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

This issue was fixed in the openstack/openstack-ansible 17.0.0.0b2 development milestone.

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.