Ask Your Question
1

NoValidHost when running rally boot-and-delete task

asked 2014-08-16 09:00:57 -0500

ymt11 gravatar image

updated 2014-08-18 09:20:49 -0500

SamYaple gravatar image

when running rally -v task start boot-and-delete.json, the task always fails and each iteration reports the following message:

ITER: 0 END: Error <class 'rally.exceptions.GetResourceErrorStatus'>: Resouce <Server: rally_novaserver_oqxmhtbpzzjwwfpo> has ERROR status: NoValidHost

I have checked that there are enough available resources(vCPU, RAM etc) in compute nodes. Boot and delete operations on Dashboard work okay.

I have also checked nova.conf file, rabbitmq configuration is correct. and here is scheduler setting:

##### SCHEDULER #####

compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
scheduler_available_filters=nova.scheduler.filters.all_filters
scheduler_default_filters=AvailabilityZoneFilter,RamFilter,ComputeFilter,CoreFilter,SameHostFilter,DifferentHostFilter
default_availability_zone=nova  
default_schedule_zone=nova  
storage_availability_zone=nova

Wonder how to fix this NoValidHost problem, can anybody give some advice? Thanks in advance!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-11-19 23:55:34 -0500

boris-42 gravatar image

So "Rally" uses the plain "python clients" so NoValidHost means that for some reason it didn't find proper host.

It can be cause of next rearons:

1) Flavor is to big

2) No available network

Keep in mind that Rally creates users/tenants that actually creates VM. So as a first step I'll try to create by hand tenant and user and try to boot from him some VM

edit flag offensive delete link more

Comments

Hi, I'm runing the same scenario boot-and-delete.json And I get issues here the error :

Error GetResourceErrorStatus: Resource <server: rally_novaserver_rxtwsldpcokoowoq=""> has ERROR status:

I create another very tiny flavor enough to create as many VMs as I want. I tried manually and I succeeded

hi-khattab gravatar imagehi-khattab ( 2015-03-12 15:11:11 -0500 )edit

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

2 followers

Stats

Asked: 2014-08-16 09:00:57 -0500

Seen: 243 times

Last updated: Nov 19 '14