Ask Your Question
0

Magnum Bay create command fails with Error 400

asked 2016-01-31 01:10:00 -0500

sidx64 gravatar image

updated 2016-02-29 15:27:50 -0500

Hello!

I have manually integrated Magnum into an existing RDO Packstack installation, all in one VM with 16GB of Memory.

When I try to create a Baymodel, it is created just fine: http://ur1.ca/ogqmb

However, when I try to create a Bay as shown in the Developer Quickstart documentation of Magnum, an error pops up and the bay is not created.

[root@magnum ~]# magnum bay-create --name k8sbay --baymodel k8sbaymodel --node-count 1 

ERROR: ERROR: Property error: : resources.fixed_subnet.properties.cidr: : "10.0.0.0/24" does not validate net_cidr (constraint not found) Traceback (most recent call last):

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

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

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

  File "/usr/lib/python2.7/site-packages/magnum/conductor/handlers/bay_conductor.py", line 134, in bay_create
    raise exception.InvalidParameterValue(message=str(e))

InvalidParameterValue: ERROR: Property error: : resources.fixed_subnet.properties.cidr: : "10.0.0.0/24" does not validate net_cidr (constraint not found)  (HTTP 400)

I see this error in the debug logs:

Debug Log: Magnum-api: http://ur1.ca/ogqmh

Debug Log: Magnum-Conductor: http://ur1.ca/ogqmj

I believe this is somehow related to this Bug: https://bugs.launchpad.net/magnum/+bu... But I do not know how I can resolve it. Can someone please prod me in the right direction?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-02-15 01:22:36 -0500

sbiswas7 gravatar image

You probably should just install python-croniter and restart your heat services. It worked for me.

edit flag offensive delete link more

Comments

this worked beautifully. sbiswas7, can you tell me why/how this worked?

sidx64 gravatar imagesidx64 ( 2016-03-07 22:51:24 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-01-31 01:10:00 -0500

Seen: 397 times

Last updated: Feb 29 '16