Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Instance Creation Failing: "Could not open backing file"
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- Instance creation is failing with the following error.
xxxxxxxxxxCould not open backing file: Could not open '/opt/pf9/data/instances/_base/[UUID]': Permission denied- AppArmor is installed/enabled on the hypervisor.
Environment
- Platform9 Managed OpenStack - All Versions
- Nova
- Libvirt
- AppArmor
Cause
The default AppArmor profile for Libvirt does not include access to the instance storage path; thus, the I/O request is blocked.
Resolution
- Append the following lines to the AppArmor configuration at
/etc/apparmor.d/usr.lib.libvirt.virt-aa-helper.
xxxxxxxxxx/opt/pf9/data/instances/_base/** r, /opt/pf9/data/instances/** rw,- Parse the updated rules.
xxxxxxxxxx# apparmor_parser -r /etc/apparmor.d/usr.lib.libvirt.virt-aa-helperAdditional Information
Debian – #892431 AppArmor denies access for libvirt to nova instances directory
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Next to read:
No Connectivity to Docker Containers Within InstanceDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message