Packstack deployment regarding storage on LVM

asked 2015-07-27 09:26:20 -0600

dgonzalezh gravatar image

updated 2015-07-28 02:34:16 -0600

Hi @all,

I edited as suggested, hope this time I am clearer, thanks for all answers and suggestions regarding this. I'm a newbie in Openstack world and I'd like to apologize if this was asked before so i ask you to please bear with me on this one.

I've installed Openstack using packstack on a single node with the following specs

CentOS 7 minimal 16 GiB RAM Core i5 CPU 1 SSD (LVM OS) 2 1TB HDDs in RAID1 array (LVM PV empty, for storage)

I've read the nova and glance files namely "filesystem_store_datadir" for image and instance storage paths.

I want to use the 900+ GiB for image and instance storage, after I changed these parameters and rebooted the instances won't start.

I ended up uninstalling everything with the remove script from RedHat docs, then I editing the packstack-answers file like this:

<code>
CONFIG_CINDER_BACKEND=lvm
CONFIG_CINDER_VOLUMES_CREATE=y (not sure if use this one or not)
CONFIG_CINDER_VOLUMES_SIZE=440G (UI wnat to dedicate 400G to images and 400G to instances' volumes)
CONFIG_SWIFT_STORAGES=/dev/md125 (my RAID1 900GiB volume)
CONFIG_SWIFT_STORAGE_FSTYPE=xfs
</code>

After running packstack with these settings everything went OK and I now have these mount points

<code>
[root@cs ~]# mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel)
devtmpfs on /dev type devtmpfs (rw,nosuid,seclabel,size=8150988k,nr_inodes=2037747,mode=755)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,seclabel,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/mapper/vgCloud02-root on / type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
systemd-1 on /proc/sys/fs ...
(more)
edit retag flag offensive close merge delete

Comments

You'll have to provide more details if you want to get help: what files have you modified? what are the logs saying? Edit your question, change the title to be precisely about your issue. Read https://ask.openstack.org/faq

smaffulli gravatar imagesmaffulli ( 2015-07-27 12:23:16 -0600 )edit

Hi, I've edited as suggested.

dgonzalezh gravatar imagedgonzalezh ( 2015-07-27 14:22:44 -0600 )edit

After I change dthe paths on the files, bin-mounted the dis everything just breaks, does anyone know of some "storage tutorial" or"openstack with LVM"?. I'm about to give up. TIA.

dgonzalezh gravatar imagedgonzalezh ( 2015-07-29 10:44:45 -0600 )edit