Running openstack recordset list Command Fails

Problem

Running openstack recordset list <RecordSet> command fails with following error:

Bash
Copy

Environment

  • Platform9 Managed OpenStack - All Versions
  • Ubuntu machine running OpenStack Client with Python 2.7 virtual environment

Cause

OpenStack Client was using Python 2.7

Resolution

  1. Deactivate the current virtual environment:
Bash
Copy
  1. Create a virtual environment with Python3 and activate it:
Bash
Copy
  1. Upgrade pip and then install openstackclient & designateclient:
Bash
Copy

Note: If the virtualenv binary doesn’t exist, install it with following command :

Bash
Copy

##

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard