Platform9 Generic
Latest
Frequently Asked Questions
How To
Solution
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?
Running openstack recordset list Command Fails
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
Running openstack recordset list <RecordSet> command fails with following error:
Bash
$ openstack recordset list <recordSet>Unable to establish connection to http://127.0.0.1:9001/v2/zones?name=<RecordSet>: HTTPConnectionPool(host='127.0.0.1', port=9001): Max retries exceeded with url: /v2/zones?name=<recordSets> (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa23ce9b5d0>: Failed to establish a new connection: [Errno 111] Connection refused',))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
- Deactivate the current virtual environment:
Bash
xxxxxxxxxxdeactivate- Create a virtual environment with Python3 and activate it:
Bash
xxxxxxxxxxvirtualenv -p python3.6 pf9-openstacksource pf9-openstack/bin/activate- Upgrade pip and then install openstackclient & designateclient:
Bash
x
pip install --upgrade pip pip install python-openstackclient python-designateclient -c https://raw.githubusercontent.com/openstack/requirements/stable/ussuri/upper-constraints.txtNote: If the virtualenv binary doesn’t exist, install it with following command :
Bash
xxxxxxxxxxapt install virtualenv -y##
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:
How To Identify If Underlying Disk is HDD or SSD?Discard 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