Ask Your Question
0

When using packstack --os-cinder=n, where is an instances block storage?

asked 2015-04-13 18:40:08 -0500

lhinds gravatar image

Learning packstack, and the tutorial I followed used '--os-cinder=n' for the packstack installation.

I am now interested in knowing where the instance block storage is kept on my controller (its an allinone installation).

I would like to change this and point to a bigger sized mount if possible.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-04-13 23:54:12 -0500

dbaxps gravatar image

updated 2015-04-14 00:11:03 -0500

Upadte answer-file create by packstack and set

CONFIG_CINDER_INSTALL=y

and rerun packstack with updated answer-file
Then to switch from thin lvm config to LVMiSCSI backend for cinder follow
http://bderzhavets.blogspot.com/2014/... ( on CentOS 7)
On Fedora 21 clean up /etc/cinder/cinder.com from "lvm" related entries, stop && disable tgtd,
start&&enable target , create cinder-volumes-new (say on /dev/sda7) :-

pvcreate /dev/sda7
vgcreate cinder-volumes-new /dev/sda7

Update /etc/cinder/cinder.conf

{DEFAULT]

enabled_backends=lvmiscsi

Place at the bottom of file

[lvmiscsi]
iscsi_helper=lioadm
volume_group=cinder-volumes-new
volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver
iscsi_ip_address=192.168.1.127
volume_backend_name=LVM_iSCSI

Then goto CLI

# source keystonerc_admin
# cinder type-create lvmiscsi
# cinder type-key lvmiscsi  set volume_backend_name=LVM_iSCSI

Restart cinder services

# for i in api scheduler volume ; do service openstack-cinder-${i} restart ; done

F21 requires thin LVM ( lvm) pre-conversion clean up , otherwise some of cinder packages will result popups claiming problem in package && cnder won't work with lvmiscsi backend been set up.

    This config will result your AIO node to become ISCSI target Server && ISCSI initiator at a time

In general CONFIG_STORAGE_HOST=192.168.1.147 would work as ISCSI Target Server, CONFIG_COMPUTE_HOSTS=192.168.1.137 would work as ISCSI initiator ( client side , on which iscsid service would be running )

edit flag offensive delete link more

Comments

Thanks for your answer dbaxps, but i am not so interested in enabling cinder, more where instance files for launched vm's are stored, when cinder=n is used?

Your guide is very useful though for when I do enabled cinder, but for now I plan to run without for now.

lhinds gravatar imagelhinds ( 2015-04-14 03:22:49 -0500 )edit

Just run, ephemeral storage will be used by default. What's a problem ? Location.

Goto /etc/libvirt/qemu and see your instance XML file for < source file=/../../   />
dbaxps gravatar imagedbaxps ( 2015-04-14 03:30:17 -0500 )edit
0

answered 2016-07-11 02:09:32 -0500

betta-geek gravatar image

Openstack Instances are stored at /var/lib/nova/instances for both Openstack and Packstack deployments. You identify them via the ID that is found in the Instance Information.

I'm not sure whether you can change the mount point but i believe you can increase the storage capacity by using shared storage filesystems.

edit flag offensive delete link more

Your Answer

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

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-04-13 18:40:08 -0500

Seen: 1,451 times

Last updated: Apr 14 '15