Unsolved
This post is more than 5 years old
13 Posts
0
1679
The token is not generated by authentication service while trying to start Viprcli.profile
I have been trying to run Viprcli from the Viprcli directory
/usr/local/lib/python2.7/dist-packages/cinder/bin/viprcli-3.0-py2.7.egg/viprcli$ ./viprcli authenticate -u root -d /tmp/cinder
but I get the error
The token is not generated by authentication service.
Here Are my configurations:
[vipr-driver]
volume_driver = cinder.volume.drivers.emc.vipr.fc.EMCViPRFCDriver
volume_backend_name=EMCViPRFCDriver
vipr_hostname=coprhd1.domain.com
vipr_port=4443
vipr_username=root
vipr_password=
vipr_tenant=OpenStack admin
vipr_project=vProject
vipr_varray=vArray
vipr_cookiedir=/tmp/cinder
vipr_emulate_snapshot= True
#vipr_security_file=
rpc_response_timeout=300
[keystone_authtoken]
auth_uri = http://keystoneip:5000/v2.0
auth_url = http://keystoneip:35357/v2.0
admin_tenant_name = services
admin_user = cinder_cinderv2
admin_password = HnXg6Ht234Lb92j9789w5jFhs3btLqXYVkYh9JRWTVcxL26JzrWPNgkBcFkpgXyx
signing_dir = /var/cache/cinder
I have followed this guide: https://github.com/emcvipr/controller-openstack-cinder to integrate vipr. Any Help on the matter would be highly appreciated. Please let me know if further information is required.
PS. I'm running OpenStack Kilo.
FoolInTheRain
123 Posts
1
September 26th, 2016 12:00
I'm not an expert, but check your viprcli.profile and make sure the is set to a valid value.
kernelzilla
17 Posts
1
September 26th, 2016 12:00
The ViPR CLI auth issues are not related to OpenStack Cinder's configuration, they are completely separate. It looks like you are running ViPR CLI from the cinder host, so you will need to make sure the following environment variables required by the CLI are set:
VIPR_CLI_INSTALL_DIR=
VIPR_HOSTNAME=
VIPR_PORT=4443
VIPR_UI_PORT=443
The first two need to be updated to reflect your environment (where you install the CLI, and which hostname is your VIPR VIP address). You might want to set these in the user profile if you plan to use ViPR CLI often.
Here is the CLI Guide with more information:
http://www.emc.com/collateral/TechnicalDocument/docu70246.pdf
Best Regards,
Patrick
MustafaM
13 Posts
0
September 29th, 2016 22:00
Thank you for your replies.