Error when installing ubuntu18 on dashboard is "you need 8.6 Gb for this installation you have zero space for this system”

asked 2019-04-22 07:16:04 -0600

N.R gravatar image

updated 2019-04-22 08:00:40 -0600

I Install openstack queen on server using KVM. I have 3 nodes controller, compute and storage. I follow this tutorial. Now every thing install correctly i check all the status like neutron,nova etc, all are active.On dashboard i am creating ubuntu18 ISO image its create now when i launch an instance and install ubuntu it will give me space error that you have zero space to install this you need 8.6 GB for this installation so what is the issue if someone tell me . How i can check the image path that ubuntu image installed and how i can give space to that image.

edit retag flag offensive close merge delete

Comments

Whivh tutorial do you mean?

I understand that you launch an instance from an ISO image and get this message when trying to install the ISO.

Did you add another disk? If not, the instance has only a DVDROM and no storage to which it can install Ubuntu.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-22 17:18:19 -0600 )edit

@Bernd Bausch, You mean flavor?? I already add a flavor when creating instance How can I add another disk ?? I already search a lot on the internet but not succeed.

N.R gravatar imageN.R ( 2019-04-24 00:02:58 -0600 )edit

And I follow this tutorial https://docs.openstack.org/install-guide/ (https://docs.openstack.org/install-gu...)

N.R gravatar imageN.R ( 2019-04-24 00:05:36 -0600 )edit

I don't understand what you are doing. What are your instance launch parameters?

You add a disk by attaching a volume.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-24 00:48:15 -0600 )edit

OK i will tell you i am installing open-stack queen on single machine with KVM. In KVM i have 3 nodes controller,compute and storage but i have configured controller and compute node completely now using dashboard i am creating instance i have Ubuntu ISO image in dashboard.

N.R gravatar imageN.R ( 2019-04-24 06:40:38 -0600 )edit

Again: What are your instance launch parameters? What image, storage, networking, flavor etc do you use? I still don't understand how you launch the instance.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-24 06:53:13 -0600 )edit

can you give me your email address i will give you detail with screenshots ..??

N.R gravatar imageN.R ( 2019-04-24 07:26:33 -0600 )edit

It should not be too hard to describe the instance parameters. Image, flavor, volumes (if any).

Do you want to create an image by booting from an installation ISO? See https://help.dreamhost.com/hc/en-us/a....

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-24 09:00:15 -0600 )edit

I understand what you say first I need to attach volume then trying to launch an instance and install ubuntu desktop, after that what results it gives me I will tell you just give me any tutorial that how I can configure storage node for OpenStack queen installation in ubuntu16 Thanks

N.R gravatar imageN.R ( 2019-04-25 04:31:53 -0600 )edit

No. You attach the volume after launching the instance. See the Dreamhost tutorial.

Installing Cinder for Queens: https://docs.openstack.org/cinder/que....

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-25 04:50:31 -0600 )edit

Yes I know it's my sentence mistake obviously volume attach after launching the instance. Sorry for this actually i am trying to write this i need to configure cinder first

N.R gravatar imageN.R ( 2019-04-25 05:17:24 -0600 )edit

Obviously, I know volumes attach after launching the instance actually I want to write this "I need to configure volume" anyway I got it your point

N.R gravatar imageN.R ( 2019-04-25 05:44:10 -0600 )edit

@Bernd Bausch, now I am configuring cinder-volume, I install LVM but my question is how I can configure LVM in KVM guests because I have a partition with /dev/vda on my KVM guests so can you clear this concept of LVM when configuring in KVM..??

N.R gravatar imageN.R ( 2019-04-26 04:55:56 -0600 )edit

You configure LVM in a KVM guest in the same way as on a physical server. Get yourself a disk (in OpenStack: A volume), pvcreate, vgcreate, lvcreate.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-26 06:11:39 -0600 )edit

But I am facing error when running this pvcreate /dev/vda1 command it gives me this error

root@storage:~# pvcreate /dev/vda1

Can't open /dev/vda1 exclusively. Mounted filesystem?

N.R gravatar imageN.R ( 2019-04-26 07:28:16 -0600 )edit

My disk partition in object storage node looks like this :

root@storage:~# lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

sr0 11:0 1 1024M 0 rom

vda 252:0 0 300G 0 disk

├─vda2 252:2 0 1K 0 part

├─vda5 252:5 0 975M 0 part [SWAP]

└─vda1 252:1 0 299G 0 part /

N.R gravatar imageN.R ( 2019-04-26 07:31:13 -0600 )edit

root@storage:~# lvmdiskscan /dev/vda1 [ 299.04 GiB] /dev/vda5 [ 975.00 MiB] 0 disks 2 partitions 0 LVM physical volume whole disks 0 LVM physical volumes

N.R gravatar imageN.R ( 2019-04-26 07:41:30 -0600 )edit

Yes, vda1 is mounted. It’s your root filesystem.

I think you want to attach a volume to the instance and create a physical volume on it. I am not quite certain if I understand your ultimate goal, though.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-26 08:09:19 -0600 )edit

My disk partition in object storage node

Now I am totally confused. What does the object storage node have to do with a KVM guest?

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-26 08:14:35 -0600 )edit

I think you want to attach a volume to the instance I just follow the tutorial that you gave me for cinder configuration and on this tutorial, it configures the physical volume my aim is to solve the error that I mentioned before. To solve this issue we discussed that we need to configure cinder

N.R gravatar imageN.R ( 2019-04-26 09:22:56 -0600 )edit

Don't be confused it's very simple that I already mention is that I follow the tutorial and for cinder configuration I need other VM that is object storage node and simply I am configuring

N.R gravatar imageN.R ( 2019-04-26 09:29:08 -0600 )edit

The tutorial doesn’t mention an object storage node. And it saysCreate the LVM physical volume /dev/sdb. You need a second disk.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-26 09:30:29 -0600 )edit

On the top, it mentions that Perform these steps on the storage node. what does it mean..??

N.R gravatar imageN.R ( 2019-04-26 09:44:51 -0600 )edit

I need the second disk it means I need to attach another virtual disk ..??

N.R gravatar imageN.R ( 2019-04-26 09:47:45 -0600 )edit

The storage node is the node where you install cinder-volume and the LVM VG that serves as volume backend. Yes, if the storage node is a virtualmachine, you need another virtual disk.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-26 17:05:00 -0600 )edit

Yes I am glad you understand what I am trying to do, let me add another disk then i will tell you.

N.R gravatar imageN.R ( 2019-04-27 02:58:11 -0600 )edit