VMware Cloud Community
RatnajitHCL
Contributor
Contributor

Nova command not working in VIO 2.0.3

Hi All,

We have VIO running in ESXi 6.0U2 envirnonment.

I am trying to get the list of VM list using nova command, but getting following error message,

I have prepared the environment on the management server by running

#source admin_rc.sh command

# nova --insecure image-list

No handlers could be found for logger "keystoneclient.auth.identity.generic.base"

ERROR (ConnectionRefused): Unable to establish connection to https://ab.abc.dc.e:5000/v2.0/tokens

Can you please help?

THanks

Ratnajit

0 Kudos
3 Replies
xiangfeiz
VMware Employee
VMware Employee

To run openstack clients from VIO management server, the internal VIP should be used. Try to source the same of cloudadmin.rc from the controller nodes and then run the nova command.

0 Kudos
RatnajitHCL
Contributor
Contributor

Hi,

Please note that we are using VIO 2.0.3 environment.

I have tried to run as suggested, when I tried on Controller01, following error was encountered,

pastedImage_0.png

Similar behaviour is also present when I try to run on Controller02,

pastedImage_0.png

Thanks

Ratnajit

0 Kudos
gjayavelu
VMware Employee
VMware Employee

This is a known issue: Bug #1525378 “password prompt broken with microversion discovery...” : Bugs : python-novaclient

2 options to resolve:

1. Use openstack CLI instead of nova OR

2. Instead of entering the password during the prompt, set the env variable OS_PASSWORD (note: not secure since it may show up on console history)

0 Kudos