VOPS0002: Restore fails with error "Failed to create port with request"

Symptom

A restore of an OpenStack instance fails if a network connection cannot be created for the restored instance.

The vsvrst.log file includes the following error:

Failed to create port with request [...]

Cause

This issue occurs when the user specified for the virtualization client does not have permission to create or delete network ports.

Resolution

The user specified for the virtualization client must meet one of the following conditions:

  • Have a admin role.

  • Own the network in the location where the instance is restored.

  • Have the ability to get network information and create, modify, and delete ports.

In Mitaka or Newton releases, you can use the following workaround to grant the necessary privileges to a non-admin user:

  1. Create a role named advsvc.

  2. Specify that the following operations are permitted for the role:

    • get_network

    • create_port

    • update_port

    • delete_port

  3. Assign the role to the non-admin user.

  4. Resubmit the restore job.

Loading...