deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh A (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DTACLOUD-156) Deltacloud API does not seems to log any details in the console for the actions perfomed
Date Wed, 07 Mar 2012 15:36:57 GMT

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

Ramesh A updated DTACLOUD-156:
------------------------------

    Description: 
Deltacloud API does not seems to log any details in the console for the actions performed.
 

As per discussion with marios, he states that this may be linked/related to sinatra version
1.3.2.
Upon further testing, could see the difference as marios predicted, below console log details
proves it.  Seems to work fine in sinatra 1.3.1.

*onsole log (sinatra 1.3.2 version):
==========================
EC2 setup:
----------------
[root@server deltacloud]# ./server/bin/deltacloudd -i ec2 -r localhost -p 3003
Starting Deltacloud API :: ec2 :: http://localhost:3003/api

/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:105: warning: already initialized
constant HEX
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:107: warning: already initialized
constant TO_REMEMBER
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:108: warning: already initialized
constant ASCII
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/errors.rb:128: warning: already initialized
constant DEFAULT_CLOSE_ON_4XX_PROBABILITY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/parsers.rb:47: warning: already initialized
constant DEFAULT_XML_LIBRARY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:66: warning: already initialized
constant AMAZON_PROBLEMS
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:86: warning: already initialized
constant DEFAULT_SIGNATURE_VERSION
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on localhost:3003, CTRL+C to stop
I, [2012-03-06T11:26:42.843830 #2908]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
I, [2012-03-06T11:26:42.845664 #2908]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
I, [2012-03-06T11:28:00.663260 #2908]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
I, [2012-03-06T11:28:00.673817 #2908]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
I, [2012-03-06T11:28:03.672768 #2908]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
I, [2012-03-06T11:28:03.685309 #2908]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
I, [2012-03-06T11:28:06.376191 #2908]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
I, [2012-03-06T11:28:06.386785 #2908]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443

RHEVM setup:
----------------------
[root@localhost deltacloud]# API_PROVIDER=<rhevm-server> ./server/bin/deltacloudd -i
rhevm -p 3005
Starting Deltacloud API :: rhevm :: https://<rhevm-server> :: http://localhost:3005/api

>> Thin web server (v1.3.1 codename Triple Espresso)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on localhost:3005, CTRL+C to stop

<There is no log entry after this upon performing any action>



Console log (sinatra 1.3.1 version):
==========================
EC2 setup:
----------------
[root@server deltacloud]# ./server/bin/deltacloudd -i ec2  -p 303
Starting Deltacloud API :: ec2 :: http://localhost:303/api

/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:105: warning: already initialized
constant HEX
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:107: warning: already initialized
constant TO_REMEMBER
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:108: warning: already initialized
constant ASCII
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/errors.rb:128: warning: already initialized
constant DEFAULT_CLOSE_ON_4XX_PROBABILITY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/parsers.rb:47: warning: already initialized
constant DEFAULT_XML_LIBRARY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:66: warning: already initialized
constant AMAZON_PROBLEMS
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:86: warning: already initialized
constant DEFAULT_SIGNATURE_VERSION
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on localhost:303, CTRL+C to stop
^C>> Stopping ...
[root@optimus deltacloud]# ./server/bin/deltacloudd -i ec2 -p 3003
Starting Deltacloud API :: ec2 :: http://localhost:3003/api

/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:105: warning: already initialized
constant HEX
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:107: warning: already initialized
constant TO_REMEMBER
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:108: warning: already initialized
constant ASCII
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/errors.rb:128: warning: already initialized
constant DEFAULT_CLOSE_ON_4XX_PROBABILITY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/parsers.rb:47: warning: already initialized
constant DEFAULT_XML_LIBRARY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:66: warning: already initialized
constant AMAZON_PROBLEMS
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:86: warning: already initialized
constant DEFAULT_SIGNATURE_VERSION
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on localhost:3003, CTRL+C to stop
10.11.8.228 - - [07/Mar/2012 10:00:10] "GET / HTTP/1.1" 301 - 0.0153
10.11.8.228 - - [07/Mar/2012 10:00:11] "GET /api HTTP/1.1" 200 4386 0.1420
10.11.8.228 - - [07/Mar/2012 10:00:11] "GET /stylesheets/jquery.mobile-1.0.1.min.css HTTP/1.1"
200 49780 0.0152
10.11.8.228 - - [07/Mar/2012 10:00:12] "GET /javascripts/jquery.min.js HTTP/1.1" 200 91556
0.0037
10.11.8.228 - - [07/Mar/2012 10:00:12] "GET /javascripts/application.js HTTP/1.1" 200 5410
0.0016
10.11.8.228 - - [07/Mar/2012 10:00:12] "GET /javascripts/jquery.mobile-1.0.1.min.js HTTP/1.1"
200 83488 0.0022
10.11.8.228 - - [07/Mar/2012 10:00:14] "GET /stylesheets/new.css HTTP/1.1" 200 1536 0.0027
10.11.8.228 - - [07/Mar/2012 10:00:15] "GET /stylesheets/images/ajax-loader.png HTTP/1.1"
200 503 0.0021
10.11.8.228 - - [07/Mar/2012 10:00:15] "GET /stylesheets/images/icons-18-white.png HTTP/1.1"
200 2200 0.0019
10.11.8.228 - - [07/Mar/2012 10:00:16] "GET /favicon.ico HTTP/1.1" 200 473 0.0028
10.11.8.228 - - [07/Mar/2012 10:00:16] "GET /api/instances HTTP/1.1" 401 8963 0.4802
I, [2012-03-07T10:00:23.391882 #11752]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
I, [2012-03-07T10:00:23.393428 #11752]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
10.11.8.228 - - [07/Mar/2012 10:00:25] "GET /api/instances HTTP/1.1" 200 2192 1.8950
10.11.8.228 - - [07/Mar/2012 10:01:45] "GET /api/ HTTP/1.1" 200 4388 0.0834
I, [2012-03-07T10:01:46.942197 #11752]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
I, [2012-03-07T10:01:46.943491 #11752]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
10.11.8.228 - - [07/Mar/2012 10:01:49] "GET /api/instances HTTP/1.1" 200 2649 2.1982

RHEVM setup:
-----------------------
[root@localhost deltacloud]# API_PROVIDER=<rhevm-server> ./server/bin/deltacloudd -i
rhevm -p 3005
Starting Deltacloud API :: rhevm :: https://<rhevm-server> :: http://localhost:3005/api

>> Thin web server (v1.3.1 codename Triple Espresso)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on localhost:3005, CTRL+C to stop
10.11.8.228 - - [07/Mar/2012 09:58:21] "GET /api HTTP/1.1" 200 2912 0.0809
10.11.8.228 - - [07/Mar/2012 09:58:22] "GET /favicon.ico HTTP/1.1" 200 473 0.0092
10.11.8.228 - - [07/Mar/2012 09:58:25] "GET /api/instances HTTP/1.1" 401 9365 0.0911
10.11.8.228 - - [07/Mar/2012 09:58:40] "GET /api/instances HTTP/1.1" 200 6996 8.3215


  was:
Deltacloud API does not seems to log any details in the console for the actions perfomed.
 

As per discussion with marios, he states that this may be linked/related to sinatra version
1.3.2.
Upon further testing, could see the difference as marios predicted, below console log details
proves it.  Seems to work fine in sinatra 1.3.1.

*Console log (sinatra 1.3.2 version):*
==========================
*EC2 setup:*
----------------
[root@server deltacloud]# ./server/bin/deltacloudd -i ec2 -r localhost -p 3003
Starting Deltacloud API :: ec2 :: http://localhost:3003/api

/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:105: warning: already initialized
constant HEX
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:107: warning: already initialized
constant TO_REMEMBER
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:108: warning: already initialized
constant ASCII
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/errors.rb:128: warning: already initialized
constant DEFAULT_CLOSE_ON_4XX_PROBABILITY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/parsers.rb:47: warning: already initialized
constant DEFAULT_XML_LIBRARY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:66: warning: already initialized
constant AMAZON_PROBLEMS
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:86: warning: already initialized
constant DEFAULT_SIGNATURE_VERSION
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on localhost:3003, CTRL+C to stop
I, [2012-03-06T11:26:42.843830 #2908]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
I, [2012-03-06T11:26:42.845664 #2908]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
I, [2012-03-06T11:28:00.663260 #2908]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
I, [2012-03-06T11:28:00.673817 #2908]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
I, [2012-03-06T11:28:03.672768 #2908]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
I, [2012-03-06T11:28:03.685309 #2908]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
I, [2012-03-06T11:28:06.376191 #2908]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
I, [2012-03-06T11:28:06.386785 #2908]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443

*RHEVM setup:*
----------------------
[root@localhost deltacloud]# API_PROVIDER=<rhevm-server> ./server/bin/deltacloudd -i
rhevm -p 3005
Starting Deltacloud API :: rhevm :: https://<rhevm-server> :: http://localhost:3005/api

>> Thin web server (v1.3.1 codename Triple Espresso)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on localhost:3005, CTRL+C to stop

*<There is no log entry after this upon performing any action>*



*Console log (sinatra 1.3.1 version):*
==========================
*EC2 setup:*
----------------
[root@server deltacloud]# ./server/bin/deltacloudd -i ec2  -p 303
Starting Deltacloud API :: ec2 :: http://localhost:303/api

/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:105: warning: already initialized
constant HEX
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:107: warning: already initialized
constant TO_REMEMBER
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:108: warning: already initialized
constant ASCII
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/errors.rb:128: warning: already initialized
constant DEFAULT_CLOSE_ON_4XX_PROBABILITY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/parsers.rb:47: warning: already initialized
constant DEFAULT_XML_LIBRARY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:66: warning: already initialized
constant AMAZON_PROBLEMS
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:86: warning: already initialized
constant DEFAULT_SIGNATURE_VERSION
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on localhost:303, CTRL+C to stop
^C>> Stopping ...
[root@optimus deltacloud]# ./server/bin/deltacloudd -i ec2 -p 3003
Starting Deltacloud API :: ec2 :: http://localhost:3003/api

/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:105: warning: already initialized
constant HEX
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:107: warning: already initialized
constant TO_REMEMBER
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:108: warning: already initialized
constant ASCII
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/errors.rb:128: warning: already initialized
constant DEFAULT_CLOSE_ON_4XX_PROBABILITY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/parsers.rb:47: warning: already initialized
constant DEFAULT_XML_LIBRARY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:66: warning: already initialized
constant AMAZON_PROBLEMS
/usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:86: warning: already initialized
constant DEFAULT_SIGNATURE_VERSION
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on localhost:3003, CTRL+C to stop
10.11.8.228 - - [07/Mar/2012 10:00:10] "GET / HTTP/1.1" 301 - 0.0153
10.11.8.228 - - [07/Mar/2012 10:00:11] "GET /api HTTP/1.1" 200 4386 0.1420
10.11.8.228 - - [07/Mar/2012 10:00:11] "GET /stylesheets/jquery.mobile-1.0.1.min.css HTTP/1.1"
200 49780 0.0152
10.11.8.228 - - [07/Mar/2012 10:00:12] "GET /javascripts/jquery.min.js HTTP/1.1" 200 91556
0.0037
10.11.8.228 - - [07/Mar/2012 10:00:12] "GET /javascripts/application.js HTTP/1.1" 200 5410
0.0016
10.11.8.228 - - [07/Mar/2012 10:00:12] "GET /javascripts/jquery.mobile-1.0.1.min.js HTTP/1.1"
200 83488 0.0022
10.11.8.228 - - [07/Mar/2012 10:00:14] "GET /stylesheets/new.css HTTP/1.1" 200 1536 0.0027
10.11.8.228 - - [07/Mar/2012 10:00:15] "GET /stylesheets/images/ajax-loader.png HTTP/1.1"
200 503 0.0021
10.11.8.228 - - [07/Mar/2012 10:00:15] "GET /stylesheets/images/icons-18-white.png HTTP/1.1"
200 2200 0.0019
10.11.8.228 - - [07/Mar/2012 10:00:16] "GET /favicon.ico HTTP/1.1" 200 473 0.0028
10.11.8.228 - - [07/Mar/2012 10:00:16] "GET /api/instances HTTP/1.1" 401 8963 0.4802
I, [2012-03-07T10:00:23.391882 #11752]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
I, [2012-03-07T10:00:23.393428 #11752]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
10.11.8.228 - - [07/Mar/2012 10:00:25] "GET /api/instances HTTP/1.1" 200 2192 1.8950
10.11.8.228 - - [07/Mar/2012 10:01:45] "GET /api/ HTTP/1.1" 200 4388 0.0834
I, [2012-03-07T10:01:46.942197 #11752]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
I, [2012-03-07T10:01:46.943491 #11752]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
10.11.8.228 - - [07/Mar/2012 10:01:49] "GET /api/instances HTTP/1.1" 200 2649 2.1982

*RHEVM setup:*
-----------------------
[root@localhost deltacloud]# API_PROVIDER=<rhevm-server> ./server/bin/deltacloudd -i
rhevm -p 3005
Starting Deltacloud API :: rhevm :: https://<rhevm-server> :: http://localhost:3005/api

>> Thin web server (v1.3.1 codename Triple Espresso)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on localhost:3005, CTRL+C to stop
10.11.8.228 - - [07/Mar/2012 09:58:21] "GET /api HTTP/1.1" 200 2912 0.0809
10.11.8.228 - - [07/Mar/2012 09:58:22] "GET /favicon.ico HTTP/1.1" 200 473 0.0092
10.11.8.228 - - [07/Mar/2012 09:58:25] "GET /api/instances HTTP/1.1" 401 9365 0.0911
10.11.8.228 - - [07/Mar/2012 09:58:40] "GET /api/instances HTTP/1.1" 200 6996 8.3215


    Environment: 
Deltacloud API 0.5.0 
Commit - f2fe244f949a9c435b218ecfad706cec4c16c4b2
OS - Fedora 15, 16 RHEL - 6.2
Sinatra - 1.3.2


  was:
Deltacloud API 0.5.0 
Commit - f2fe244f949a9c435b218ecfad706cec4c16c4b2
OS - Fedora 15, 16 RHEL - 6.2


    
> Deltacloud API does not seems to log any details in the console for the actions perfomed
> ----------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-156
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-156
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Client (Ruby), Server
>         Environment: Deltacloud API 0.5.0 
> Commit - f2fe244f949a9c435b218ecfad706cec4c16c4b2
> OS - Fedora 15, 16 RHEL - 6.2
> Sinatra - 1.3.2
>            Reporter: Ramesh A
>            Assignee: David Lutterkort
>
> Deltacloud API does not seems to log any details in the console for the actions performed.
 
> As per discussion with marios, he states that this may be linked/related to sinatra version
1.3.2.
> Upon further testing, could see the difference as marios predicted, below console log
details proves it.  Seems to work fine in sinatra 1.3.1.
> *onsole log (sinatra 1.3.2 version):
> ==========================
> EC2 setup:
> ----------------
> [root@server deltacloud]# ./server/bin/deltacloudd -i ec2 -r localhost -p 3003
> Starting Deltacloud API :: ec2 :: http://localhost:3003/api
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:105: warning: already
initialized constant HEX
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:107: warning: already
initialized constant TO_REMEMBER
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:108: warning: already
initialized constant ASCII
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/errors.rb:128: warning: already
initialized constant DEFAULT_CLOSE_ON_4XX_PROBABILITY
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/parsers.rb:47: warning: already
initialized constant DEFAULT_XML_LIBRARY
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:66: warning: already
initialized constant AMAZON_PROBLEMS
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:86: warning: already
initialized constant DEFAULT_SIGNATURE_VERSION
> >> Thin web server (v1.3.1 codename Triple Espresso)
> >> Debugging ON
> >> Maximum connections set to 1024
> >> Listening on localhost:3003, CTRL+C to stop
> I, [2012-03-06T11:26:42.843830 #2908]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
> I, [2012-03-06T11:26:42.845664 #2908]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
> I, [2012-03-06T11:28:00.663260 #2908]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
> I, [2012-03-06T11:28:00.673817 #2908]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
> I, [2012-03-06T11:28:03.672768 #2908]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
> I, [2012-03-06T11:28:03.685309 #2908]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
> I, [2012-03-06T11:28:06.376191 #2908]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
> I, [2012-03-06T11:28:06.386785 #2908]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
> RHEVM setup:
> ----------------------
> [root@localhost deltacloud]# API_PROVIDER=<rhevm-server> ./server/bin/deltacloudd
-i rhevm -p 3005
> Starting Deltacloud API :: rhevm :: https://<rhevm-server> :: http://localhost:3005/api
> >> Thin web server (v1.3.1 codename Triple Espresso)
> >> Debugging ON
> >> Maximum connections set to 1024
> >> Listening on localhost:3005, CTRL+C to stop
> <There is no log entry after this upon performing any action>
> Console log (sinatra 1.3.1 version):
> ==========================
> EC2 setup:
> ----------------
> [root@server deltacloud]# ./server/bin/deltacloudd -i ec2  -p 303
> Starting Deltacloud API :: ec2 :: http://localhost:303/api
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:105: warning: already
initialized constant HEX
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:107: warning: already
initialized constant TO_REMEMBER
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:108: warning: already
initialized constant ASCII
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/errors.rb:128: warning: already
initialized constant DEFAULT_CLOSE_ON_4XX_PROBABILITY
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/parsers.rb:47: warning: already
initialized constant DEFAULT_XML_LIBRARY
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:66: warning: already
initialized constant AMAZON_PROBLEMS
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:86: warning: already
initialized constant DEFAULT_SIGNATURE_VERSION
> >> Thin web server (v1.3.1 codename Triple Espresso)
> >> Debugging ON
> >> Maximum connections set to 1024
> >> Listening on localhost:303, CTRL+C to stop
> ^C>> Stopping ...
> [root@optimus deltacloud]# ./server/bin/deltacloudd -i ec2 -p 3003
> Starting Deltacloud API :: ec2 :: http://localhost:3003/api
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:105: warning: already
initialized constant HEX
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:107: warning: already
initialized constant TO_REMEMBER
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:108: warning: already
initialized constant ASCII
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/errors.rb:128: warning: already
initialized constant DEFAULT_CLOSE_ON_4XX_PROBABILITY
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/parsers.rb:47: warning: already
initialized constant DEFAULT_XML_LIBRARY
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:66: warning: already
initialized constant AMAZON_PROBLEMS
> /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:86: warning: already
initialized constant DEFAULT_SIGNATURE_VERSION
> >> Thin web server (v1.3.1 codename Triple Espresso)
> >> Debugging ON
> >> Maximum connections set to 1024
> >> Listening on localhost:3003, CTRL+C to stop
> 10.11.8.228 - - [07/Mar/2012 10:00:10] "GET / HTTP/1.1" 301 - 0.0153
> 10.11.8.228 - - [07/Mar/2012 10:00:11] "GET /api HTTP/1.1" 200 4386 0.1420
> 10.11.8.228 - - [07/Mar/2012 10:00:11] "GET /stylesheets/jquery.mobile-1.0.1.min.css
HTTP/1.1" 200 49780 0.0152
> 10.11.8.228 - - [07/Mar/2012 10:00:12] "GET /javascripts/jquery.min.js HTTP/1.1" 200
91556 0.0037
> 10.11.8.228 - - [07/Mar/2012 10:00:12] "GET /javascripts/application.js HTTP/1.1" 200
5410 0.0016
> 10.11.8.228 - - [07/Mar/2012 10:00:12] "GET /javascripts/jquery.mobile-1.0.1.min.js HTTP/1.1"
200 83488 0.0022
> 10.11.8.228 - - [07/Mar/2012 10:00:14] "GET /stylesheets/new.css HTTP/1.1" 200 1536 0.0027
> 10.11.8.228 - - [07/Mar/2012 10:00:15] "GET /stylesheets/images/ajax-loader.png HTTP/1.1"
200 503 0.0021
> 10.11.8.228 - - [07/Mar/2012 10:00:15] "GET /stylesheets/images/icons-18-white.png HTTP/1.1"
200 2200 0.0019
> 10.11.8.228 - - [07/Mar/2012 10:00:16] "GET /favicon.ico HTTP/1.1" 200 473 0.0028
> 10.11.8.228 - - [07/Mar/2012 10:00:16] "GET /api/instances HTTP/1.1" 401 8963 0.4802
> I, [2012-03-07T10:00:23.391882 #11752]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
> I, [2012-03-07T10:00:23.393428 #11752]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
> 10.11.8.228 - - [07/Mar/2012 10:00:25] "GET /api/instances HTTP/1.1" 200 2192 1.8950
> 10.11.8.228 - - [07/Mar/2012 10:01:45] "GET /api/ HTTP/1.1" 200 4388 0.0834
> I, [2012-03-07T10:01:46.942197 #11752]  INFO -- : New Aws::Ec2 using per_thread-connection
mode
> I, [2012-03-07T10:01:46.943491 #11752]  INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
> 10.11.8.228 - - [07/Mar/2012 10:01:49] "GET /api/instances HTTP/1.1" 200 2649 2.1982
> RHEVM setup:
> -----------------------
> [root@localhost deltacloud]# API_PROVIDER=<rhevm-server> ./server/bin/deltacloudd
-i rhevm -p 3005
> Starting Deltacloud API :: rhevm :: https://<rhevm-server> :: http://localhost:3005/api
> >> Thin web server (v1.3.1 codename Triple Espresso)
> >> Debugging ON
> >> Maximum connections set to 1024
> >> Listening on localhost:3005, CTRL+C to stop
> 10.11.8.228 - - [07/Mar/2012 09:58:21] "GET /api HTTP/1.1" 200 2912 0.0809
> 10.11.8.228 - - [07/Mar/2012 09:58:22] "GET /favicon.ico HTTP/1.1" 200 473 0.0092
> 10.11.8.228 - - [07/Mar/2012 09:58:25] "GET /api/instances HTTP/1.1" 401 9365 0.0911
> 10.11.8.228 - - [07/Mar/2012 09:58:40] "GET /api/instances HTTP/1.1" 200 6996 8.3215

--
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