keystone_data.sh fails to create endpoint

Bug #1676548 reported by Steve Heyman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Fix Released
Medium
Steve Heyman

Bug Description

keystone_data.sh attempts to create the barbican endpoints but this fails with the latest openstack cli (3.9.0) with this error:

usage: openstack endpoint create [-h] [-f {json,shell,table,value,yaml}]
                                 [-c COLUMN] [--max-width <integer>]
                                 [--print-empty] [--noindent]
                                 [--prefix PREFIX] [--region <region-id>]
                                 [--enable | --disable]
                                 <service> <interface> <url>
openstack endpoint create: error: argument <interface>: invalid choice: u'http://localhost:9311' (choose from 'admin', 'public', 'internal')

if keystone_data.sh script is still valid then the openstack command to create the endpoint needs to be updated.

Steve Heyman (sheyman)
Changed in barbican:
assignee: nobody → Steve Heyman (sheyman)
Changed in barbican:
status: New → In Progress
milestone: none → pike-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to barbican (master)

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

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

Reviewed: https://review.openstack.org/450433
Committed: https://git.openstack.org/cgit/openstack/barbican/commit/?id=1bd65b6b9af46d49459f572d9835370d8b72f7a8
Submitter: Jenkins
Branch: master

commit 1bd65b6b9af46d49459f572d9835370d8b72f7a8
Author: Steve Heyman <email address hidden>
Date: Mon Mar 27 14:36:53 2017 -0500

    Fix the creation of endpoints in keystone_data.sh

    When using bin/keystone_data.sh to create the barbican data it will
    fail creating the endpionts because of invalid syntax for the openstack
    endpoint create command. This CR fixes that, making the public and
    internal endpoint commands separate as required by the openstack
    command.

    Change-Id: I3f6d04888ad816e47e7e5882f13afffbb5b366c0
    Closes-Bug: #1676548

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

This issue was fixed in the openstack/barbican 5.0.0.0b1 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.