InvalidParameterValue: ERROR: The Parameter (fixed_network) was not provided. (HTTP 400)

Bug #1552104 reported by Xu Ao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Expired
Undecided
Unassigned

Bug Description

While I'm Building a Kubernetes Bay - Based on Based on CoreOS: http://docs.openstack.org/developer/magnum/dev/quickstart.html
Running: magnum bay-create --name k8sbay --baymodel k8sbaymodel-coreos --node-count 2

Error:
Create for bay k8sbay-coreos failed: ERROR: The Parameter (fixed_network) was not provided. Traceback (most recent call last):

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

File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _dispatch return self._do_dispatch(endpoint, method, ctxt, args)

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

File "/opt/stack/magnum/magnum/conductor/handlers/bay_conductor.py", line 153, in bay_create raise exception.InvalidParameterValue(message=six.text_type(e))

InvalidParameterValue: ERROR: The Parameter (fixed_network) was not provided. (HTTP 400)

However I can build a Kubernetes Bay - Based on Fedora Atomic successfully!

Revision history for this message
hongbin (hongbin034) wrote :

Xu Ao,

I cannot reproduce the error. Could you provide these information:

The commit point of Magnum (cd /opt/stack/magnum && git log)
The commit point of Heat (cd /opt/stack/heat && git log)
The commit point of python-magnumclient (cd /opt/stack/python-magnumclient && git log)

Revision history for this message
Xu Ao (xuao) wrote :

I have tried to run this command :
magnum baymodel-create --name k8sbaymodel-coreos --image-id CoreOS --keypair-id xuao --external-network-id public --dns-nameserver 8.8.8.8 --flavor-id m1.small --network-driver flannel --coe kubernetes --tls-disabled --fixed-network private

with a new error:
DEBUG wsme.api [req-956993e6-6311-4673-a622-178df32adefb admin admin] Client-side error: ERROR: The Parameter (trustee_password) was not defined in template.
Traceback (most recent call last):

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

  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _dispatch
    return self._do_dispatch(endpoint, method, ctxt, args)

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

  File "/opt/stack/magnum/magnum/conductor/handlers/bay_conductor.py", line 151, in bay_create
    raise exception.InvalidParameterValue(message=six.text_type(e))

InvalidParameterValue: ERROR: The Parameter (trustee_password) was not defined in template.
 from (pid=564) format_exception /usr/local/lib/python2.7/dist-packages/wsme/api.py:221

Revision history for this message
Xu Ao (xuao) wrote :
Download full text (7.9 KiB)

magnum git log
---------------------------------------------------------------------------------------------------------
commit 6fbae6c8ed9c1bfe1e93152988be926e9c730559
Merge: b7b2535 1d2db24
Author: Jenkins <email address hidden>
Date: Thu Feb 25 04:01:31 2016 +0000

    Merge "Add trust info into heat params"

commit b7b2535f9fae7412a3a4a3f634fb4c60cc59dac4
Merge: 687931f 725bd5c
Author: Jenkins <email address hidden>
Date: Thu Feb 25 04:01:24 2016 +0000

    Merge "Create a trustee user for each bay"

commit 687931fab14bbcb72447f05caf086864bb0cc234
Merge: f9f8663 8f5952f
Author: Jenkins <email address hidden>
Date: Thu Feb 25 01:30:37 2016 +0000

    Merge "Add tempest logging to bay_client and test_bay helper methods"

commit f9f866386e285591d3b91c312afc00b2e9fa25c4
Merge: 7a6f37a 5cbc6ef
Author: Jenkins <email address hidden>
Date: Thu Feb 25 01:11:47 2016 +0000

    Merge "Updated from global requirements"

commit 7a6f37a880b4fc1ee122815d751e80a567a663ce
Merge: 55007d2 671e3d5
Author: Jenkins <email address hidden>
Date: Wed Feb 24 23:07:41 2016 +0000

    Merge "Add master_flavor_id to baymodel data funtion test"

commit 55007d2803fc775175dce84f45c5e003a0715911
Merge: 7c349ea f58431d
Author: Jenkins <email address hidden>
Date: Wed Feb 24 23:00:41 2016 +0000

    Merge "Rename network driver name in Validator class"
-------------------------------------------------------------------------------------------------------------

heat git log
-------------------------------------------------------------------------------------------------------------
commit b8da6cf95ecb397ea8d998c166ee878a193f6458
Merge: 815f36d 329db1e
Author: Jenkins <email address hidden>
Date: Thu Feb 25 04:09:29 2016 +0000

    Merge "Add functional tests for update restrict"

commit 815f36d78db092f74618fc7be744f935c9fd0ebe
Merge: 42c1eba 8c55606
Author: Jenkins <email address hidden>
Date: Wed Feb 24 23:42:55 2016 +0000

    Merge "Convergence replace restriction for type change"

commit 42c1ebaf579a43b160de8a31326286c4f91c3f5c
Merge: e67f3a6 85ccbef
Author: Jenkins <email address hidden>
Date: Wed Feb 24 22:42:00 2016 +0000

    Merge "Add parse_live_resource_data for zaqar queue"

commit e67f3a649470dc02342200866368d8094070d1c1
Merge: 571393a d83c549
Author: Jenkins <email address hidden>
Date: Wed Feb 24 17:52:04 2016 +0000

    Merge "Updated from global requirements"

commit 571393a63b0a3cd207417f067bdbd77d68ac180f
Merge: 75e945a 98262c1
Author: Jenkins <email address hidden>
Date: Wed Feb 24 16:35:58 2016 +0000

    Merge "Immutable parameters"

commit 75e945a8514e2ee577e6f2910d3d13422b55854b
Merge: 8d07c7d 46013f9
Author: Jenkins <email address hidden>
Date: Wed Feb 24 15:06:30 2016 +0000

    Merge "Refactor mistral workflow handle_signal"

commit 8d07c7dc8d4faf03f3195e3a5f737067cf3a9c69
Merge: bd88cdd 28c07fd
Author: Jenkins <email address hidden>
Date: Wed Feb 24 15:06:18 2016 +0000

    Merge "Don't useless fetch resources on update"

commit bd88cddd43f25fac8aaf3a2e70d89df44de67636
Merge: 8b1ee77 165ce0b
Author: Jenkins <jenkins...

Read more...

Revision history for this message
hongbin (hongbin034) wrote :

Xu Ao,

I have set to the commit points you provided, but still not able to reproduce the error. However, I remembered that I saw this error before and it should be fixed in the latest version of OpenStack. What I can suggest is:

1. Pull the latest version of magnum (ca /opt/stack/magnum && git pull origin master), and restart m-api and m-cond.
2. If #1 didn't work, pull the latest version of heat and restart all the heat processes.
3. If both #1 and #2 didn't work, pull and latest version devstack and re-run ./stack.sh

Hopefully, it will work.

Eli Qiao (taget-9)
Changed in magnum:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Magnum because there has been no activity for 60 days.]

Changed in magnum:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.