fixed_network template parameter should be fixed_network_cidr

Bug #1450140 reported by Tom Cammann on 2015-04-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

An error is thrown when creating a bay model with a fixed network cidr.


baymodel-create --name testbaymodel --image-id 72a8a226-d2d9-43a6-a799-ac190c4ea4ae --keypair-id testkey --external-network-id $NIC_ID --dns-nameserver --flavor-id m1.small --docker-volume-size 5 --coe kubernetes --fixed-network ""

magnum bay-create --name testbay --baymodel testbaymodel --node-count 2

ERROR: ERROR: The Parameter (fixed_network) was not defined in template.
Traceback (most recent call last):

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

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

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

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

InvalidParameterValue: ERROR: The Parameter (fixed_network) was not defined in template.
 (HTTP 400)

Submitter: Jenkins
Branch: master

commit 29dbc62504eb5cca86867f39120a39735dc5de3d
Author: Tom Cammann <email address hidden>
Date: Wed Apr 29 18:31:00 2015 +0100

    fixed_network should be fixed_network_cidr

    fixed_network should be fixed_network_cidr as this is the value that
    exists in the heat template.

    Update tests to use a cidr address string rather than a text string to
    match the parameters expected contents.

    Change-Id: I624b95930f9eb506abfb2e29beea8d83878ea142
    Closes-Bug: 1450140

Changed in magnum:
status: New → Fix Committed
Adrian Otto (aotto) on 2015-05-05
Changed in magnum:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers