Ask Your Question

toxickore's profile - activity

2016-06-23 12:34:11 -0600 received badge  Enthusiast
2016-06-22 17:55:11 -0600 commented question $ openstack service create \ > --name keystone --description "OpenStack Identity" identity The request you have made requires authentication. (HTTP 401) (Request-ID: req-d652ffa9-ceb6-41c8-87d6-3a8bff5033cf)

Having the same issue with kilo and Ubuntu 15.10

2016-06-22 08:49:41.456898 2016-06-22 08:49:41.455 10038 WARNING keystone.common.wsgi [req-5bbaf6e7-a775-4623-9278-61b13b5f2365 - - - - -] Authorization failed. The request you have made requires authentication. from 127.0.0.1

2015-12-13 17:59:10 -0600 received badge  Famous Question (source)
2015-11-28 01:52:17 -0600 received badge  Notable Question (source)
2015-11-27 11:24:22 -0600 answered a question Cannot delete instances using "nova delete <instance id>"

After checking my neutron configurations. I figured out that the [neutron] tag on my controller node /etc/nova/nova.conf was not specified. I had only the contents but not the tag. I have included the [neutron] tag and restarted the neutron services, the error changed but I think that's out of the scope of this question.

My guess is that nova was trying to use the default hostname for neutron since it was not defined.

2015-11-26 16:25:52 -0600 received badge  Popular Question (source)
2015-11-26 08:52:58 -0600 commented answer Cannot delete instances using "nova delete <instance id>"

Actually the VMs never reachs the active state since they have an error before being launched.

2015-11-26 08:52:11 -0600 commented answer Cannot delete instances using "nova delete <instance id>"

On the controller node # netstat -ntlp | grep 9696 tcp 0 0 0.0.0.0:9696 0.0.0.0:* LISTEN 39383/python How am I sure that the neutron server is running? I ran ps -ef | grep neutron and I have lots of processes related with neutron on the network node

2015-11-25 19:28:36 -0600 asked a question Cannot delete instances using "nova delete <instance id>"

I'm creating instances on a kilo openstack release using the kilo ubuntu installation guide from openstack. One controller, one compute and one network node.

I can launch an instance from the dashboard, and then the instance have an ERROR status:

~# nova show 0dadc0d0-cf5e-492f-8896-deb907d80075 | grep status
| status                               | ERROR                                                                                                                                                                                                                                                               |

Since the image is still shown while doing a nova list, I'm trying to delete them.

~# nova list
+--------------------------------------+-----------+--------+------------+-------------+----------+
| ID                                   | Name      | Status | Task State | Power State | Networks |
+--------------------------------------+-----------+--------+------------+-------------+----------+
| 0dadc0d0-cf5e-492f-8896-deb907d80075 | example00 | ERROR  | -          | NOSTATE     |          |
| 19937fde-3a8a-410f-8b06-9c5fb3fc686c | example01 | ERROR  | -          | NOSTATE     |          |
| d3ab4faf-e888-4b4c-86a4-63e09248752b | example03 | ERROR  | -          | NOSTATE     |          |
| 38e7b547-fd5f-4b45-b0ab-2910b01e3e10 | example04 | ERROR  | -          | NOSTATE     |          |
+--------------------------------------+-----------+--------+------------+-------------+----------+
~# nova delete 0dadc0d0-cf5e-492f-8896-deb907d80075
Request to delete server 0dadc0d0-cf5e-492f-8896-deb907d80075 has been accepted.

But the instance is still there after some minutes or hours. The nova show is giving me the following output:

| created                              | 2015-11-23T19:51:24Z                                                                                                                                                                                                                                                |
| fault                                | {"message": "Unable to establish connection to http://127.0.0.1:9696/v2.0/ports.json?device_id=0dadc0d0-cf5e-492f-8896-deb907d80075", "code": 500, "details": "  File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 349, in decorated_function |
|                                      |     return function(self, context, *args, **kwargs)                                                                                                                                                                                                                 |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2768, in terminate_instance                                                                                                                                                               |
|                                      |     do_terminate_instance(instance, bdms)                                                                                                                                                                                                                           |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py\", line 445, in inner                                                                                                                                                                       |
|                                      |     return f(*args, **kwargs)                                                                                                                                                                                                                                       |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2766, in do_terminate_instance                                                                                                                                                            |
|                                      |     self._set_instance_error_state(context, instance)                                                                                                                                                                                                               |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py\", line 85, in __exit__

What's the component I shall check for configuration? oviously is related with the line with Unable to establish connection to http://127.0.0.1:9696/v2.0/ports.json?device_id=0dadc0d0-cf5e-492f-8896-deb907d80075

Is this for nova?

Thanks in advance.