Ask Your Question
1

No package openstack-nova-compute available

asked 2015-07-31 16:29:50 -0500

tiagocruz gravatar image

Hello! I'm a new user of OpenStack and I'm trying to run all the components in the same physical machine to test the software. I'm using CentOS 6 with these packages:

  [root@mcloud6 log]# rpm -qa | grep openstack
   openstack-glance-2014.1.4-1.el6.noarch
   openstack-nova-conductor-2014.1.4-2.el6.noarch
   openstack-nova-scheduler-2014.1.4-2.el6.noarch
   openstack-nova-console-2014.1.4-2.el6.noarch
   openstack-neutron-2014.1.4-1.el6.noarch
   python-django-openstack-auth-1.1.5-1.el6.noarch
   openstack-dashboard-2014.1.3-1.el6.noarch
   openstack-nova-common-2014.1.4-2.el6.noarch
   openstack-nova-api-2014.1.4-2.el6.noarch
   openstack-utils-2014.1-3.el6.noarch
   openstack-neutron-ml2-2014.1.4-1.el6.noarch
   openstack-keystone-2014.1.4-1.el6.noarch
   openstack-nova-cert-2014.1.4-2.el6.noarch
   openstack-nova-novncproxy-2014.1.4-2.el6.noarch
   openstack-neutron-openvswitch-2014.1.4-1.el6.noarch

But I can't create a new instance:

Fault
Message: No valid host was found.
Code:     500
Details:   File "/usr/lib/python2.6/site-packages/nova/scheduler/filter_scheduler.py", line 108, in schedule_run_instance raise exception.NoValidHost(reason="")
Created: July 31, 2015, 8:58 p.m.

Log error:

==> /var/log/nova/scheduler.log <==
2015-07-31 20:58:06.093 5284 INFO nova.scheduler.filter_scheduler [req-ee8cd0fd-4cd7-4964-9402-33fda7bca4e9 d0f9266c50864b47b4ac35964ce1d452 806d7cde1fbd4bc3ae65ea9acf7d58ec] Attempting to build 1 instance(s) uuids: [u'9d82203f-8d40-4c8c-b182-964799e3b37c']
2015-07-31 20:58:06.101 5284 WARNING nova.scheduler.filters.compute_filter [req-ee8cd0fd-4cd7-4964-9402-33fda7bca4e9 d0f9266c50864b47b4ac35964ce1d452 806d7cde1fbd4bc3ae65ea9acf7d58ec] (mcloud6, mcloud6.datac.movile.com) ram:257785 disk:15360 io_ops:0 instances:0 has not been heard from in a while
2015-07-31 20:58:06.101 5284 INFO nova.filters [req-ee8cd0fd-4cd7-4964-9402-33fda7bca4e9 d0f9266c50864b47b4ac35964ce1d452 806d7cde1fbd4bc3ae65ea9acf7d58ec] Filter ComputeFilter returned 0 hosts
2015-07-31 20:58:06.101 5284 WARNING nova.scheduler.driver [req-ee8cd0fd-4cd7-4964-9402-33fda7bca4e9 d0f9266c50864b47b4ac35964ce1d452 806d7cde1fbd4bc3ae65ea9acf7d58ec] [instance: 9d82203f-8d40-4c8c-b182-964799e3b37c] Setting instance to ERROR state.

Sonds like my problem is related with "nova-compute" not running:

[root@mcloud6 ~]# nova service-list
+------------------+--------------------------+----------+---------+-------+----------------------------+-----------------+
| Binary           | Host                     | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+------------------+--------------------------+----------+---------+-------+----------------------------+-----------------+
| nova-conductor   | mcloud6                  | internal | enabled | down  | 2015-07-13T10:17:27.000000 | -               |
| nova-cert        | mcloud6                  | internal | enabled | down  | 2015-07-13T10:17:25.000000 | -               |
| nova-scheduler   | mcloud6                  | internal | enabled | down  | 2015-07-13T10:17:29.000000 | -               |
| nova-consoleauth | mcloud6                  | internal | enabled | down  | 2015-07-13T10:17:35.000000 | -               |
| nova-compute     | mcloud6                  | nova     | enabled | down  | 2015-07-13T10:17:35.000000 | None            |
| nova-conductor   | mcloud6.xxx.com | internal | enabled | up    | 2015-07-31T21:24:01.000000 | -               |
| nova-cert        | mcloud6.xxx.com | internal | enabled | up    | 2015-07-31T21:24:01.000000 | -               |
| nova-consoleauth | mcloud6.xxx.com | internal | enabled | up    | 2015-07-31T21:24:01.000000 | -               |
| nova-scheduler   | mcloud6.xxx.com | internal | enabled | up    | 2015-07-31T21:24:01.000000 | -               |
+------------------+--------------------------+----------+---------+-------+----------------------------+-----------------+

I'm looking here: http://docs.openstack.org/icehouse/install-guide/install/yum/content/nova-compute.html (http://docs.openstack.org/icehouse/in...)

But I can't install the package:

[root@mcloud6 ~]# yum install openstack-nova-compute
Loaded plugins: fastestmirror, priorities, security
Setting up Install Process
Loading mirror speeds from cached hostfile
81 packages excluded due to repository priority protections
No package openstack-nova-compute available.
Error: Nothing to do

Can you help me please?

Thanks!

edit retag flag offensive close merge delete

Comments

Please add the output of yum repolist

sgordon gravatar imagesgordon ( 2015-08-01 17:13:07 -0500 )edit

4 answers

Sort by ยป oldest newest most voted
1

answered 2015-08-01 17:14:00 -0500

sgordon gravatar image

The package does exist in the RDO repository:

Check that the repository is correctly enabled and/or not being filtered out as a result of yum priority settings.

edit flag offensive delete link more
0

answered 2015-08-03 10:47:10 -0500

tiagocruz gravatar image

Thanks @sgordon! I've got an strange conflict with openldap/libguestfs packages and openstack-nova-compute:

[root@mcloud6 ~]# yum install openstack-nova-compute 
Loaded plugins: fastestmirror, priorities, security
295 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package openstack-nova-compute.noarch 0:2014.1.5-1.el6 will be installed
--> Processing Dependency: python-libguestfs for package: openstack-nova-compute-2014.1.5-1.el6.noarch
--> Running transaction check
---> Package python-libguestfs.x86_64 1:1.20.11-11.el6 will be installed
--> Processing Dependency: libguestfs = 1:1.20.11-11.el6 for package: 1:python-libguestfs-1.20.11-11.el6.x86_64
--> Processing Dependency: libguestfs.so.0()(64bit) for package: 1:python-libguestfs-1.20.11-11.el6.x86_64
--> Running transaction check
---> Package libguestfs.x86_64 1:1.20.11-11.el6 will be installed
--> Processing Dependency: /lib64/libldif-2.4.so.2 for package: 1:libguestfs-1.20.11-11.el6.x86_64
--> Processing Dependency: /lib64/libldif-2.4.so.2 for package: 1:libguestfs-1.20.11-11.el6.x86_64
--> Finished Dependency Resolution
Error: Package: 1:libguestfs-1.20.11-11.el6.x86_64 (base)
           Requires: /lib64/libldif-2.4.so.2
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
openstack-nova-console-2014.2.2-2.el6.noarch has missing requires of openstack-nova-common = ('0', '2014.2.2', '2.el6')

I solved after remove and install openldap* again:

  • Before:
[root@mcloud6 ~]# rpm -qi openldap-clients
Name        : openldap-clients             Relocations: (not relocatable)
Version     : 2.4.39                            Vendor: (none)
Release     : 0.el6                         Build Date: Sat 17 May 2014 12:47:08 PM UTC
Install Date: Mon 03 Aug 2015 02:36:07 PM UTC      Build Host: localhost
  • After:
[root@mcloud6 yum.repos.d]# rpm -qi openldap-clients
Name        : openldap-clients             Relocations: (not relocatable)
Version     : 2.4.39                            Vendor: CentOS
Release     : 8.el6                         Build Date: Wed 15 Oct 2014 09:55:43 AM UTC
Install Date: Mon 03 Aug 2015 02:42:51 PM UTC      Build Host:  c6b8.bsys.dev.centos.org

Thanks!

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: 2015-07-31 16:29:50 -0500

Seen: 2,497 times

Last updated: Aug 03 '15