> 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/smcp/solution/mplane-upgrade-vm-error-resizing-du-image-disk-exit-status.md).

# Management Plane Upgrade From v-5.3.0-1715805 to v-5.3.0-1762883 Failed with Error "error creating v

## Problem

Management Plane upgrade from v-5.3.0-1715805 to v-5.3.0-1762883 failed with error "error creating vm error resizing DU image disk exit status 1".

{% tabs %}
{% tab title="Failed Upgrade" %}

```none
$ /opt/pf9/airctl/airctl upgrade --disk /opt/pf9/airctl/du-v-5.3.0-1762883.qcow2 --config /opt/pf9/airctl/conf/airctl-config.yaml

rollback state directory: /tmp/airctl_backup_334347069
--- backing up management plane ---
backup saved to /tmp/airctl_backup_334347069/backup.tar.gz
--- deleting configuration state ---
--- moving old state file to /tmp/airctl_backup_334347069/state.yaml ---
--- saving VM XML to /tmp/airctl_backup_334347069/domain.xml ---
--- saving network XML to /tmp/airctl_backup_334347069/net.xml ---
--- deleting management plane ---
old disk image (will NOT be deleted): /opt/pf9/airctl/du.qcow2
old ISO image (will NOT be deleted): /home/xyz_admin/.airctl/cloud-init-2021-10-14T09:58:10Z.iso
done
--- creating new management plane ---
fatal error: failed to upgrade: error creating vm error resizing DU image disk exit status 1
```

{% endtab %}
{% endtabs %}

## Environment

* Platform9 Edge Cloud - v5.3 and Above

## Answer

The upgrade failed as *install.sh* was executed with *root* user and upgrade was executed with *non-root* user which resulted in conflicting permissions. On performing rollback and retrying the upgrade with correct file permissions, the upgrade succeeded.

{% tabs %}
{% tab title="Upgrade Success" %}

```none
$ /opt/pf9/airctl/airctl upgrade --disk /opt/pf9/airctl/du-v-5.3.0-1762883.qcow2 --config /opt/pf9/airctl/conf/airctl-config.yaml

rollback state directory: /tmp/airctl_backup_330328896
--- backing up management plane ---
backup saved to /tmp/airctl_backup_330328896/backup.tar.gz
--- deleting configuration state ---
--- moving old state file to /tmp/airctl_backup_330328896/state.yaml ---
--- saving VM XML to /tmp/airctl_backup_330328896/domain.xml ---
--- saving network XML to /tmp/airctl_backup_330328896/net.xml ---
--- deleting management plane ---
old disk image (will NOT be deleted): /opt/pf9/airctl/du.qcow2
old ISO image (will NOT be deleted): /home/xyz_admin/.airctl/cloud-init-2021-10-14T09:58:10Z.iso
done
--- creating new management plane ---
--- restoring from backup ---
starting management plane ...
preparing configuration database for restore operation ...
restoring configuration database ...
NTP settings migrated successfully                       
preparing management plane for restore operation ...
192.168.120.254] Error creating ssh client using ssh user : centos, retrying...
restoring main database ...                              
re-configuring the management plane ...
  44% |█████████████████                       |  [6m4s:10m8s]    
restore operation completed successfully                          
--- persisting configuration to disk ---
--- upgrade complete ---
upgrade done
```

{% endtab %}
{% endtabs %}

###


---

# 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/smcp/solution/mplane-upgrade-vm-error-resizing-du-image-disk-exit-status.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.
