Openstack Sahara: commands not working with Internal Server Error

asked 2018-10-15 07:26:33 -0500

Openstack Sahara is unable to execute CLI commands with the below error:

Failed to parse response from Sahara: Internal Server Error Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/lib/python2.7/site-packages/cliff/display.py", line 112, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/site-packages/saharaclient/osc/v1/images.py", line 157, in take_action desc=parsed_args.description).image File "/usr/lib/python2.7/site-packages/saharaclient/api/images.py", line 46, in update_image return self._post('/images/%s' % image_id, data) File "/usr/lib/python2.7/site-packages/saharaclient/api/base.py", line 159, in _post self._raise_api_exception(resp) File "/usr/lib/python2.7/site-packages/saharaclient/api/base.py", line 226, in _raise_api_exception error_message=msg) APIException: Failed to parse response from Sahara: Internal Server Error clean_up RegisterImage: Failed to parse response from Sahara: Internal Server Error

Sahara.conf file:

debug = True 
  verbose = true
   log_dir = /var/log/sahara
   transport_url = rabbit://guest:guest@10.96.18.21:5672/
   rpc_backend = rabbit
   api_paste_config = /etc/sahara/api-paste.ini
   host =10.96.18.21
   use_neutron = True
   use_namespaces = True
   api_workers = 24
   heat_enable_wait_condition = false
   connection = mysql+pymysql://sahara:Password123@10.96.18.21/sahara
   auth_uri=http://10.96.18.21:5000/v3
   identity_uri=http://10.96.18.21:35357
   project_domain_id = default
   user_domain_id = default
   auth_plugin = password
   username = sahara
   auth_username = sahara
   password = Password123
   auth_password = Password123
   admin_user=sahara
   admin_tenant_name=services
   admin_password=Password123
   host = 10.96.18.21
   driver = messaging
   transport_url = rabbit://guest:guest@10.96.18.21:5672/
   topics = notifications
   enable = true
   rabbit_use_ssl = False
   policy_file = /etc/sahara/policy.json

Openstack ocata is installed on Centos 7 (one controller+ network and 3 compute nodes). Can someone please help with this issue.

edit retag flag offensive close merge delete