[Openstack] Create instance fails on creating block device - Block Device Mapping is Invalid

Eugen Block eblock at nde.ag
Tue Jun 21 07:26:59 UTC 2016


>> Can't you boot an instance without cinder?
>
> Don't know, can I??

Well, you should ;-) How do you try to boot your instance, from CLI or  
Horizon? If it's Horizon, you would have to NOT klick the button  
"Create a new volume --> Yes" ;-) If it's CLI it's sufficient to only  
execute "nova boot --flavor <FLAVOR> --image <IMAGE-ID> --nic  
net-id=<NET-ID> (optional: only if you have multiple networks  
available) <NAME>"
This way you avoid creating a volume.

>> You could edit nova.conf
> How?

It's usually the default, although I'm really not an expert in  
Openstack. But if you simply try to set up nova on control and compute  
node following an install guide, it should bring you there.
I followed  
http://docs.openstack.org/mitaka/install-guide-obs/nova-controller-install.html, there aren't many options to configure and it defaults to local file  
storage.

> From what I can see, it doesn't even start sharing via iSCSI

You should try to fix that before you try to use it with openstack.

> Didn't even knew you could do that. Thought you HAD to use cinder/swift..
>
> Please point me to a faq/howto/doc on how to do that, thanx!

I used this guide:
http://docs.openstack.org/mitaka/install-guide-obs/environment-networking-storage-cinder.html
In the section for block storage it says "Block storage node  
(Optional)", so you wouldn't have to, but I guess it makes sense in  
the longterm. But as I already said, first you should try to get an  
instance running at all before using another backend.


Regards,
Eugen

Zitat von Turbo Fredriksson <turbo at bayour.com>:

> On Jun 20, 2016, at 3:27 PM, Eugen Block wrote:
>
>> Can't you boot an instance without cinder?
>
> Don't know, can I??
>
>> You could edit nova.conf to use local file system, just to have a  
>> running instance. If that works you can switch to another backend.
>
> How?
>
>> cinder create --image <IMAGE-ID> --name <NAME> <SIZE>
>
> I'll try that thanx. How do you do that with the "openstack" command?
>
>> Try debugging your iscsi connection, maybe first without openstack.
>
> From what I can see, it doesn't even start sharing via iSCSI..
>
>> In my environment, I first tried to get all services running and  
>> working without external backends, cinder, glance and nova all ran  
>> on local storage.
>
> Didn't even knew you could do that. Thought you HAD to use cinder/swift..
>
> Please point me to a faq/howto/doc on how to do that, thanx!
>
>> Then I tried other backends for cinder (iscsi), now all services use ceph.
>
> ceph?
> --
> Life sucks and then you die
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack



-- 
Eugen Block                             voice   : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg                         e-mail  : eblock at nde.ag

         Vorsitzende des Aufsichtsrates: Angelika Mozdzen
           Sitz und Registergericht: Hamburg, HRB 90934
                   Vorstand: Jens-U. Mozdzen
                    USt-IdNr. DE 814 013 983





More information about the Openstack mailing list