Magnum swarm bay creation failed with wrong reference for swarm_manager

Bug #1458445 reported by Kai Qiang Wu(Kennan)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
Kai Qiang Wu(Kennan)

Bug Description

$ magnum bay-create --name swarmbay --baymodel swarmbaymodel --node-count 2
ERROR: ERROR: Failed to validate: Failed to validate : resources[0]: The specified reference "swarm_manager" (in node_agent_wait_condition) is incorrect.
Traceback (most recent call last):

  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
    executor_callback))

  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
    executor_callback)

  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch
    result = func(ctxt, **new_args)

  File "/opt/stack/magnum/magnum/conductor/handlers/bay_k8s_heat.py", line 134, in bay_create
    raise exception.InvalidParameterValue(message=str(e))

InvalidParameterValue: ERROR: Failed to validate: Failed to validate : resources[0]: The specified reference "swarm_manager" (in node_agent_wait_condition) is incorrect.
 (HTTP 400)

This seems the wrong typo in change https://review.openstack.org/#/c/184841/

Changed in magnum:
assignee: nobody → Kai Qiang Wu(Kennan) (wkqwu)
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/185319

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/185319
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=d9db22b696db3596def8f60608be288df6206a4b
Submitter: Jenkins
Branch: master

commit d9db22b696db3596def8f60608be288df6206a4b
Author: Kai Qiang Wu(Kennan) <email address hidden>
Date: Mon May 25 15:50:47 2015 +0800

    Correct the wrong parameter pass

    The swarm heat use wrong parameter pass, which cause the swarm bay creation
    reference wrong issue.

    Closes-Bug: #1458445
    Change-Id: I5ff824cc615fd392372f5578c62fb7f76454b599

Changed in magnum:
status: In Progress → Fix Committed
Adrian Otto (aotto)
Changed in magnum:
milestone: none → mitaka-1
status: Fix Committed → Fix Released
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.