DeltaCloud
  1. DeltaCloud
  2. DTACLOUD-151

Unhandled exception or status code (No route to host - connect(2)) - invalid rhevm server/provider supplied

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Component/s: Server
    • Labels:
      None
    • Environment:

      Description

      Below are errors returned from Deltacloud when a user supplies either an invalid provider or rhevm server (note: unhandled exception error):

      Invalid rhevm provider:
      API_PROVIDER="https://10.16.120.230:8443/api;123456" deltacloudd -i rhevm -r hp-dl360g5-02.rhts.eng.bos.redhat.com -p 3008

      curl -X GET --user 'username:password'
      "http://hp-dl360g5-02.rhts.eng.bos.redhat.com:3008/api/instances?format=xml"
      <error status='404' url='/api/instances?format=xml'>
      <message>Resource not found</message>
      </error>

      >> Incorrect server:
      API_PROVIDER="https://10.16.120.235:8443/api;123456" deltacloudd -i rhevm -r hp-dl360g5-02.rhts.eng.bos.redhat.com -p 3008

      curl -X GET --user 'username:password'
      "http://hp-dl360g5-02.rhts.eng.bos.redhat.com:3008/api/instances?format=xml"
      <error status='500' url='/api/instances?format=xml'>
      <kind>backend_error</kind>
      <backend driver='rhevm' provider='https://10.16.120.235:8443/api;123456'>
      <code>500</code>
      </backend>
      <message><![CDATA[Unhandled exception or status code (No route to host -
      connect(2))]]></message>
      <backtrace>

        Activity

        Ronelle Landy made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Michal Fojtik made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee David Lutterkort [ lutter ] Michal Fojtik [ mfojtik ]
        Resolution Fixed [ 1 ]
        Ronelle Landy created issue -

          People

          • Assignee:
            Michal Fojtik
            Reporter:
            Ronelle Landy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development