← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1944042] [NEW] Failed to delete compute service with ID 'xx': Unexpected API Error.

 

Public bug reported:

OpenStack Victoria.
CentOS 8.

My compute host (kvm-gpu-node1) has been destroyed. Now I am trying to
delete this host but I am getting an error.

```
[root@controller01 ~]# openstack compute service list --service nova-compute --host kvm-gpu-node1
+----+--------------+---------------+------+----------+-------+----------------------------+
| ID | Binary       | Host          | Zone | Status   | State | Updated At                 |
+----+--------------+---------------+------+----------+-------+----------------------------+
| 23 | nova-compute | kvm-gpu-node1 | nova | disabled | down  | 2021-09-18T11:08:16.000000 |
+----+--------------+---------------+------+----------+-------+----------------------------+
```

I try to delete and I get an error:

Failed to delete compute service with ID '23': Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'ValueError'> (HTTP 500) (Request-ID: req-75d0a75b-7f64-4182-a931-974b371ef7aa)


During an attempt to delete a service, such errors are displayed in the nova-api.log https://pastebin.com/2LDtW5vV

What is the way to delete this host?

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

  OpenStack Victoria.
  CentOS 8.
  
  My compute host (kvm-gpu-node1) has been destroyed. Now I am trying to
  delete this host but I am getting an error.
  
  ```
  [root@controller01 ~]# openstack compute service list --service nova-compute --host kvm-gpu-node1
  +----+--------------+---------------+------+----------+-------+----------------------------+
  | ID | Binary       | Host          | Zone | Status   | State | Updated At                 |
  +----+--------------+---------------+------+----------+-------+----------------------------+
  | 23 | nova-compute | kvm-gpu-node1 | nova | disabled | down  | 2021-09-18T11:08:16.000000 |
  +----+--------------+---------------+------+----------+-------+----------------------------+
- ``` 
+ ```
  
- During an attempt to delete a service, such errors are displayed in the
- nova-api.log https://pastebin.com/2LDtW5vV
+ I try to delete and I get an error:
+ 
+ Failed to delete compute service with ID '23': Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
+ <class 'ValueError'> (HTTP 500) (Request-ID: req-75d0a75b-7f64-4182-a931-974b371ef7aa)
+ 
+ 
+ During an attempt to delete a service, such errors are displayed in the nova-api.log https://pastebin.com/2LDtW5vV
  
  What is the way to delete this host?

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

Title:
  Failed to delete compute service with ID 'xx': Unexpected API Error.

Status in OpenStack Compute (nova):
  New

Bug description:
  OpenStack Victoria.
  CentOS 8.

  My compute host (kvm-gpu-node1) has been destroyed. Now I am trying to
  delete this host but I am getting an error.

  ```
  [root@controller01 ~]# openstack compute service list --service nova-compute --host kvm-gpu-node1
  +----+--------------+---------------+------+----------+-------+----------------------------+
  | ID | Binary       | Host          | Zone | Status   | State | Updated At                 |
  +----+--------------+---------------+------+----------+-------+----------------------------+
  | 23 | nova-compute | kvm-gpu-node1 | nova | disabled | down  | 2021-09-18T11:08:16.000000 |
  +----+--------------+---------------+------+----------+-------+----------------------------+
  ```

  I try to delete and I get an error:

  Failed to delete compute service with ID '23': Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'ValueError'> (HTTP 500) (Request-ID: req-75d0a75b-7f64-4182-a931-974b371ef7aa)

  
  During an attempt to delete a service, such errors are displayed in the nova-api.log https://pastebin.com/2LDtW5vV

  What is the way to delete this host?

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



Follow ups