Uploaded image for project: 'DeltaCloud'
  1. DeltaCloud
  2. DTACLOUD-150

Unhandled exception or status code - invalid vsphere provider

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Server
    • None
    • Rhel 6.2

      deltacloud-core-vsphere-0.5.0-5.el6.noarch
      deltacloud-core-ec2-0.5.0-5.el6.noarch
      deltacloud-core-rhevm-0.5.0-5.el6.noarch
      deltacloud-core-0.5.0-5.el6.noarch
      rubygem-deltacloud-client-0.5.0-2.el6.noarch

    Description

      Querying for instances in a server with no vsphere installed results in a '[Unhandled exception or status code (Undefined namespace
      prefix: //soapenv:Body/*)' message:

      >> API_PROVIDER=10.16.120.137 deltacloudd -i vsphere -r hp-dl360g5-02.rhts.eng.bos.redhat.com -p 4006

      $ curl -X GET --user 'username:password' "http://hp-dl360g5-02.rhts.eng.bos.redhat.com:4006/api/instances?format=xml"

      <errorstatus='500' url='/api/instances?format=xml'>
      <kind>backend_error</kind>
      <backend driver='vsphere' provider='10.16.120.137'>
      <code>500</code>
      </backend>
      <message><![CDATA[Unhandled exception or status code (Undefined namespace
      prefix: //soapenv:Body/*)]]></message>
      <backtrace>

      <![CDATA[/usr/lib/ruby/gems/1.8/gems/nokogiri-1.5.0.beta.4/lib/nokogiri/xml/node.rb:159:in
      `evaluate'

      /usr/lib/ruby/gems/1.8/gems/nokogiri-1.5.0.beta.4/lib/nokogiri/xml/node.rb:159:in
      `xpath'

      Comment from dev: Yes, this is a bug and we need to catch this error.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mfojtik Michal Fojtik
            rlandy Ronelle Landy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment