Ask Your Question
0

Singelnode - "No valid host was found"

asked 2017-10-06 16:31:54 -0500

MickyMan gravatar image

Hi

I'm running Pike. The openstack does work perfect with backend storage and vlan. I can create many small instance, "cirros". But when I try to create instance with bigger disk, I do get "No valid host was found", the ram and cpu is the same as when I run many cirros with 1 gb disk.

I can create one instance with 20gb disk, when I try to create instance nr 2 it's fails.

Can anyone point me where is need to take a look and do some changes to get this issue solved

Regards Micky.

edit retag flag offensive close merge delete

Comments

Please check for cinder volume log and cinder scheduler log for any errors. You may find some clue !

Praveen N gravatar imagePraveen N ( 2017-10-10 00:49:11 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2017-10-10 19:28:49 -0500

MickyMan gravatar image

Hi,

I think I have found the issue, but not solved it yet. If I run "openstack hypervisor stats show" I do get this.

local_gb = 34
local_gb_used = 20

And that is the /var disk. But I'm using the NFS share...

/dev/mapper/vg_raid5-var 35G 7,7G 28G 22% /var

10.0.0.10:/mnt/openstack_vol 1000G 933M 999G 1% /var/lib/nova/mnt/77adda28803e069e457f294e2172f0dc

So how can I get the hypervisor to read the size on the nfs share instead of /var ??

P.S.1 The instance that I have created is all stored on the NFS share.
P.S.2 I'm running the Packstack, I think I miss to inform about that.

.M

edit flag offensive delete link more

Comments

ln -s path.2.nfs /var

silently gravatar imagesilently ( 2017-10-11 04:03:40 -0500 )edit
0

answered 2017-10-11 03:46:09 -0500

silently gravatar image

you use the same flavor?

I think if your services are right, must your compute node not conform to instance which you want create .

edit flag offensive delete link more
0

answered 2017-10-09 02:04:14 -0500

Bernd Bausch gravatar image

updated 2017-10-09 02:06:51 -0500

If your instance uses an ephemeral disk, it's normally created under /var/lib/nova (in the case of DevStack, /opt/stack/data/nova/instances). Check if there is enough free space there.

If your instance uses a volume, you need to check if there is enough room on the volume backend.

As far as I know, the all-in-one implementations of Packstack and DevStack both put volumes on a 10GB loopback device. They are also configured so that instances launched from Horizon use volumes by default. There is a good chance that this is your problem.

Below is a screenshot from the instance launch dialog. Clicking No may solve your problem.

image description

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: 2017-10-06 16:31:54 -0500

Seen: 75 times

Last updated: Oct 11