IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

Cb Response: Error, "No Module Named cb.alliance.token_manager" During Restore

Cb Response: Error, "No Module Named cb.alliance.token_manager" During Restore

Environment

  • Cb Response: 6.2.2 - 6.2.3

Symptoms

Traceback (most recent call last): File "<string>", in <module> ImportError: No module named cb.alliance.token_manager

Cause

User is running the command found for version 6.2.2 while using version 6.2.3. The restore command has changed between version 6.2.2 and version 6.2.3.

Resolution

The equivalent restore command for version 6.2.3 is:

/usr/share/cb/virtualenv/bin/python -c "from cb.alliance.token_manager import SetupServerToken; SetupServerToken().set_server_token('/etc/cb/server.token')"

Additional Notes

Cb Response 6.2.2 Server Cluster Management Guide

Cb Response 6.2.3 Server / Cluster Management Guide

Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎08-28-2018
Views:
698
Contributors