the OS::stack_id of k8sbay is ip rather than id

Bug #1599739 reported by PanFengyun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Committed
Undecided
PanFengyun

Bug Description

1.when I use "openstack stack output list <stack_id>", can't get the description of output_key.

$ openstack stack output list k8sbay-moj5vd2vnx52-kube_minions-tkv2pnkpvdle-0-lzi62huvhql5
+-------------------------+----------------------+
| output_key | description |
+-------------------------+----------------------+
| kube_minion_external_ip | No description given |
| kube_minion_ip | No description given |
| OS::stack_id | No description given |
+-------------------------+----------------------+

2.when I use "openstack stack output <stack_id> OS::stack_id", can't get a stack id and it output the private ip of node.
$ openstack stack output show k8sbay-moj5vd2vnx52-kube_minions-tkv2pnkpvdle-0-lzi62huvhql5 kube_minion_ip
+--------------+----------------------+
| Field | Value |
+--------------+----------------------+
| description | No description given |
| output_key | kube_minion_ip |
| output_value | 10.0.0.5 |
+--------------+----------------------+
$ openstack stack output show k8sbay-moj5vd2vnx52-kube_minions-tkv2pnkpvdle-0-lzi62huvhql5 OS::stack_id
+--------------+----------------------+
| Field | Value |
+--------------+----------------------+
| description | No description given |
| output_key | OS::stack_id |
| output_value | 10.0.0.5 |
+--------------+----------------------+

$ openstack stack show k8sbay-moj5vd2vnx52-kube_minions-tkv2pnkpvdle-0-lzi62huvhql5 | grep OS::stack_id
| | OS::stack_id: 4dd06a7e-c9d7-4128-8176-25bd04d5b3d8 |
| | output_key: OS::stack_id

Changed in magnum:
assignee: nobody → PanFengyun (pan-feng-yun)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

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

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

Reviewed: https://review.openstack.org/338743
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=d6e875342131e4183802c8bb1d3f5b2c49261fbc
Submitter: Jenkins
Branch: master

commit d6e875342131e4183802c8bb1d3f5b2c49261fbc
Author: PanFengyun <email address hidden>
Date: Fri Jul 8 13:46:34 2016 +0800

    Add description to the output_key of stack.

    The output_key of stack has losed description in kubecluster-fedora-ironic.yaml,
    kubecluster-coreos.yaml and so on.

    Change-Id: I2ed5d3058112ed7ac0f9accd39ab375442a00b40
    Closed-Bug: #1599739

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/339338
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=3ca2eb30369a00240a92c254c95bea6c7a60fee1
Submitter: Jenkins
Branch: master

commit 3ca2eb30369a00240a92c254c95bea6c7a60fee1
Author: PanFengyun <email address hidden>
Date: Wed Jul 13 11:05:53 2016 +0800

    Fix OS::stack_id is set as stack id instead of private ip

    The OS::stack_id of k8sbay'd stack should be set stack id rather
    than kube_minion_ip.
    'value: {get_attr: [kube_minion_eth0, fixed_ips, 0, ip_address]}'
    -->
    'value: {get_param: "OS::stack_id"}'

    Change-Id: Ib3918b5a573a6025c4cb1f0ba4f24a5be4b4ca84
    Closed-Bug: #1599739

yatin (yatinkarel)
Changed in magnum:
status: New → Fix Committed
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.