deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marios Andreou (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (DTACLOUD-235) GET -X /api/metrics?format=xml (or json) gives 'undefined local variable or method' error
Date Thu, 14 Jun 2012 09:43:43 GMT

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

Marios Andreou reassigned DTACLOUD-235:
---------------------------------------

    Assignee: Ronelle Landy  (was: Marios Andreou)
    
> GET -X /api/metrics?format=xml (or json) gives 'undefined local variable or method' error
> -----------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-235
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-235
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: deltacloud commit version: 138adab3396ea95a41c8320058dd78bbac446b08
>            Reporter: Ronelle Landy
>            Assignee: Ronelle Landy
>         Attachments: 0001-Adds-XML-for-metrics-resolves-JIRA-DTACLOUD_235.patch
>
>
> >>  curl -X GET --user "un:pw" "http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/metrics?format=xml"
> (long trace goes off console) end of trace below:
> ...........
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/backends/base.rb:61:in `start'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/server.rb:159:in `start'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/controllers/controller.rb:86:in `start'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/runner.rb:185:in `send'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/runner.rb:185:in `run_command'
> /usr/lib/ruby/gems/1.8/gems/thin-1.3.1/lib/thin/runner.rb:151:in `run!'
> /usr/share/deltacloud-core/bin/deltacloudd:239
> /usr/bin/deltacloudd:5:in `load'
> /usr/bin/deltacloudd:5]]></backtrace>
>   <request>
>     <param name='format'>xml</param>
>     <param name='splat'></param>
>     <param name='captures'>undefined local variable or method `h' for #<Deltacloud::Collections::Metrics:0x7f3b7afc7198></param>
>   </request>
> </error>
> Using format=json:
> XML Parsing Error: not well-formed
> Location: http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/metrics?format=json
> Line Number 547, Column 84:    <param name='captures'>undefined local variable
or method `h' for #<Deltacloud::Collections::Metrics:0x7f3b7af7c2d8></param>
> -----------------------------------------------------------------------------------^

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message