← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1542333] [NEW] class 'keystoneclient.exceptions.Unauthorized

 

Public bug reported:

Hi,

I'm unable to launch instances via CLI or Horizon. I can get the same errors in nova-api.log via CLI or Horizon as well. I'm running openstack liberty on CentOS Linux release 7.2.1511 (Core) on 5 node (controller, compute1, block1, object1 , object2). Everything go well except router didn't crate but then I just downgrade iproute on controller:
 https://bugs.launchpad.net/neutron/+bug/1528977

I have use this guide: http://docs.openstack.org/liberty/install-guide-
rdo/

Now I can't create instance. I always get that error:

"class 'keystoneclient.exceptions.Unauthorized"


 [root@controller ~]# nova boot --flavor m1.tiny --image cirros --nic net-id=652f6452-7a66-476a-809b-df34ea1f78d2 \
>   --security-group default --key-name mykey public-instance
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneclient.exceptions.Unauthorized'> (HTTP 500) (Request-ID: req-447714f1-8daf-48db-b853-a7f0c634f468)
[root@controller ~]# 

[root@controller ~]# rpm -qa | grep nova
python-nova-12.0.1-1.el7.noarch
openstack-nova-novncproxy-12.0.1-1.el7.noarch
python-novaclient-2.30.1-1.el7.noarch
openstack-nova-conductor-12.0.1-1.el7.noarch
openstack-nova-console-12.0.1-1.el7.noarch
openstack-nova-cert-12.0.1-1.el7.noarch
openstack-nova-scheduler-12.0.1-1.el7.noarch
openstack-nova-common-12.0.1-1.el7.noarch
openstack-nova-api-12.0.1-1.el7.noarch
[root@controller ~]# 


There is more in attachment..... 

Expected result:

Instance is launched without error.

Actual result:

Instance does not launch and the reported errors are observed in the
nova-api.log file.

thanks

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "bug-nova-boot-instance.txt"
   https://bugs.launchpad.net/bugs/1542333/+attachment/4564538/+files/bug-nova-boot-instance.txt

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1542333

Title:
  class 'keystoneclient.exceptions.Unauthorized

Status in OpenStack Compute (nova):
  New

Bug description:
  Hi,

  I'm unable to launch instances via CLI or Horizon. I can get the same errors in nova-api.log via CLI or Horizon as well. I'm running openstack liberty on CentOS Linux release 7.2.1511 (Core) on 5 node (controller, compute1, block1, object1 , object2). Everything go well except router didn't crate but then I just downgrade iproute on controller:
   https://bugs.launchpad.net/neutron/+bug/1528977

  I have use this guide: http://docs.openstack.org/liberty/install-
  guide-rdo/

  Now I can't create instance. I always get that error:

  "class 'keystoneclient.exceptions.Unauthorized"

  
   [root@controller ~]# nova boot --flavor m1.tiny --image cirros --nic net-id=652f6452-7a66-476a-809b-df34ea1f78d2 \
  >   --security-group default --key-name mykey public-instance
  ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'keystoneclient.exceptions.Unauthorized'> (HTTP 500) (Request-ID: req-447714f1-8daf-48db-b853-a7f0c634f468)
  [root@controller ~]# 

  [root@controller ~]# rpm -qa | grep nova
  python-nova-12.0.1-1.el7.noarch
  openstack-nova-novncproxy-12.0.1-1.el7.noarch
  python-novaclient-2.30.1-1.el7.noarch
  openstack-nova-conductor-12.0.1-1.el7.noarch
  openstack-nova-console-12.0.1-1.el7.noarch
  openstack-nova-cert-12.0.1-1.el7.noarch
  openstack-nova-scheduler-12.0.1-1.el7.noarch
  openstack-nova-common-12.0.1-1.el7.noarch
  openstack-nova-api-12.0.1-1.el7.noarch
  [root@controller ~]# 

  
  There is more in attachment..... 

  Expected result:

  Instance is launched without error.

  Actual result:

  Instance does not launch and the reported errors are observed in the
  nova-api.log file.

  thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1542333/+subscriptions


Follow ups