> 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 following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
