Ask Your Question

Magnum Bay create command fails with Error 400

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

sidx64 gravatar image

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


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:

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: : : "" does not validate net_cidr (constraint not found) Traceback (most recent call last):

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

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

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

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

InvalidParameterValue: ERROR: Property error: : : "" does not validate net_cidr (constraint not found)  (HTTP 400)

I see this error in the debug logs:

Debug Log: Magnum-api:

Debug Log: Magnum-Conductor:

I believe this is somehow related to this Bug: 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

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

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


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

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 444 times

Last updated: Feb 29 '16