New Question
0

Local storage and nova boot BDM

asked 2016-09-08 19:36:27 +0200

jrack gravatar image

Default block device mapping seems to be an issue with RHOS8 to v12 when using nova boot and adding a blank volume. I was able to boot of a VHD stored in Glance, but specifying a blank volume seems to break since /dev/sdb isnt valid on HypV. Not using any iSCSI here just a D: drive w an Instances folder.

nova boot --image source--block-device source=blank,dest=volume,size=25,shutdown=preserve --nic net-id=uuid --flavor 3 name

from nova-compute.log Booting with volume None at /dev/sdb

edit retag flag offensive close merge delete

Comments

Thinking our cinder config is hosed up. I have the node isolated in its own agg, but thinking I need to correct the cinder info.

jrack gravatar imagejrack ( 2016-09-08 20:30:57 +0200 )edit

Can you please post nova-compute logs and cinder logs ? paste.openstack.org should be fine. Thank you, Adelina

Adelina gravatar imageAdelina ( 2016-09-09 13:17:01 +0200 )edit

http://paste.openstack.org/show/570277/ I think the issue is simple and a PEBKAC. I need Cinder running on the hyp-v host with an LVMVolumeDriver like Windows corollary. Than scope the Host to a zone/agg to disallow sharing, but would love if I could do it in Nova.conf!

jrack gravatar imagejrack ( 2016-09-09 19:50:29 +0200 )edit

So loaded up the cinder-volume agent and added a avail zone (isolate this host) to the cinder.conf Erroring -- volume service is down. (host: ZT1001@CinderLocal) -- Filter AvailabilityZoneFilter returned 0 host(s) Checked local cinder log and no errors?

jrack gravatar imagejrack ( 2016-09-12 22:14:43 +0200 )edit

On the cinder-volume side 2016-09-12 14:53:36.161 768 INFO oslo.messaging._drivers.impl_rabbit Connected to AMQP server on 192.168.1.13:5672 2016-09-12 14:54:46.224 768 INFO cinder.volume.drivers.windows.smbfs Smb share //ZT1001/Cinder$ Total size 500106784768 Total allocated 0.0

jrack gravatar imagejrack ( 2016-09-12 22:30:51 +0200 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2016-09-12 22:46:43 +0200

jrack gravatar image

Corrected from above:

  • Use the SMB driver for cinder-volume
  • Make sure you have NTP configured if your nodes are not in a domain
    • I was showing down at controller, but the client looked OK.
edit flag offensive delete link more

Comments

Well I thought I was done... so basic volume stuff works, but specifying on a nova boot still fires an error with Block Device Mapping.

jrack gravatar imagejrack ( 2016-09-12 23:38:22 +0200 )edit

Could you please paste me the logs from both nova and cinder?

Adelina gravatar imageAdelina ( 2016-09-13 18:16:18 +0200 )edit

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2016-09-08 19:36:27 +0200

Seen: 429 times

Last updated: Sep 12 '16