app-scale-fails-with-mismatched-type

Bug #1567601 reported by Devdatta Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
Fix Released
High
Devdatta Kulkarni

Bug Description

vagrant@devstack:~$ solum app scale cherrypy 2
ERROR: Invalid input for field/attribute scale_target. Value: '2'. Wrong type. Expected '<type 'unicode'>', got '<type 'int'>'

In solum-api screen log we see this:

10.0.2.15 - - [07/Apr/2016 18:27:08] "GET /v1/apps HTTP/1.1" 200 1681 0.117297
2016-04-07 18:27:08.064 16226 DEBUG wsme.api [-] Client-side error: Invalid input for field/attribute scale_target. Value: '2'. Wrong type. Expected '<type 'unicode'>', got '<type 'int'>' format_exception /usr/local/lib/python2.7/dist-packages/wsme/api.py:221
10.0.2.15 - - [07/Apr/2016 18:27:08] "POST /v1/apps/7d64347c-93d6-4adf-bf70-309f9d53c034/workflows HTTP/1.1" 400 366 0.009377

Changed in solum:
importance: Undecided → High
assignee: nobody → Devdatta Kulkarni (devdatta-kulkarni)
milestone: none → next-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to solum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/303062

Changed in solum:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to solum (master)

Reviewed: https://review.openstack.org/303062
Committed: https://git.openstack.org/cgit/openstack/solum/commit/?id=e7c98d95bb166445d8e1fd99702ac342f9d3be96
Submitter: Jenkins
Branch: master

commit e7c98d95bb166445d8e1fd99702ac342f9d3be96
Author: Devdatta Kulkarni <email address hidden>
Date: Thu Apr 7 15:34:06 2016 -0500

    Changing type of scale_target from text to int

    Change-Id: I6bb4c868dc4d4efbe52da8c24dfed67e28172661
    Closes-Bug: #1567601

Changed in solum:
status: In Progress → Fix Released
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.