> For the complete documentation index, see [llms.txt](https://chameleoncloud.gitbook.io/chi-in-a-box/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chameleoncloud.gitbook.io/chi-in-a-box/operations/troubleshooting/known-issues/nova-kvm.md).

# Nova (KVM)

### **Can't rename a Nova hypervisor node**

If the hostname on a Nova compute node changes, it can be very difficult to figure out how to "flush out" the old hostname. The system will cache it in some unexpected places. The following procedures should wipe it out. Importantly, existing service containers **must** be stopped and removed in order to prompt a recreate; otherwise the container will still have the hostname it was originally created with, which will be stale.

{% hint style="warning" %}
Ensure you have already set the hostname to its new value.
{% endhint %}

Run the following on the compute node:

```shell
for c in $(sudo docker container ls -a --filter name=nova --format "{{.Names}}"); do
  sudo docker stop $c && sudo docker rm $c
done
```

Run the following on the control node:

```shell
export OS_COMPUTE_API_VERSION=2.53
for uuid in $(openstack compute service list --service nova-compute -f value -c ID); do
  openstack compute service delete $uuid
  openstack resource provider delete $uuid
done
```

Finally, run the following on the deploy node:

```shell
./cc-ansible upgrade --tags nova
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chameleoncloud.gitbook.io/chi-in-a-box/operations/troubleshooting/known-issues/nova-kvm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
