Run the following commands:
Log into your VM as stack user
Issue the following commands:
cd devstack source openrc admin admin nova --debug list
Trace and document the code path that is taken from 'nova client' to 'nova server' for this list command to work. The nova client code is located at
/opt/stack/python-novaclientand the nova server code is loctaed at/opt/stack/nova/nova.Check the client.py file in python-novaclient/novaclient/[nova version]/client.py
Check the shell.py file in python-novaclient/novaclient/[nova version]/shell.py
The command for checking the endpoint URLs is:
keystone endpoint-list keystone service-list
Find the method (function) that nova list calls
Nova and Keystone Documentation:
To check if code has been modified from when it was checked out:
git status (in the source directory of the particular component) git diff <filename> (This will give you differences from the original version of the file)
Debugging Hints are at https://github.com/UTSA-ICS/devstack-101/blob/master/Debugging%20hints.rst