Hostname is null in output of magnum service-list when magnum is setup with devstack

Bug #1630190 reported by yatin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
yatin

Bug Description

Reproduction steps:-
1)setup magnum with devstack
2) source openrc
3) magnum service-list
+----+------------+------------------+-------+----------+-----------------+---------------------------+---------------------------+
| id | host | binary | state | disabled | disabled_reason | created_at | updated_at |
+----+------------+------------------+-------+----------+-----------------+---------------------------+---------------------------+
| 1 | - | magnum-conductor | up | | - | 2016-10-03T05:07:56+00:00 | 2016-10-04T09:41:16+00:00 |
+----+------------+------------------+-------+----------+-----------------+---------------------------+---------------------------+

Host should be hostname when magnum is setup so that user should know the output is correct.

Earlier it used to be hostname by default in configuration but following patch(https://review.openstack.org/#/c/352806) has changed the behaviour.
We should set configuration parameter "host" to hostname and update the guide if required to specify the behaviour of this parameter.

yatin (yatinkarel)
Changed in magnum:
assignee: nobody → yatin (yatinkarel)
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/382235

Changed in magnum:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

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

commit 4ffad1d32d3134cb5f0151439977b34d146ef0c7
Author: yatin <email address hidden>
Date: Wed Oct 5 15:16:19 2016 +0530

    Set config param [DEFAULT]/host to hostname

    Patch: https://review.openstack.org/#/c/352806 has
    set host=None and we don't change this parameter
    neither in devstack installation nor in manual installation.
    With this patch value of [DEFAULT]/host is set to
    hostname of the host on which magnum is setup.
    Also, updated manual installation step to set [DEFAULT]/host
    to hostname.

    Depends-on: I51feb6ccdc0fab91a591568866e6801f2bbb319b
    Change-Id: Id43bfcc792b28c98c9bf1d888dd7ddcc167e8ea5
    Closes-Bug: #1630190

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

This issue was fixed in the openstack/magnum 4.0.0 release.

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.