ERROR: 'repo_token'

Bug #1586730 reported by caowei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-solumclient
New
Undecided
caowei

Bug Description

solumuser@ubuntu14044:~/devstack$ solum app show java_app
+------------------+---------------------------------------------------------------------+
| Property | Value |
+------------------+---------------------------------------------------------------------+
| app_url | None |
| entry_points | |
| description | Java web app |
| created_at | 2016-05-26T08:48:57 |
| languagepack | java |
| target_instances | 1 |
| ports | [80] |
| source | {u'repository': u'https://github.com/rackspace-solum-samples/solum- |
| | tomcat-app.git', u'revision': u'master'} |
| trigger | [u'unittest', u'build', u'deploy'] |
| trigger_uuid | 97dfce5b-c85e-464f-b9cd-10ba3878d6cd |
| id | e444fca0-5631-462d-88f1-afb4eee611dd |
| name | java_app |
+------------------+---------------------------------------------------------------------+
'java_app' workflows and their status:
+-------+--------------------------------------+--------+
| wf_id | id | status |
+-------+--------------------------------------+--------+
| 1 | 825f822c-fdc3-4476-aa2e-deb5e06e2ca8 | None |
| 2 | 82812fd5-aca4-43da-94da-3de2c22c92e5 | None |
+-------+--------------------------------------+--------+
solumuser@ubuntu14044:~/devstack$ solum app deploy java_app
ERROR: 'repo_token'

192.168.132.100 - - [26/May/2016 18:18:25] "GET /v1/apps HTTP/1.1" 200 1602 0.237717
192.168.132.100 - - [26/May/2016 18:18:25] "GET /v1/apps/e444fca0-5631-462d-88f1-afb4eee611dd/workflows HTTP/1.1" 200 1254 0.008316
(21940) accepted ('192.168.132.100', 39898)
192.168.132.100 - - [26/May/2016 18:18:52] "GET /v1/apps HTTP/1.1" 200 1602 0.205911
2016-05-26 18:18:52.269 21940 ERROR wsme.api [-] Server-side error: "'repo_token'". Detail:
Traceback (most recent call last):

  File "/usr/local/lib/python2.7/dist-packages/wsmeext/pecan.py", line 84, in callfunction
    result = f(self, *args, **kwargs)

  File "/opt/stack/solum/solum/api/controllers/v1/workflow.py", line 103, in post
    du_id=du_id),

  File "/opt/stack/solum/solum/api/handlers/workflow_handler.py", line 152, in create
    du_id=du_id)

  File "/opt/stack/solum/solum/api/handlers/workflow_handler.py", line 187, in _execute_workflow_actions
    repo_token = wf_obj.source['repo_token']

KeyError: 'repo_token'

192.168.132.100 - - [26/May/2016 18:18:52] "POST /v1/apps/e444fca0-5631-462d-88f1-afb4eee611dd/workflows HTTP/1.1" 500 268 0.045788

caowei (caowei-e)
Changed in python-solumclient:
assignee: nobody → caowei (caowei-e)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/solum 5.0.0

This issue was fixed in the openstack/solum 5.0.0 release.

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.