deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronelle Landy (JIRA)" <>
Subject [jira] [Created] (DTACLOUD-475) Cannot connect to Deltacloud server started on Fedora 18 from a machine other than the host
Date Thu, 14 Feb 2013 15:08:13 GMT
Ronelle Landy created DTACLOUD-475:

             Summary: Cannot connect to Deltacloud server started on Fedora 18 from a machine
other than the host
                 Key: DTACLOUD-475
             Project: DeltaCloud
          Issue Type: Bug
          Components: Server
         Environment: Fedora 18
Deltacloud server - any frontend
Deltacloud gem 1.1.1 - under test
            Reporter: Ronelle Landy
            Assignee: Ronelle Landy

Start a Deltacloud server using the -r option on a Fedora 18 machine:

>>  cat /etc/redhat-release
Fedora release 18 (Spherical Cow)

>> deltacloudd -i mock -r -p 3005
Starting Deltacloud API :: mock ::

>> Thin web server (v1.5.0 codename Knife)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on, CTRL+C to stop

Open a second terminal on the same host machine where the server was started and execute a
curl command against the Deltacloud server:

>>  hostname

>> curl -X GET --user "un:pw" ""
<api driver='mock' version='1.1.1'>
  <link href='' rel='instance_states'>
  <link href='' rel='addresses'>
  <link href='' rel='metrics'>
  <link href='' rel='images'>
  <link href='' rel='storage_volumes'>
  <link href='' rel='keys'>
  <link href='' rel='hardware_profiles'>
  <link href='' rel='drivers'>
  <link href='' rel='realms'>
  <link href='' rel='buckets'>
  <link href='' rel='instances'>
    <feature name='metrics' rel='create'>
      <param name='metrics' />
    <feature name='realm_filter' rel='index'>
      <param name='realm_id' />
    <feature name='user_name' rel='create'>
      <param name='name' />
    <feature name='user_data' rel='create'>
      <param name='user_data' />
    <feature name='authentication_key' rel='create'>
      <param name='keyname' />
  <link href='' rel='storage_snapshots'>
[root@qeblade39 ~]# 

Using localhost w/o the -r option works as well for executing commands on the same host.

Try the same command from a different host machine:

>> hostname

>> curl -X GET --user "un:pw" ""
curl: (7) couldn't connect to host

The -r option works to connect on RHEL 6.3 and Fedora 16, 17. 
Tried disabling SELinux  didn't do much for me.

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:

View raw message