incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Fojtik (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DTACLOUD-24) Broken Image + Internal Server Error given for Deltacloud Core "Instance States"
Date Fri, 01 Jul 2011 11:16:28 GMT

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

Michal Fojtik resolved DTACLOUD-24.
-----------------------------------

    Resolution: Fixed
      Assignee: Michal Fojtik  (was: David Lutterkort)

You need to install 'graphviz' package and 'dot' program in order to render that image. This
should be mentioned in documentation.

> Broken Image + Internal Server Error given for Deltacloud Core "Instance States"
> --------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-24
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-24
>             Project: DeltaCloud
>          Issue Type: Bug
>         Environment: MacOS X 10.6
>            Reporter: Justin Clift
>            Assignee: Michal Fojtik
>         Attachments: Instance States broken image.png
>
>
> When running "deltacloudd -i mock", then using a browser to view the "Instance States"
page in:
>   http://localhost:3001/api/instance_states
> There is a broken image displayed in the middle of the page, just under the "Instance
States" heading.
> (see attached screenshot)
> Getting the URL of the broken image, it is:
>   http://localhost:3001/api/instance_states?format=png
> Browsing directly to that URL gives an "Internal Server Error", and the deltacloudd command
line output shows:
> *******************************************************
> Errno::EPIPE - Broken pipe:
>  /Users/user/.gem/ruby/1.8/gems/deltacloud-core-0.1.2/bin/../server.rb:189:in `write'
>  /Users/user/.gem/ruby/1.8/gems/deltacloud-core-0.1.2/bin/../server.rb:189
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open3.rb:80:in
`popen3'
>  /Users/user/.gem/ruby/1.8/gems/deltacloud-core-0.1.2/bin/../server.rb:188
>  /Users/user/.gem/ruby/1.8/gems/deltacloud-core-0.1.2/bin/../lib/sinatra/respond_to.rb:242:in
`call'
>  /Users/user/.gem/ruby/1.8/gems/deltacloud-core-0.1.2/bin/../lib/sinatra/respond_to.rb:242:in
`respond_to'
>  /Users/user/.gem/ruby/1.8/gems/deltacloud-core-0.1.2/bin/../server.rb:165
>  /Users/user/.gem/ruby/1.8/gems/deltacloud-core-0.1.2/bin/../lib/sinatra/rabbit.rb:65:in
`instance_eval'
>  /Users/user/.gem/ruby/1.8/gems/deltacloud-core-0.1.2/bin/../lib/sinatra/rabbit.rb:65:in
`GET /api/instance_states'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:1063:in `call'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:1063:in `compile!'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:649:in `instance_eval'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:649:in `route_eval'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:633:in `route!'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:681:in `process_route'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:678:in `catch'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:678:in `process_route'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:632:in `route!'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:631:in `each'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:631:in `route!'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:766:in `dispatch!'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:559:in `call!'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:731:in `instance_eval'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:731:in `invoke'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:731:in `catch'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:731:in `invoke'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:559:in `call!'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:544:in `call'
>  /Users/user/.gem/ruby/1.8/gems/deltacloud-core-0.1.2/bin/../lib/sinatra/rack_driver_select.rb:12:in
`call'
>  /Users/user/.gem/ruby/1.8/gems/rack-accept-0.4.3/lib/rack/accept/context.rb:22:in `call'
>  /Users/user/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call'
>  /Users/user/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/commonlogger.rb:18:in `call'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:1173:in `call'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:1199:in `synchronize'
>  /Users/user/.gem/ruby/1.8/gems/sinatra-1.1.3/lib/sinatra/base.rb:1173:in `call'
>  /Users/user/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/reloader.rb:44:in `call'
>  /Users/user/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/commonlogger.rb:18:in `call'
>  /Users/user/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call'
>  /Users/user/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/handler/webrick.rb:48:in `service'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in
`service'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in
`run'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:173:in
`start_thread'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in
`start'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in
`start_thread'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:95:in
`start'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in
`each'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in
`start'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:23:in
`start'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:82:in
`start'
>  /Users/user/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/handler/webrick.rb:14:in `run'
>  /Users/user/.gem/ruby/1.8/gems/deltacloud-core-0.1.2/bin/deltacloudd:90
>  /Users/user/.gem/ruby/1.8/bin/deltacloudd:19:in `load'
>  /Users/user/.gem/ruby/1.8/bin/deltacloudd:19
> ::1 - - [24/Feb/2011 04:22:33] "GET /api/instance_states?format=png HTTP/1.1" 500 30
0.0894
> ::1 - - [24/Feb/2011 04:22:33] "GET /api/instance_states?format=png HTTP/1.1" 500 30
0.0923
> ::1 - - [24/Feb/2011 04:22:33] "GET /favicon.ico HTTP/1.1" 304 - 0.0011
> ::1 - - [24/Feb/2011 04:22:33] "GET /favicon.ico HTTP/1.1" 304 - 0.0012
> *******************************************************

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message