[ https://issues.apache.org/jira/browse/DTACLOUD-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133909#comment-13133909 ]
Michal Fojtik commented on DTACLOUD-98: --------------------------------------- Hi Ramesh, This error occurs when you're trying to render instance_states image using graphviz and you don't have graphiz installed. DC is piping .dot data through 'graphviz' binary. > Broken pipe error is found in the console when accessing "Instance States" > page in Deltacloud UI > ------------------------------------------------------------------------------------------------ > > Key: DTACLOUD-98 > URL: https://issues.apache.org/jira/browse/DTACLOUD-98 > Project: DeltaCloud > Issue Type: Bug > Components: Client (Ruby) > Environment: OS - F15 X86_64, RHEL6.1 x86_64, > Deltacloud API 0.4.1 > Commit 2f02a4ba0ec19a41fa1753c89bc9ddbcaa202243 > Reporter: Ramesh A > Assignee: Michal Fojtik > Priority: Minor > Attachments: Instance-state-transition.png > > > Boken pipe error is found in the console when accessing "Instance States" > page in Deltacloud UI > Reproduction Steps: > =============== > Access the Deltacloud UI and click on the "Instance States" link > Expected Result: > ============= > 1. Should load the page completely > 2. Should not throw any error message in the console > Actual Result: > =========== > 1. Page does not load completely, Instance state transition image not does > not show up. > 2. Broken pipe error is found in the console. > Refer "Instance-state-transition.png" and stack trace for further information > Stack Trace: > ========== > [WARN: /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:732:in > `options']: "Sinatra::Base#options is deprecated and will be removed, use > #settings instead." > [WARN: /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:732:in > `options']: "Sinatra::Base#options is deprecated and will be removed, use > #settings instead." > [WARN: /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:732:in > `options']: "Sinatra::Base#options is deprecated and will be removed, use > #settings instead." > 10.11.9.28 - - [18/Oct/2011 17:20:54] "GET /api/instance_states HTTP/1.1" 200 > 5592 0.2946 > Errno::EPIPE - Broken pipe: > ./bin/../lib/deltacloud/server.rb:294:in `write' > ./bin/../lib/deltacloud/server.rb:294 > /usr/lib/ruby/1.8/open3.rb:86:in `popen3' > ./bin/../lib/deltacloud/server.rb:293 > ./bin/../lib/sinatra/rack_accept.rb:86:in `call' > ./bin/../lib/sinatra/rack_accept.rb:86:in `respond_to' > ./bin/../lib/deltacloud/server.rb:273 > ./bin/../lib/sinatra/rabbit.rb:125:in `instance_eval' > ./bin/../lib/sinatra/rabbit.rb:125:in `GET /api/instance_states' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1211:in > `call' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1211:in > `compile!' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:772:in > `[]' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:772:in > `route!' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:788:in > `route_eval' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:772:in > `route!' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:821:in > `process_route' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:819:in > `catch' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:819:in > `process_route' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:771:in > `route!' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:770:in > `each' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:770:in > `route!' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:886:in > `dispatch!' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:706:in > `call!' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in > `invoke' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in > `catch' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in > `invoke' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:706:in > `call!' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:692:in > `call' > ./bin/../lib/sinatra/rack_date.rb:31:in `call' > ./bin/../lib/sinatra/rack_accept.rb:149:in `call' > > /usr/lib/ruby/gems/1.8/gems/rack-protection-1.1.4/lib/rack/protection/xss_header.rb:22:in > `call' > > /usr/lib/ruby/gems/1.8/gems/rack-protection-1.1.4/lib/rack/protection/path_traversal.rb:16:in > `call' > > /usr/lib/ruby/gems/1.8/gems/rack-protection-1.1.4/lib/rack/protection/json_csrf.rb:17:in > `call' > > /usr/lib/ruby/gems/1.8/gems/rack-protection-1.1.4/lib/rack/protection/base.rb:47:in > `call' > > /usr/lib/ruby/gems/1.8/gems/rack-protection-1.1.4/lib/rack/protection/xss_header.rb:22:in > `call' > /usr/lib/ruby/gems/1.8/gems/rack-1.3.4/lib/rack/nulllogger.rb:9:in > `call' > /usr/lib/ruby/gems/1.8/gems/rack-1.3.4/lib/rack/head.rb:9:in `call' > > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/showexceptions.rb:21:in > `call' > ./bin/../lib/sinatra/rack_driver_select.rb:45:in `call' > ./bin/../lib/sinatra/rack_matrix_params.rb:102:in `call' > ./bin/../lib/sinatra/rack_runtime.rb:36:in `call' > ./bin/../lib/sinatra/rack_etag.rb:41:in `call' > > /usr/lib/ruby/gems/1.8/gems/rack-accept-0.4.4/lib/rack/accept/context.rb:22:in > `call' > > /usr/lib/ruby/gems/1.8/gems/rack-protection-1.1.4/lib/rack/protection/xss_header.rb:22:in > `call' > > /usr/lib/ruby/gems/1.8/gems/rack-protection-1.1.4/lib/rack/protection/path_traversal.rb:16:in > `call' > > /usr/lib/ruby/gems/1.8/gems/rack-protection-1.1.4/lib/rack/protection/json_csrf.rb:17:in > `call' > > /usr/lib/ruby/gems/1.8/gems/rack-protection-1.1.4/lib/rack/protection/base.rb:47:in > `call' > > /usr/lib/ruby/gems/1.8/gems/rack-protection-1.1.4/lib/rack/protection/xss_header.rb:22:in > `call' > /usr/lib/ruby/gems/1.8/gems/rack-1.3.4/lib/rack/logger.rb:15:in `call' > /usr/lib/ruby/gems/1.8/gems/rack-1.3.4/lib/rack/commonlogger.rb:20:in > `call' > /usr/lib/ruby/gems/1.8/gems/rack-1.3.4/lib/rack/head.rb:9:in `call' > /usr/lib/ruby/gems/1.8/gems/rack-1.3.4/lib/rack/methodoverride.rb:24:in > `call' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1334:in > `call' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1403:in > `synchronize' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1334:in > `call' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/connection.rb:84:in > `pre_process' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/connection.rb:82:in > `catch' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/connection.rb:82:in > `pre_process' > > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in > `call' > > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in > `spawn_threadpool' > > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in > `initialize' > > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in > `new' > > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in > `spawn_threadpool' > > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1049:in > `defer' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/connection.rb:54:in > `process' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/connection.rb:42:in > `receive_data' > > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in > `run_machine' > > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in > `run' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/backends/base.rb:61:in > `start' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/server.rb:159:in > `start' > > /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/controllers/controller.rb:86:in > `start' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/runner.rb:185:in `send' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/runner.rb:185:in > `run_command' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/runner.rb:151:in `run!' > ./bin/deltacloudd:226 > 10.11.9.28 - - [18/Oct/2011 17:20:55] "GET /api/instance_states?format=png > HTTP/1.1" 406 - 0.3466 -- 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