Ask Your Question

Block device mapping invalid

asked 2017-02-18 03:24:29 -0500

harshal gravatar image

I was trying to deploy a instance from a image and i'm getting below error. I have no clue what is wrong with this centos7 image.

Error: Failed to perform requested operation on instance "centos7", the instance has an error status: Please try again later [Error: Build of instance caeb2aca-2225-42c3-a780-c678c7b5b30d aborted: Block Device Mapping is Invalid.].

edit retag flag offensive close merge delete


How did you launch that instance? What parameters did you specify? Do other images lead to this error? Do you get the error when trying later? You should have more information in the nova-compute log, in particular if you enable debug logging.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-18 05:34:04 -0500 )edit

I'm launching instance from Horizon and specified all required parameters which is been required when we deployed from Horizon. Yes all images leads to this error except cirros. I get this error every time i deploy instance. Didn't found anything in nova-compute.log

harshal gravatar imageharshal ( 2017-02-18 06:32:42 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-02-18 05:29:08 -0500

dbaxps gravatar image

updated 2017-02-18 09:14:18 -0500

On newton release try via Nova CLI (for instance) :-

$ . keystonerc_demo
$ nova boot --flavor 2 --key-name oskey021817  --image image-id --nic net-id=private-network-id  VM1

See for Neutron CLI starting with lines

  [ root@overcloud-controller-0 ~]# nova list
    | ID                                   | Name               | Status | Task State | Power State | Networks     |
    | bc3c8fca-99ec-47ea-9cc6-9a5916f13f2b | UbuntuXenialDevs01 | ACTIVE | -          | Running     | int= |
    | dcc3a479-eb9e-4f9b-aeca-a820b402c2ac | VF24Devs01         | ACTIVE | -          | Running     | int= |
    [root@overcloud-controller-0 ~]#  neutron port-list --device-id bc3c8fca-99ec-47ea-9cc6-9a5916f13f2b
edit flag offensive delete link more


its working fine from command line, i wonder why its not working from UI/ horizon

harshal gravatar imageharshal ( 2017-02-18 05:58:46 -0500 )edit

one more thing observed, i can deploy it from command line but cant attach any floating ip. Even able able to deploy from horizon panel

harshal gravatar imageharshal ( 2017-02-18 07:04:44 -0500 )edit

Never experienced problems with assigning FIP on RDO Newton. Try via neutron CLI
One neutron commands

neutron port-list --device-id  server-id
neutron floatingip-create ext-net
neutron floatingip-associate \
fip-id  port-id

should return error . Then check logs.

dbaxps gravatar imagedbaxps ( 2017-02-18 09:14:29 -0500 )edit

Same here, works from CLI, but not from Horizon

AJ NOURI gravatar imageAJ NOURI ( 2017-02-25 21:49:27 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2017-02-18 03:24:29 -0500

Seen: 1,595 times

Last updated: Feb 18 '17