[Yahoo-eng-team] [Bug 2006962] Re: Running instance not visible in project context

2023-02-23 Thread Remo Maurer
Was messing up some things. No Bug. Sorry

BR Remo

** Changed in: nova
   Status: New => Invalid

-- 
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/2006962

Title:
  Running instance not visible in project context

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  I'm running an Openstack cluster (ZED) with 3 controllers and 30
  worker nodes.

  The cluster has been created on Ocata. It has been upgraded to each
  newer version available.

  I have some old instances. They are running and doing their job.

  Doing: openstack server list --all-projects, the instance is listed

  
+++---+++---+
  | ID | Name   | Status
| Networks   | Image  | Flavor  
  |
  
+++---+++---+
  | df9871d8-efff-486d-aa9f-   | turtle | ACTIVE
| internal=10.0.3.82,| N/A (booted from volume)   | p1.project_turtle.1 
  |
  | 67681be25513   ||   
| xxx.xx.xxx.xxx || 
  |

  Doing: openstack server list --project
  5c41bffc00d54776a01c8c5173e9764c --print-empty, the instance is not
  listed

  ++--++--+---++
  | ID | Name | Status | Networks | Image | Flavor |
  ++--++--+---++
  ++--++--+---++

  Doing: openstack server show df9871d8-efff-486d-aa9f-67681be25513, you
  see, that the instance is assigned to the project
  5c41bffc00d54776a01c8c5173e9764c.

  +++
  | Field  | Value  |
  +++
  | OS-DCF:diskConfig  | AUTO   |
  | OS-EXT-AZ:availability_zone| nova   |
  | OS-EXT-SRV-ATTR:host   | apu-worker09.internal  |
  | OS-EXT-SRV-ATTR:hostname   | turtle |
  | OS-EXT-SRV-| apu-worker09.internal  |
  | ATTR:hypervisor_hostname   ||
  | OS-EXT-SRV-ATTR:instance_name  | instance-19e9  |
  | OS-EXT-SRV-ATTR:kernel_id  ||
  | OS-EXT-SRV-ATTR:launch_index   | 0  |
  | OS-EXT-SRV-ATTR:ramdisk_id ||
  | OS-EXT-SRV-ATTR:reservation_id | r-z6u1w4kw |
  | OS-EXT-SRV-ATTR:root_device_name   | /dev/vda   |
  | OS-EXT-SRV-ATTR:user_data  | None   |
  | OS-EXT-STS:power_state | Running|
  | OS-EXT-STS:task_state  | None   |
  | OS-EXT-STS:vm_state| active |
  | OS-SRV-USG:launched_at | 2020-05-18T11:32:31.00 |
  | OS-SRV-USG:terminated_at   | None   |
  | accessIPv4 ||
  | accessIPv6 ||
  | addresses  | internal=10.0.3.82, xxx.xx.xxx.xxx |
  | config_drive   ||
  | created| 2020-05-18T11:32:13Z   |
  | description| None   |
  | flavor | disk='200', ephemeral='0', , origi |
  || nal_name='p1.project_turtle.1',|
  || ram='16384', swap='0', vcpus='16'  |
  | hostId | 94b099c90d9b40e93ab62568a78b6e9098 |
  || ca7f78a1833ace100d127c |
  | host_status| UP |
  | id | df9871d8-efff-486d-aa9f-   |
  || 67681be25513   |
  | image  | N/A (booted from volume)   |
  | key_name   | rema   |
  | locked  

[Yahoo-eng-team] [Bug 2006962] [NEW] Running instance not visible in project context

2023-02-10 Thread Remo Maurer
Public bug reported:

I'm running an Openstack cluster (ZED) with 3 controllers and 30 worker
nodes.

The cluster has been created on Ocata. It has been upgraded to each
newer version available.

I have some old instances. They are running and doing their job.

Doing: openstack server list --all-projects, the instance is listed

+++---+++---+
| ID | Name   | Status| 
Networks   | Image  | Flavor
|
+++---+++---+
| df9871d8-efff-486d-aa9f-   | turtle | ACTIVE| 
internal=10.0.3.82,| N/A (booted from volume)   | p1.project_turtle.1   
|
| 67681be25513   ||   | 
xxx.xx.xxx.xxx ||   
|

Doing: openstack server list --project 5c41bffc00d54776a01c8c5173e9764c
--print-empty, the instance is not listed

++--++--+---++
| ID | Name | Status | Networks | Image | Flavor |
++--++--+---++
++--++--+---++

Doing: openstack server show df9871d8-efff-486d-aa9f-67681be25513, you
see, that the instance is assigned to the project
5c41bffc00d54776a01c8c5173e9764c.

+++
| Field  | Value  |
+++
| OS-DCF:diskConfig  | AUTO   |
| OS-EXT-AZ:availability_zone| nova   |
| OS-EXT-SRV-ATTR:host   | apu-worker09.internal  |
| OS-EXT-SRV-ATTR:hostname   | turtle |
| OS-EXT-SRV-| apu-worker09.internal  |
| ATTR:hypervisor_hostname   ||
| OS-EXT-SRV-ATTR:instance_name  | instance-19e9  |
| OS-EXT-SRV-ATTR:kernel_id  ||
| OS-EXT-SRV-ATTR:launch_index   | 0  |
| OS-EXT-SRV-ATTR:ramdisk_id ||
| OS-EXT-SRV-ATTR:reservation_id | r-z6u1w4kw |
| OS-EXT-SRV-ATTR:root_device_name   | /dev/vda   |
| OS-EXT-SRV-ATTR:user_data  | None   |
| OS-EXT-STS:power_state | Running|
| OS-EXT-STS:task_state  | None   |
| OS-EXT-STS:vm_state| active |
| OS-SRV-USG:launched_at | 2020-05-18T11:32:31.00 |
| OS-SRV-USG:terminated_at   | None   |
| accessIPv4 ||
| accessIPv6 ||
| addresses  | internal=10.0.3.82, xxx.xx.xxx.xxx |
| config_drive   ||
| created| 2020-05-18T11:32:13Z   |
| description| None   |
| flavor | disk='200', ephemeral='0', , origi |
|| nal_name='p1.project_turtle.1',|
|| ram='16384', swap='0', vcpus='16'  |
| hostId | 94b099c90d9b40e93ab62568a78b6e9098 |
|| ca7f78a1833ace100d127c |
| host_status| UP |
| id | df9871d8-efff-486d-aa9f-   |
|| 67681be25513   |
| image  | N/A (booted from volume)   |
| key_name   | rema   |
| locked | False  |
| locked_reason  | None   |
| name   | turtle |
| progress   | 0  |
| project_id | 053f39774bd741e7b84ee6367ff437f0   |
| properties ||
| security_groups| name='Allow_HTTP_HTTPS'