Ronelle Landy created DTACLOUD-393:
--------------------------------------
Summary: Starting deltacloud server with native frontend, pointng
at mock driver, errors out
Key: DTACLOUD-393
URL: https://issues.apache.org/jira/browse/DTACLOUD-393
Project: DeltaCloud
Issue Type: Bug
Components: Native/Frontend
Environment: Fedora 17
deltacloud commit version: 45c8aa2221c59cd780b32f8dd48ed45f0fa448fe
ruby 1.9.3p327
mock driver
Reporter: Ronelle Landy
1. "yum install sqlite-devel"
2. cd/server ... bundle
3. ./bin/deltacloudd -i mock
Starting Deltacloud API :: mock :: http://localhost:3001/api
/usr/share/ruby/fileutils.rb:1344:in `mkdir': No such file or directory -
/var/tmp/deltacloud-mock-root/blobs (Errno::ENOENT)
from /usr/share/ruby/fileutils.rb:1344:in `copy'
from /usr/share/ruby/fileutils.rb:465:in `block in copy_entry'
from /usr/share/ruby/fileutils.rb:1433:in `preorder_traverse'
from /usr/share/ruby/fileutils.rb:462:in `copy_entry'
from /usr/share/ruby/fileutils.rb:437:in `block in cp_r'
from /usr/share/ruby/fileutils.rb:1515:in `block in fu_each_src_dest'
from /usr/share/ruby/fileutils.rb:1524:in `block in fu_each_src_dest0'
from /usr/share/ruby/fileutils.rb:1522:in `each'
from /usr/share/ruby/fileutils.rb:1522:in `fu_each_src_dest0'
from /usr/share/ruby/fileutils.rb:1513:in `fu_each_src_dest'
from /usr/share/ruby/fileutils.rb:436:in `cp_r'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/drivers/mock/mock_client.rb:31:in
`initialize'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/drivers/mock/mock_driver.rb:95:in
`new'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/drivers/mock/mock_driver.rb:95:in
`initialize'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/helpers/driver_helper.rb:50:in
`new'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/helpers/driver_helper.rb:50:in
`driver_class'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/helpers/driver_helper.rb:60:in
`driver'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections/instances.rb:22:in
`block in <class:Instances>'
from
/usr/local/share/gems/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base.rb:345:in
`call'
from
/usr/local/share/gems/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base.rb:345:in
`block in generate'
from
/usr/local/share/gems/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base.rb:343:in
`each'
from
/usr/local/share/gems/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base.rb:343:in
`generate'
from
/usr/local/share/gems/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base.rb:236:in
`operation'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/helpers/rabbit_helper.rb:28:in
`standard_show_operation'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections/instances.rb:43:in
`block in <class:Instances>'
from
/usr/local/share/gems/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base.rb:109:in
`class_eval'
from
/usr/local/share/gems/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base.rb:109:in
`generate'
from
/usr/local/share/gems/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/dsl.rb:36:in
`block in collection'
from
/usr/local/share/gems/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base_collection.rb:56:in
`rescue in collection_class'
from
/usr/local/share/gems/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base_collection.rb:53:in
`collection_class'
from
/usr/local/share/gems/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/dsl.rb:34:in
`collection'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections/instances.rb:41:in
`<class:Instances>'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections/instances.rb:17:in
`<module:Collections>'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections/instances.rb:16:in
`<top (required)>'
from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections.rb:42:in
`block in <module:Collections>'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections.rb:39:in
`each'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections.rb:39:in
`<module:Collections>'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections.rb:29:in
`<module:Deltacloud>'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections.rb:19:in
`<top (required)>'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/server.rb:27:in
`require_relative'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/server.rb:27:in `<top
(required)>'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud_rack.rb:42:in
`require_relative'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud_rack.rb:42:in
`require_frontend!'
from
/home/dcloud/workspace/deltacloud/server/lib/deltacloud_rack.rb:126:in
`require!'
from /home/dcloud/workspace/deltacloud/server/config.ru:62:in `block (2
levels) in <main>'
from /home/dcloud/workspace/deltacloud/server/config.ru:56:in `each'
from /home/dcloud/workspace/deltacloud/server/config.ru:56:in `block in
<main>'
from /usr/local/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:51:in
`instance_eval'
from /usr/local/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:51:in
`initialize'
from /home/dcloud/workspace/deltacloud/server/config.ru:1:in `new'
from /home/dcloud/workspace/deltacloud/server/config.ru:1:in `<main>'
from
/usr/local/share/gems/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in `eval'
from
/usr/local/share/gems/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in `load'
from
/usr/local/share/gems/gems/thin-1.5.0/lib/thin/controllers/controller.rb:181:in
`load_rackup_config'
from
/usr/local/share/gems/gems/thin-1.5.0/lib/thin/controllers/controller.rb:71:in
`start'
from /usr/local/share/gems/gems/thin-1.5.0/lib/thin/runner.rb:187:in
`run_command'
from /usr/local/share/gems/gems/thin-1.5.0/lib/thin/runner.rb:152:in
`run!'
from ./bin/deltacloudd:248:in `<main>'
--
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: http://www.atlassian.com/software/jira