Ask Your Question

In general, the devstack will cost how much of your disk?

asked 2018-07-16 02:43:24 -0500

liaodalin19903 gravatar image

In general, your devstack VM occupy space use how much disk size?

I am install the devstack by $ sudo -u stack ./, get bellow error:

An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-42b71255-848a-4f18-9d0c-e9602742a4f4)

and I check the vm disk size:

 stack@ldl-VirtualBox:~/devstack$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            980M     0  980M   0% /dev
tmpfs           200M   24M  177M  12% /run
/dev/sda1       7.8G  7.0G  387M  95% /
tmpfs          1000M  244K 1000M   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs          1000M     0 1000M   0% /sys/fs/cgroup
tmpfs           200M   80K  200M   1% /run/user/1000

you see the / have used 95%. I just re-run the ./ several times because of some errors. I mean whether failed I should delete something? if your devstack install will occupy so many disk size?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2018-07-16 02:47:12 -0500

updated 2018-07-16 02:48:55 -0500

I normally allocate 50GB. Your 8GB disk is way too small. Consider that DevStack will create two large files, around 10GB each if I remember well: One that will be used as a physical volume for Cinder, the other for Swift. After that, you need some storage space for the instances that you want to run.

edit flag offensive delete link more


thank you, Bernd Bausch.

liaodalin19903 gravatar imageliaodalin19903 ( 2018-07-16 02:48:50 -0500 )edit

answered 2018-07-17 18:00:38 -0500

hardcore-01 gravatar image

Even 50GB is too small, if you are experimenting with a number of instances. The biggest growth areas are ,Cinder,Nova,block storage log files. Also consider if you are running it as a VM, then you will be running VM's inside Vm's so the performance will take a real hit.

So A running case: Image of centos 1.2GB

launched image ram 2-4GB disk ~10GB PLUS Backing files for the image 1.2GB+10gb Backing file for Swap (whatever you allocated in ram) 2-4GB

shutdown system (18GB), since a shutdown system is retained unless purged, it holds all the data & disk image allocated Yes I know all about the "thin" storage in " Cinder" BUT, what you have to consider is HOW the instance OS works. An OS assumes it is working with a "real disk" and even a thin image can fill up very quickly to its full allocated extent once you start installing other packages.Once an area in a "thin image" is allocated it CANNOT be unallocated even if empty.

Finally DON'T allow any software OS updates inside the openstack system, updates are high maintanance

edit flag offensive delete link more

answered 2018-07-20 08:59:33 -0500

AndyW gravatar image

I have devstack queens installed (+tacker,heat, networking-sfc, mistral) in an ubuntu16.04 VM (ubuntu18.04 host) (KVM, 4 vCPU, 10G RAM, 30G disk)

If I df the installation

df -h

Filesystem      Size  Used Avail Use% Mounted on

udev            4.8G     0  4.8G   0% /dev
tmpfs           980M   99M  881M  11% /run
/dev/sda1        32G   12G   20G  38% /
tmpfs           4.8G     0  4.8G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           4.8G     0  4.8G   0% /sys/fs/cgroup
cgmfs           100K     0  100K   0% /run/cgmanager/fs
tmpfs           980M     0  980M   0% /run/user/1001

so am using about 12G disk.

in terms of VMs here will only run 2 or 3 cirros VMs (i.e very light VM usage). Use the tiny or nano flavors.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-07-16 02:43:24 -0500

Seen: 553 times

Last updated: Jul 20 '18