scream's profile - activity

2018-05-29 00:03:24 -0500 received badge  Good Question (source)
2015-10-01 11:29:44 -0500 received badge  Stellar Question (source)
2014-11-28 02:07:29 -0500 received badge  Enthusiast
2014-11-27 02:37:47 -0500 commented answer error in creating instances "no valid host was found"

Yes, I did it

2014-11-27 02:37:47 -0500 received badge  Commentator
2014-11-26 20:07:01 -0500 received badge  Favorite Question (source)
2014-11-26 08:57:43 -0500 received badge  Nice Question (source)
2014-11-26 07:57:16 -0500 commented answer error in creating instances "no valid host was found"

Maybe it's because I installed devstack on virtual machines?

2014-11-26 07:56:26 -0500 commented answer error in creating instances "no valid host was found"

The thrid one shouldn't be a problem as I adjust the memory and disk to larger ones, the problem "Exceeded max scheduling attempts" still remains. Maybe there are other unknown problems. Thank you anyway :)

2014-11-26 07:53:27 -0500 commented answer error in creating instances "no valid host was found"

Thanks very much for your detailed analysis. The first problem is solved by retrying of ./unstack.sh and ./stack.sh. I added the AllHostsFilter to the configuration parameter scheduler_default_filters in the /etc/nova/nova.conf file as you said and there is no such warning in the new generated logs.

2014-11-26 05:58:41 -0500 commented answer error in creating instances "no valid host was found"

Actually I can create virtual machines use kvm which called functions of libvirt, so I believe it's not the problem.

2014-11-26 05:23:15 -0500 commented question error in creating instances "no valid host was found"
2014-11-25 18:38:52 -0500 commented question error in creating instances "no valid host was found"
2014-11-25 18:32:04 -0500 received badge  Famous Question (source)
2014-11-25 16:49:51 -0500 received badge  Notable Question (source)
2014-11-25 16:25:53 -0500 received badge  Popular Question (source)
2014-11-25 06:29:32 -0500 commented answer error in creating instances "no valid host was found"

I tried to create instaces like Federo and Cirrors which are both the default installed ones of devstack. All of them failed for the same reason: No valid host was found. Exceeded max scheduling attempts 3

2014-11-24 19:58:44 -0500 answered a question error in creating instances "no valid host was found"

Help, guys

2014-11-23 18:53:40 -0500 commented answer error in creating instances "no valid host was found"

The checking status is pasted in http://paste.openstack.org/show/137092/ . It seems like nova-compute is enabled and working. And detailed logs are pasted in http://pan.baidu.com/s/1dDEhC4L . Thanks

2014-11-23 18:47:04 -0500 commented question error in creating instances "no valid host was found"

Actually there is no seperate log files such as nova-scheduler.log and nova-compute.log with devstack running everything in screen. So I just paste all screen logs in /opt/stack on http://pan.baidu.com/s/1dDEhC4L . You can find something useful there.

2014-11-22 00:24:20 -0500 received badge  Student (source)
2014-11-21 10:09:14 -0500 asked a question error in creating instances "no valid host was found"

I used devstack to deploy a all-in-one openstack in one VMware ubuntu14.04 virtual machine, which is configured with VT-x/EPT enabled so as to inherit the virtualization features of the host machine, which is a windows 7 x64 edition.

The configuration of localrc is as follows, with Ironic and Ceilometer enabled.

# Credentials
ADMIN_PASSWORD=password
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password

# Enable Ironic API and Ironic Conductor
enable_service ironic
enable_service ir-api
enable_service ir-cond

# Enable Neutron which is required by Ironic and disable nova-network.
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service neutron

# Create 3 virtual machines to pose as Ironic's baremetal nodes.
IRONIC_VM_COUNT=3
IRONIC_VM_SSH_PORT=22
IRONIC_BAREMETAL_BASIC_OPS=True

# The parameters below represent the minimum possible values to create
# functional nodes.
IRONIC_VM_SPECS_RAM=1024
IRONIC_VM_SPECS_DISK=10

# Size of the ephemeral partition in GB. Use 0 for no ephemeral partition.
IRONIC_VM_EPHEMERAL_DISK=0

VIRT_DRIVER=ironic

# By default, DevStack creates a 10.0.0.0/24 network for instances.
# If this overlaps with the hosts network, you may adjust with the
# following.
NETWORK_GATEWAY=10.1.0.1
FIXED_RANGE=10.1.0.0/24
FIXED_NETWORK_SIZE=256

# Log all output to files
LOGFILE=$HOME/devstack.log
SCREEN_LOGDIR=$HOME/logs
IRONIC_VM_LOG_DIR=$HOME/ironic-bm-logs

# Enable the ceilometer metering services
enable_service ceilometer-acompute ceilometer-acentral ceilometer-anotification ceilometer-collector

# Enable the ceilometer alarming services
enable_service ceilometer-alarm-evaluator,ceilometer-alarm-notifier

# Enable the ceilometer api services
enable_service ceilometer-api

So I run /tools/create-stack-user.sh and changed to stack user, then run ./stack.sh to start the long journey to a final success in everything installed as follows:

> Horizon is now available at
> http://192.168.209.252/ Keystone is
> serving at
> http://192.168.209.252:5000/v2.0/
> Examples on using novaclient command
> line is in exercise.sh The default
> users are: admin and demo The
> password: password This is your host
> ip: 192.168.209.252

It's very nice to login in the dashboard and see everything shown up. However, when I tried to create an instance, it always pops up a warning after some time of initializaing.

[error: No valid host was found. Exceeded max scheduling attempts 3 for instance 2203febf-2ef0-4de5-a176-71648bf87b09. Last exception: [u'Traceback (most recent call last):\n', u' File "/opt/stack/nova/nova/compute/manager.py", line 2028, in _do_build_and_run_in].

or sometimes another error:

No valid host was found. There are not enough hosts available.
500
File "/opt/stack/nova/nova/conductor/manager.py", line 626, in build_instances request_spec, filter_properties) File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 49, in select_destinations context, request_spec, filter_properties) File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 35, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/opt/stack/nova/nova/scheduler/client/query.py", line 34, in select_destinations context, request_spec, filter_properties) File "/opt/stack/nova/nova/scheduler/rpcapi.py", line 112, in select_destinations request_spec=request_spec, filter_properties=filter_properties) File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 152, in call retry=self.retry) File "/usr/local/lib/python2.7 ...
(more)