← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1370088] [NEW] admin is getting: You are not allowed to terminate instances

 

Public bug reported:

I am getting a permission error on deleting of instances as user admin:

Error: You are not allowed to terminate instances: Dafna-763bb301-33da-
47d2-bb90-e83edb1199f1, Dafna-c8c9e379-8c1c-40fd-a7a9-f57cfeed072d,
Dafna-ab9aae09-d551-453c-b2ed-d40ba97a78dc,
Dafna-04267001-c7f2-4b74-ba81-f26f7846294d, Dafna-a44b71a0-b4f2-4223
-a0ac-e84c094ce23f, Dafna-a6fdb7aa-14ed-4b60-90c0-f144fc4eaf87, Dafna-
37795fc3-1d1a-40bb-9290-92f5938d017e, Dafna-2defb0fa-5057-4cb7-b60d-
bdf69629af85, Dafna-6b05e4f8-4b5f-4125-93ab-4cc4082116bb, Dafna-
49f6e328-9384-465b-b7b9-af51ae555c17


the instances in nova list did change to deleting and after a while were actually deleted. 
It took two UI refreshes to show the correct list


root@tigris01 ~(keystone_admin)]# nova list 
+--------------------------------------+--------------------------------------------+--------+------------+-------------+----------+
| ID                                   | Name                                       | Status | Task State | Power State | Networks |
+--------------------------------------+--------------------------------------------+--------+------------+-------------+----------+
| 04267001-c7f2-4b74-ba81-f26f7846294d | Dafna-04267001-c7f2-4b74-ba81-f26f7846294d | BUILD  | deleting   | NOSTATE     |          |
| 2defb0fa-5057-4cb7-b60d-bdf69629af85 | Dafna-2defb0fa-5057-4cb7-b60d-bdf69629af85 | BUILD  | deleting   | NOSTATE     |          |
| 37795fc3-1d1a-40bb-9290-92f5938d017e | Dafna-37795fc3-1d1a-40bb-9290-92f5938d017e | BUILD  | deleting   | NOSTATE     |          |
| 49f6e328-9384-465b-b7b9-af51ae555c17 | Dafna-49f6e328-9384-465b-b7b9-af51ae555c17 | BUILD  | deleting   | NOSTATE     |          |
| 6b05e4f8-4b5f-4125-93ab-4cc4082116bb | Dafna-6b05e4f8-4b5f-4125-93ab-4cc4082116bb | BUILD  | deleting   | NOSTATE     |          |
| 763bb301-33da-47d2-bb90-e83edb1199f1 | Dafna-763bb301-33da-47d2-bb90-e83edb1199f1 | BUILD  | deleting   | NOSTATE     |          |
| a44b71a0-b4f2-4223-a0ac-e84c094ce23f | Dafna-a44b71a0-b4f2-4223-a0ac-e84c094ce23f | BUILD  | deleting   | NOSTATE     |          |
| a6fdb7aa-14ed-4b60-90c0-f144fc4eaf87 | Dafna-a6fdb7aa-14ed-4b60-90c0-f144fc4eaf87 | BUILD  | deleting   | NOSTATE     |          |
| ab9aae09-d551-453c-b2ed-d40ba97a78dc | Dafna-ab9aae09-d551-453c-b2ed-d40ba97a78dc | BUILD  | deleting   | NOSTATE     |          |
| c8c9e379-8c1c-40fd-a7a9-f57cfeed072d | Dafna-c8c9e379-8c1c-40fd-a7a9-f57cfeed072d | BUILD  | deleting   | NOSTATE     |          |
+--------------------------------------+--------------------------------------------+--------+------------+-------------+----------+


[root@tigris01 ~(keystone_admin)]# nova list 
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
[root@tigris01 ~(keystone_admin)]# 

here is grep on one of the instances from the logs:

http://fpaste.org/133921/

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  admin is getting: You are not allowed to terminate instances

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I am getting a permission error on deleting of instances as user
  admin:

  Error: You are not allowed to terminate instances: Dafna-763bb301
  -33da-47d2-bb90-e83edb1199f1, Dafna-c8c9e379-8c1c-40fd-
  a7a9-f57cfeed072d, Dafna-ab9aae09-d551-453c-b2ed-d40ba97a78dc,
  Dafna-04267001-c7f2-4b74-ba81-f26f7846294d, Dafna-a44b71a0-b4f2-4223
  -a0ac-e84c094ce23f, Dafna-a6fdb7aa-14ed-4b60-90c0-f144fc4eaf87, Dafna-
  37795fc3-1d1a-40bb-9290-92f5938d017e, Dafna-2defb0fa-5057-4cb7-b60d-
  bdf69629af85, Dafna-6b05e4f8-4b5f-4125-93ab-4cc4082116bb, Dafna-
  49f6e328-9384-465b-b7b9-af51ae555c17


  the instances in nova list did change to deleting and after a while were actually deleted. 
  It took two UI refreshes to show the correct list

  
  root@tigris01 ~(keystone_admin)]# nova list 
  +--------------------------------------+--------------------------------------------+--------+------------+-------------+----------+
  | ID                                   | Name                                       | Status | Task State | Power State | Networks |
  +--------------------------------------+--------------------------------------------+--------+------------+-------------+----------+
  | 04267001-c7f2-4b74-ba81-f26f7846294d | Dafna-04267001-c7f2-4b74-ba81-f26f7846294d | BUILD  | deleting   | NOSTATE     |          |
  | 2defb0fa-5057-4cb7-b60d-bdf69629af85 | Dafna-2defb0fa-5057-4cb7-b60d-bdf69629af85 | BUILD  | deleting   | NOSTATE     |          |
  | 37795fc3-1d1a-40bb-9290-92f5938d017e | Dafna-37795fc3-1d1a-40bb-9290-92f5938d017e | BUILD  | deleting   | NOSTATE     |          |
  | 49f6e328-9384-465b-b7b9-af51ae555c17 | Dafna-49f6e328-9384-465b-b7b9-af51ae555c17 | BUILD  | deleting   | NOSTATE     |          |
  | 6b05e4f8-4b5f-4125-93ab-4cc4082116bb | Dafna-6b05e4f8-4b5f-4125-93ab-4cc4082116bb | BUILD  | deleting   | NOSTATE     |          |
  | 763bb301-33da-47d2-bb90-e83edb1199f1 | Dafna-763bb301-33da-47d2-bb90-e83edb1199f1 | BUILD  | deleting   | NOSTATE     |          |
  | a44b71a0-b4f2-4223-a0ac-e84c094ce23f | Dafna-a44b71a0-b4f2-4223-a0ac-e84c094ce23f | BUILD  | deleting   | NOSTATE     |          |
  | a6fdb7aa-14ed-4b60-90c0-f144fc4eaf87 | Dafna-a6fdb7aa-14ed-4b60-90c0-f144fc4eaf87 | BUILD  | deleting   | NOSTATE     |          |
  | ab9aae09-d551-453c-b2ed-d40ba97a78dc | Dafna-ab9aae09-d551-453c-b2ed-d40ba97a78dc | BUILD  | deleting   | NOSTATE     |          |
  | c8c9e379-8c1c-40fd-a7a9-f57cfeed072d | Dafna-c8c9e379-8c1c-40fd-a7a9-f57cfeed072d | BUILD  | deleting   | NOSTATE     |          |
  +--------------------------------------+--------------------------------------------+--------+------------+-------------+----------+


  [root@tigris01 ~(keystone_admin)]# nova list 
  +----+------+--------+------------+-------------+----------+
  | ID | Name | Status | Task State | Power State | Networks |
  +----+------+--------+------------+-------------+----------+
  +----+------+--------+------------+-------------+----------+
  [root@tigris01 ~(keystone_admin)]# 

  here is grep on one of the instances from the logs:

  http://fpaste.org/133921/

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


Follow ups

References