> For the complete documentation index, see [llms.txt](https://platform9.com/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform9.com/kb/pmo/solution/instance-creation-failed-due-to-erroneous-volume.md).

# Instance Creation Failed due to erroneous volume

## Problem

* Failed to create Instance due to volume being in error state.
* Instance stuck in the `BUILD` state during creation with the error mentioned below.

{% tabs %}
{% tab title="Nova Logs" %}

```javascript
2022-06-27 16:34:20.543 TRACE nova.compute.manager [instance: f788fd93-XXXX-XXXX-XXXX-XXXXXXXXfd56] nova.exception.VolumeNotCreated: Volume b52a7258-XXXX-XXXX-XXXX-XXXX9c74 did not finish being created even after we waited 65 seconds or 9 attempts. And its status is error.
```

{% endtab %}
{% endtabs %}

Environment

* Platform9 Managed OpenStack - All versions
* Nova
* Cinder - Fiber Channel (FC)

## Cause

* The error mentioned below found to be associated with the volume that got stuck in the ERROR state during creation.

{% tabs %}
{% tab title="Cinder Logs" %}

```javascript
2022-06-27 13:26:14.081 ERROR cinder.volume.utils [req-0d000c85-41af-4607-adec-67cfa4fa3f90 None transition1] Failed to copy image 13d05b01-XXXX-XXXX-XXXX-XXXXXXXXb40e to volume: 4de501bb-XXXX-XXXX-XXXX-XXXXXXXXd96a: os_brick.exception.NoFibreChannelVolumeDeviceFound: Unable to find a Fibre Channel volume device.
2022-06-27 13:26:15.032 ERROR cinder.volume.flows.manager.create_volume [req-0d000c85-41af-4607-adec-67cfa4fa3f90 None transition1] Volume 4de501bb-XXXX-XXXX-XXXX-XXXXXXXXd96a: create failed
```

{% endtab %}
{% endtabs %}

* The error indicates that the volume creation failed as cinder plugin was not able to find the associated `Fiber Channel Volume` at the backend SAN/NAS Storage .

## Resolution

* Try to check the Fiber Channel Connectivity with backend `SAN/NAS` storage through `SAN` or `Ethernet` switch with the storage team assistance.
* If no connectivity or hardware issues are found then try to manually attach a test FC volume from same `SAN/NAS` storage to the `Cinder` Host.


---

# 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, and the optional `goal` query parameter:

```
GET https://platform9.com/kb/pmo/solution/instance-creation-failed-due-to-erroneous-volume.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
