Public bug reported:

{
  "server": {
    "id": "61f14c91-d8da-44da-b7c0-96a076223692",
    "name": "tempest-UnshelveToHostMultiNodesTest-server-315369380",
    "status": "ACTIVE",    ## <---------------------------------------
    "tenant_id": "593e419dc31b4918ab810919838d0deb",
    "user_id": "4928347555cf465a95a11362addae648",
    "metadata": {},
    "hostId": "",
    "image": {
      "id": "76dbcff9-5149-4590-8130-6ac5332731b6",
      "links": [
        {
          "rel": "bookmark",
          "href": 
"https://10.0.18.136/compute/images/76dbcff9-5149-4590-8130-6ac5332731b6";
        }
      ]
    },
    "flavor": {
      "vcpus": 1,
      "ram": 192,
      "disk": 1,
      "ephemeral": 0,
      "swap": 0,
      "original_name": "m1.nano",
      "extra_specs": {
        "hw_rng:allowed": "True"
      }
    },
    "created": "2024-10-11T16:39:52Z",
    "updated": "2024-10-11T16:40:51Z",
    "addresses": {},
    "accessIPv4": "",
    "accessIPv6": "",
    "links": [
      {
        "rel": "self",
        "href": 
"https://10.0.18.136/compute/v2.1/servers/61f14c91-d8da-44da-b7c0-96a076223692";
      },
      {
        "rel": "bookmark",
        "href": 
"https://10.0.18.136/compute/servers/61f14c91-d8da-44da-b7c0-96a076223692";
      }
    ],
    "OS-DCF:diskConfig": "MANUAL",
    "progress": 0,
    "OS-EXT-AZ:availability_zone": "",
    "config_drive": "True",
    "key_name": null,
    "OS-SRV-USG:launched_at": "2024-10-11T16:40:50.000000",
    "OS-SRV-USG:terminated_at": null,
    "OS-EXT-SRV-ATTR:host": null,  ## <-----------------------------------------
    "OS-EXT-SRV-ATTR:instance_name": "instance-0000000b",
    "OS-EXT-SRV-ATTR:hypervisor_hostname": null,
    "OS-EXT-SRV-ATTR:reservation_id": "r-twvaw7yx",
    "OS-EXT-SRV-ATTR:launch_index": 0,
    "OS-EXT-SRV-ATTR:hostname": 
"tempest-unshelvetohostmultinodestest-server-315369380",
    "OS-EXT-SRV-ATTR:kernel_id": "",
    "OS-EXT-SRV-ATTR:ramdisk_id": "",
    "OS-EXT-SRV-ATTR:root_device_name": "/dev/vda",
    "OS-EXT-SRV-ATTR:user_data": null,
    "OS-EXT-STS:task_state": null,
    "OS-EXT-STS:vm_state": "active",
    "OS-EXT-STS:power_state": 1,
    "os-extended-volumes:volumes_attached": [],
    "host_status": "",
    "locked": false,
    "locked_reason": null,
    "description": null,
    "tags": [],
    "trusted_image_certificates": null,
    "server_groups": []
  }
}

After an unshelve to specific host nova reports that the VM is active
but the host is empty. That should not happen.

It is visible in tempest executions randomly. E.g.
https://219c21f0d93c3f0999a0-b2aa11a8e0c554ee7a8f8052466e6a93.ssl.cf2.rackcdn.com/928590/6/check/nova-
next/0f822c2/testr_results.html

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: compute shelve

** Project changed: openstacksdk => nova

** Tags added: compute shelve

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

Title:
  unshelve to specific host produce inconsistent instance state

Status in OpenStack Compute (nova):
  New

Bug description:
  {
    "server": {
      "id": "61f14c91-d8da-44da-b7c0-96a076223692",
      "name": "tempest-UnshelveToHostMultiNodesTest-server-315369380",
      "status": "ACTIVE",    ## <---------------------------------------
      "tenant_id": "593e419dc31b4918ab810919838d0deb",
      "user_id": "4928347555cf465a95a11362addae648",
      "metadata": {},
      "hostId": "",
      "image": {
        "id": "76dbcff9-5149-4590-8130-6ac5332731b6",
        "links": [
          {
            "rel": "bookmark",
            "href": 
"https://10.0.18.136/compute/images/76dbcff9-5149-4590-8130-6ac5332731b6";
          }
        ]
      },
      "flavor": {
        "vcpus": 1,
        "ram": 192,
        "disk": 1,
        "ephemeral": 0,
        "swap": 0,
        "original_name": "m1.nano",
        "extra_specs": {
          "hw_rng:allowed": "True"
        }
      },
      "created": "2024-10-11T16:39:52Z",
      "updated": "2024-10-11T16:40:51Z",
      "addresses": {},
      "accessIPv4": "",
      "accessIPv6": "",
      "links": [
        {
          "rel": "self",
          "href": 
"https://10.0.18.136/compute/v2.1/servers/61f14c91-d8da-44da-b7c0-96a076223692";
        },
        {
          "rel": "bookmark",
          "href": 
"https://10.0.18.136/compute/servers/61f14c91-d8da-44da-b7c0-96a076223692";
        }
      ],
      "OS-DCF:diskConfig": "MANUAL",
      "progress": 0,
      "OS-EXT-AZ:availability_zone": "",
      "config_drive": "True",
      "key_name": null,
      "OS-SRV-USG:launched_at": "2024-10-11T16:40:50.000000",
      "OS-SRV-USG:terminated_at": null,
      "OS-EXT-SRV-ATTR:host": null,  ## 
<-----------------------------------------
      "OS-EXT-SRV-ATTR:instance_name": "instance-0000000b",
      "OS-EXT-SRV-ATTR:hypervisor_hostname": null,
      "OS-EXT-SRV-ATTR:reservation_id": "r-twvaw7yx",
      "OS-EXT-SRV-ATTR:launch_index": 0,
      "OS-EXT-SRV-ATTR:hostname": 
"tempest-unshelvetohostmultinodestest-server-315369380",
      "OS-EXT-SRV-ATTR:kernel_id": "",
      "OS-EXT-SRV-ATTR:ramdisk_id": "",
      "OS-EXT-SRV-ATTR:root_device_name": "/dev/vda",
      "OS-EXT-SRV-ATTR:user_data": null,
      "OS-EXT-STS:task_state": null,
      "OS-EXT-STS:vm_state": "active",
      "OS-EXT-STS:power_state": 1,
      "os-extended-volumes:volumes_attached": [],
      "host_status": "",
      "locked": false,
      "locked_reason": null,
      "description": null,
      "tags": [],
      "trusted_image_certificates": null,
      "server_groups": []
    }
  }

  After an unshelve to specific host nova reports that the VM is active
  but the host is empty. That should not happen.

  It is visible in tempest executions randomly. E.g.
  
https://219c21f0d93c3f0999a0-b2aa11a8e0c554ee7a8f8052466e6a93.ssl.cf2.rackcdn.com/928590/6/check/nova-
  next/0f822c2/testr_results.html

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to