# Live Migration Fails Due to RPC Timeout

## Problem

Attempts to perform a live migration of an instance fail with an error similar to the below on the source host.

{% tabs %}
{% tab title="None" %}

```none
ERROR nova.compute.manager Pre live migration failed at fea5e264-bfb1-40cd-b1f0-d247845071af...TRACE nova.compute.manager MessagingTimeout: Timed out waiting for a reply to message ID f1e35e10f7c445e3810a115dc3204a24
```

{% endtab %}
{% endtabs %}

## Environment

* Platform9 Managed OpenStack - All Versions
* Volume-Backed Storage

## Cause

Attempting a live migration of an instance with multiple attached volumes may fail pre-migration checks due to an RPC timeout.

## Resolution

1. Increase the default RPC timeout of 60 seconds using an override in */opt/pf9/etc/nova/conf.d/nova\_override.conf*, as shown here.

{% tabs %}
{% tab title="None" %}

```none
[DEFAULT]rpc_response_timeout = 120
```

{% endtab %}
{% endtabs %}

2. Restart the ***pf9-ostackhost*** service.

{% tabs %}
{% tab title="None" %}

```none
# systemctl restart pf9-ostackhost
```

{% endtab %}
{% endtabs %}

3. Retry the migration operation and further increase the RPC timeout if necessary.

## Additional Information

For more information on Nova configuration options, please refer to the following OpenStack documentation.

[Nova (Pike) Configuration Options](https://docs.openstack.org/nova/pike/configuration/config.html)


---

# Agent Instructions: 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://platform9.com/kb/pmo/solution/live-migration-fails-due-to-rpc-timeout.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.
