Kilo - CentOS, Nova.compute.manager "ConnectionRefused"

asked 2015-09-16 17:21:56 -0500

anonymous user

Anonymous

Dear All,

I'm follow to http://docs.openstack.org to install Kilo at CentOS 7 with all steps one by one,

Once I'm finish all Service up & running, and openstack-status output below

[root@controller multi-user.target.wants]# openstack-status

== Nova services ==
openstack-nova-api:                     active
openstack-nova-cert:                    active
openstack-nova-compute:                 inactive  (disabled on boot)
openstack-nova-network:                 inactive  (disabled on boot)
openstack-nova-scheduler:               active
openstack-nova-conductor:               active
== Glance services ==
openstack-glance-api:                   active
openstack-glance-registry:              active
== Keystone service ==
openstack-keystone:                     active
== Horizon service ==
openstack-dashboard:                    active
== neutron services ==
neutron-server:                         active
neutron-dhcp-agent:                     inactive  (disabled on boot)
neutron-l3-agent:                       inactive  (disabled on boot)
neutron-metadata-agent:                 inactive  (disabled on boot)
== Swift services ==
openstack-swift-proxy:                  inactive  (disabled on boot)
openstack-swift-account:                inactive  (disabled on boot)
openstack-swift-container:              inactive  (disabled on boot)
openstack-swift-object:                 inactive  (disabled on boot)
== Cinder services ==
openstack-cinder-api:                   active
openstack-cinder-scheduler:             active
openstack-cinder-volume:                inactive  (disabled on boot)
openstack-cinder-backup:                inactive  (disabled on boot)
== Support services ==
mysqld:                                 inactive  (disabled on boot)
dbus:                                   active
rabbitmq-server:                        active
memcached:                              active
== Keystone users ==
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:65: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
  'python-keystoneclient.', DeprecationWarning)
Authorization Failed: The resource could not be found. (HTTP 404) (Request-ID: req-537c65c8-00ae-4005-9283-ef28fe36fe57)
== Glance images ==
+--------------------------------------+--------+
| ID                                   | Name   |
+--------------------------------------+--------+
| 1baed09d-5176-46f7-a91c-646e19d2d494 | cirros |
+--------------------------------------+--------+
== Nova managed services ==
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host       | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-conductor   | controller | internal | enabled | up    | 2015-09-16T22:15:59.000000 | -               |
| 2  | nova-consoleauth | controller | internal | enabled | up    | 2015-09-16T22:15:59.000000 | -               |
| 3  | nova-scheduler   | controller | internal | enabled | up    | 2015-09-16T22:15:59.000000 | -               |
| 4  | nova-cert        | controller | internal | enabled | up    | 2015-09-16T22:15:59.000000 | -               |
| 5  | nova-compute     | compute    | nova     | enabled | up    | 2015-09-16T22:16:03.000000 | -               |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
== Nova networks ==
+--------------------------------------+----------+------+
| ID                                   | Label    | Cidr |
+--------------------------------------+----------+------+
| 4aa15ff6-e0ce-498e-813b-ee35dcefcb03 | l1-int   | -    |
| f85e9716-96a5-4ba8-8af8-a1310c62eb87 | demo-net | -    |
| 316415ad-5340-4c84-ad69-a1a329e191ea | Int-home | -    |
| f8186af7-640d-4d9e-97b6-a74c92cfae70 | ext-net  | -    |
+--------------------------------------+----------+------+
== Nova instance flavors ==
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1  | m1.tiny   | 512       | 1    | 0         |      | 1     | 1.0         | True      |
| 2  | m1.small  | 2048      | 20   | 0         |      | 1     | 1.0         | True      |
| 3  | m1.medium | 4096      | 40   | 0         |      | 2     | 1.0         | True      |
| 4  | m1.large  | 8192      | 80   | 0         |      | 4     | 1.0         | True      |
| 5  | m1.xlarge | 16384     | 160  | 0         |      | 8     | 1.0         | True      |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
== Nova instances ==
+--------------------------------------+--------+--------+------------+-------------+----------+
| ID                                   | Name   | Status | Task State | Power State | Networks |
+--------------------------------------+--------+--------+------------+-------------+----------+
| 89af466b-9662-46ce-9f8b-c107b3e4040c | admin1 | ERROR  | -          | NOSTATE     |          |
+--------------------------------------+--------+--------+------------+-------------+----------+

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

My Question is:

Once I'm try to create instance through demo, admin or any user instance have no stat and error (NOSTATE) and I'm when Im try to delete the instance i have authentication error, on nova.compute.manager

2015-09-16 18:10:41.920 11726 TRACE nova.compute.manager [instance: ea60a46d-3dae-41c8-9b3c-d8cff5c554ee] ConnectionRefused: Unable to establish connection to http://contoller:35357/v2.0/tokens

I'm bit confuse in all nova compute and controller I'm not configure authentication url as (http://controller:35357/v2.0/tokens ????

your advice please

2015-09-16 18:09:40.894 11726 INFO nova.compute.resource_tracker [req-29d8e48d-9e7b-435e-b8cf-1b55bd6d5a59 - - - - -] Compute_service record updated for compute:compute
2015-09-16 18:10:41.384 11726 INFO nova.compute.resource_tracker [req-29d8e48d-9e7b-435e-b8cf-1b55bd6d5a59 - - - - -] Auditing locally available compute resources for node compute
2015-09-16 18:10:41.556 11726 INFO nova.compute.resource_tracker [req-29d8e48d-9e7b-435e-b8cf-1b55bd6d5a59 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0
2015-09-16 18:10:41.557 11726 INFO nova.compute.resource_tracker [req-29d8e48d-9e7b-435e-b8cf-1b55bd6d5a59 ...
(more)
edit retag flag offensive close merge delete

Comments

Dear All,

The issue resolve it's was typo mistake at /etc/nova/nova.conf at compute node on parameter Typo mistake url = http://contoller:9696 correct one url = http://controller:9696

Regards,

Hosam gravatar imageHosam ( 2015-09-17 05:54:27 -0500 )edit