[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jessica Wang reassigned CLOUDSTACK-4035:
----------------------------------------

    Assignee: Alena Prokharchyk  (was: Brian Federle)

Alena,

This is an API bug.

Please click AutoScale Configure button on a new LB rule (not an exsiting LB 
rule), like my attachment "2013-08-11-A.jpg".

Then, as in my attachment "2013-08-11-B.jpg", you'll see "id" property is 
missing in listCouters API response.

This is an API regression.
listCounters API used to return "id" property which UI later sends to 
createCondition API.

But because listCounters API doesn't return "id" property any more(API 
regression), UI ends up sending null counterid to createCondition API.


http://localhost:8080/client/api?command=listCounters&response=json&sessionkey=7DnnjR6wY306qhZbt6J0WL7ITKk%3D&_=1376257734989
{
    "counterresponse": {
        "count": 4,
        "counter": [
            {
                "name": "Linux User CPU - percentage",
                "source": "snmp",
                "value": "1.3.6.1.4.1.2021.11.9.0"
            },
            {
                "name": "Linux System CPU - percentage",
                "source": "snmp",
                "value": "1.3.6.1.4.1.2021.11.10.0"
            },
            {
                "name": "Linux CPU Idle - percentage",
                "source": "snmp",
                "value": "1.3.6.1.4.1.2021.11.11.0"
            },
            {
                "name": "Response Time - microseconds",
                "source": "netscaler",
                "value": "RESPTIME"
            }
        ]
    }
}

Jessica

                
> [Upgrade][2.2.16 to 4.2] [UI] Autoscale wizard missing counter param in UI - 
> fails configuration
> ------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4035
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4035
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API, UI, Upgrade
>    Affects Versions: 4.2.0
>         Environment: Upgraded setup from 2.2.16 to 4.2, Netscaler as external 
> LB device
>            Reporter: Sowmya Krishnan
>            Assignee: Alena Prokharchyk
>            Priority: Blocker
>             Fix For: 4.2.0
>
>         Attachments: 2013-08-11-A.jpg, 2013-08-11-B.jpg, countermissing.png, 
> DB_DUMP_2216_before_upgrade.sql, DB_DUMP_42_after_upgrade.sql
>
>
> Steps
> =====
> Upgrade from 2.2.16 to 4.2.
> Create a network offering with LB service provided by Netscaler
> Acquire a public IP and configure autoscaling with it
> Fails during configuration since counter value is missing
> Firebug log:
> { "conditionresponse" : 
> {"uuidList":[],"errorcode":431,"cserrorcode":9999,"errortext":"Unable to 
> execute API command condition due to missing parameter counterid"} }
> Attached screen shot 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to