trove guests don't launch; error in keystone import

Bug #1620546 reported by Amrith Kumar on 2016-09-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trove Integration
Critical
Amrith Kumar

Bug Description

2016-09-06 09:59:58.742 CRITICAL root [-] ImportError: No module named keystoneclient.service_catalog

2016-09-06 09:59:58.742 TRACE root Traceback (most recent call last):
2016-09-06 09:59:58.742 TRACE root File "/home/amrith/trove/contrib/trove-guestagent", line 34, in <module>
2016-09-06 09:59:58.742 TRACE root sys.exit(main())
2016-09-06 09:59:58.742 TRACE root File "/home/amrith/trove/trove/cmd/guest.py", line 62, in main
2016-09-06 09:59:58.742 TRACE root rpc_api_version=rpc_version.RPC_API_VERSION)
2016-09-06 09:59:58.742 TRACE root File "/home/amrith/trove/trove/common/rpc/service.py", line 47, in __init__
2016-09-06 09:59:58.742 TRACE root _manager = importutils.import_object(manager)
2016-09-06 09:59:58.742 TRACE root File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 44, in import_object
2016-09-06 09:59:58.742 TRACE root return import_class(import_str)(*args, **kwargs)
2016-09-06 09:59:58.742 TRACE root File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 30, in import_class
2016-09-06 09:59:58.742 TRACE root __import__(mod_str)
2016-09-06 09:59:58.742 TRACE root File "/home/amrith/trove/trove/guestagent/datastore/mysql/manager.py", line 20, in <module>
2016-09-06 09:59:58.742 TRACE root from trove.guestagent.datastore.mysql_common import manager
2016-09-06 09:59:58.742 TRACE root File "/home/amrith/trove/trove/guestagent/datastore/mysql_common/manager.py", line 31, in <module>
2016-09-06 09:59:58.742 TRACE root from trove.guestagent.datastore import manager
2016-09-06 09:59:58.742 TRACE root File "/home/amrith/trove/trove/guestagent/datastore/manager.py", line 33, in <module>
2016-09-06 09:59:58.742 TRACE root from trove.guestagent import guest_log
2016-09-06 09:59:58.742 TRACE root File "/home/amrith/trove/trove/guestagent/guest_log.py", line 27, in <module>
2016-09-06 09:59:58.742 TRACE root from trove.common.remote import create_swift_client
2016-09-06 09:59:58.742 TRACE root File "/home/amrith/trove/trove/common/remote.py", line 24, in <module>
2016-09-06 09:59:58.742 TRACE root from keystoneclient.service_catalog import ServiceCatalog
2016-09-06 09:59:58.742 TRACE root ImportError: No module named keystoneclient.service_catalog
2016-09-06 09:59:58.742 TRACE root

Amrith Kumar (amrith) on 2016-09-06
Changed in trove:
status: New → In Progress
milestone: none → next
Amrith Kumar (amrith) wrote :

Clearly something changed in the dependencies and nothing that is required in the guests seems to need keystone client.

As a result

http://logs.openstack.org/30/365430/3/check/gate-trove-functional-dsvm-mysql/b7a4de9/logs/devstack-gate-post_test_hook.txt.gz#_2016-09-06_01_35_12_739

you see that keystone client isn't getting installed.

On the other hand, in a previous (passing) build you see that it is.

http://logs.openstack.org/86/352786/13/check/gate-trove-functional-dsvm-mysql/4eb0bc9/logs/devstack-gate-post_test_hook.txt.gz#_2016-08-30_03_38_38_235

I have no idea what caused this to change but the fix is to get the client onto the guest. testing fix now.

Amrith Kumar (amrith) wrote :
affects: trove → trove-integration
Changed in trove-integration:
milestone: next → none
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers