[ccp] Get 500 error while deploy component

Bug #1619698 reported by Dmitry Tyzhnenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fuel-ccp
Incomplete
Medium
Dmitry Tyzhnenko

Bug Description

Got traceback while ccp deploy:

Traceback (most recent call last):
  File "/usr/local/bin/ccp", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/fuel_ccp/cli.py", line 61, in main
    func()
  File "/usr/local/lib/python2.7/dist-packages/fuel_ccp/cli.py", line 31, in do_deploy
    deploy.deploy_components(components=CONF.action.components)
  File "/usr/local/lib/python2.7/dist-packages/fuel_ccp/deploy.py", line 374, in deploy_components
    config)
  File "/usr/local/lib/python2.7/dist-packages/fuel_ccp/deploy.py", line 81, in parse_role
    kubernetes.create_object_from_definition(obj)
  File "/usr/local/lib/python2.7/dist-packages/fuel_ccp/kubernetes.py", line 55, in create_object_from_definition
    body=object_dict, namespace=namespace)
  File "/usr/local/lib/python2.7/dist-packages/k8sclient/client/apis/apisextensionsvbeta_api.py", line 1493, in create_namespaced_deployment
    callback=params.get('callback'))
  File "/usr/local/lib/python2.7/dist-packages/k8sclient/client/api_client.py", line 320, in call_api
    response_type, auth_settings, callback)
  File "/usr/local/lib/python2.7/dist-packages/k8sclient/client/api_client.py", line 150, in __call_api
    post_params=post_params, body=body)
  File "/usr/local/lib/python2.7/dist-packages/k8sclient/client/api_client.py", line 350, in request
    body=body)
  File "/usr/local/lib/python2.7/dist-packages/k8sclient/client/rest.py", line 270, in POST
    return self.IMPL.POST(*n, **kw)
  File "/usr/local/lib/python2.7/dist-packages/k8sclient/client/rest.py", line 192, in POST
    body=body)
  File "/usr/local/lib/python2.7/dist-packages/k8sclient/client/rest.py", line 168, in request
    raise ApiException(http_resp=r)
ApiException: (500)
Reason: Internal Server Error
HTTP response headers: HTTPHeaderDict({'Date': 'Fri, 02 Sep 2016 14:08:56 GMT', 'Content-Length': '145', 'Content-Type': 'application/json'})
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"client: etcd cluster is unavailable or misconfigured","code":500}

Log - http://paste.openstack.org/show/566087/

Pod kube-apiserver-node1 contains a lot of errors like in - http://paste.openstack.org/show/566089/

Tags: fuel-ccp
Revision history for this message
Sergey Reshetnyak (sreshetniak) wrote :

Looks like problem with access to etcd.
This bug is not related to ccp, probably your k8s installation is wrong.

Changed in fuel-ccp:
status: New → Incomplete
importance: High → Medium
assignee: nobody → Dmitry Tyzhnenko (dtyzhnenko)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.