$ gem bosh list
*** LOCAL GEMS ***

bosh_aws_cpi (0.6.2)
bosh_aws_registry (0.2.2)
bosh_cli (1.0.1, 1.0)
bosh_common (0.5.1)
bosh_cpi (0.4.4)
bosh_deployer (1.0.1)
bosh_encryption (0.0.3)
bosh_openstack_cpi (0.0.3)
bosh_openstack_registry (0.0.2)
bosh_vsphere_cpi (0.5.0)

$ bosh micro deployment microbosh-openstack

$ bosh micro deploy
/var/vcap/stemcells/micro-bosh-stemcell-openstack-0.6.7.tgz

this setup error ( bosh_micro_deploy.log )


$ cat micrmicrobosh-openstack/o_bosh.yml
---
name: microbosh-openstack


env:
bosh:
password:
$6$EGQYQcLrK$A.3uRYTg/afsaHXxbjfRRihTbUuEbdN0wV2ljPMQQsPiJD1yKiDLf.fJNeei1AVHtn4fqTuVGDIrJVej18vHi.


logging:
level: DEBUG


network:
type: dynamic
label: nova
vip: 192.168.1.230


resources:
persistent_disk: 4096
cloud_properties:
instance_type: m1.easypaas


cloud:
plugin: openstack
properties:
openstack:
auth_url: http://192.168.1.113:35357/v2.0/tokens
username: admin
api_key: admin
tenant: admin
default_key_name: inception
default_security_groups: ["default"]
private_key: /home/vcap/.ssh/inception.pem


apply_spec:
agent:
blobstore:
address: 192.168.1.230
nats:
address: 192.168.1.230
properties:
openstack_registry:
address: 192.168.1.230

Search Discussions

  • Fred Chu at Nov 2, 2012 at 10:43 am
    bosh_micro_deploy.log here

    ----

    I, [2012-11-02T08:56:28.924059 #12775] [0x36c6a8] INFO -- : Loading
    existing deployment data from: /var/vcap/deployments/bosh-deployments.yml
    I, [2012-11-02T09:05:18.419664 #12871] [0x43fea4] INFO -- : Loading
    existing deployment data from: /var/vcap/deployments/bosh-deployments.yml
    I, [2012-11-02T09:05:25.738335 #12871] [0x43fea4] INFO -- :
    openstack_registry is ready on port 25889
    I, [2012-11-02T09:05:40.821807 #12871] [0x43fea4] INFO -- : Loading yaml
    from /tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/apply_spec.yml
    I, [2012-11-02T09:05:40.848707 #12871] [0x43fea4] INFO -- : Loading yaml
    from /tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/stemcell.MF
    I, [2012-11-02T09:05:42.776600 #12871]
    [create_stemcell(/tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/image...)]
    INFO -- : Extracting stemcell to
    `/tmp/d20121102-12871-5ex3jy/d20121102-12871-1nfs7pg'
    I, [2012-11-02T09:06:30.649234 #12871]
    [create_stemcell(/tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/image...)]
    INFO -- : Creating new image...
    E, [2012-11-02T09:06:31.174811 #12871]
    [create_stemcell(/tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/image...)]
    ERROR -- : Expected(201) <=> Actual(300 Multiple Choices)
    request => {:chunk_size=>1048576, :connect_timeout=>60,
    :headers=>{"Content-Type"=>"application/octet-stream",
    "X-Auth-Token"=>"90ae9628b2fa4bbb966856288a6cdac1",
    "x-image-meta-name"=>"AKI-BOSH-a4dcb1ef-3412-49e4-8436-7d71b7890958",
    "x-image-meta-disk-format"=>"aki", "x-image-meta-container-format"=>"aki",
    "x-image-meta-size"=>nil, "x-image-meta-is-public"=>nil,
    "x-image-meta-owner"=>nil, "x-glance-api-copy-from"=>nil,
    "x-image-meta-property-stemcell"=>"BOSH-a4dcb1ef-3412-49e4-8436-7d71b7890958",
    "Host"=>"192.168.1.113:9292", "Content-Length"=>4599664},
    :instrumentor_name=>"excon", :mock=>false, :nonblock=>true,
    :read_timeout=>60, :retry_limit=>4,
    :ssl_ca_file=>"/usr/local/rvm/gems/ruby-1.9.3-p286/gems/excon-0.16.7/data/cacert.pem",
    :ssl_verify_peer=>true, :write_timeout=>60, :host=>"192.168.1.113",
    :host_port=>"192.168.1.113:9292", :path=>"/images", :port=>"9292",
    :query=>nil, :scheme=>"http",
    :body=>#<File:/tmp/d20121102-12871-5ex3jy/d20121102-12871-1nfs7pg/kernel.img>,
    :expects=>201, :method=>"POST"}
    response => #<Excon::Response:0x00000001da0ee8 @body="{\"versions\":
    [{\"status\": \"CURRENT\", \"id\": \"v2.0\", \"links\": [{\"href\":
    \"http://192.168.1.113:9292/v2/\", \"rel\": \"self\"}]}, {\"status\":
    \"CURRENT\", \"id\": \"v1.1\", \"links\": [{\"href\":
    \"http://192.168.1.113:9292/v1/\", \"rel\": \"self\"}]}, {\"status\":
    \"SUPPORTED\", \"id\": \"v1.0\", \"links\": [{\"href\":
    \"http://192.168.1.113:9292/v1/\", \"rel\": \"self\"}]}]}",
    @headers={"Content-Type"=>"application/json", "Content-Length"=>"334",
    "Date"=>"Fri, 02 Nov 2012 09:06:30 GMT"}, @status=300>
    (Excon::Errors::MultipleChoices)
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/excon-0.16.7/lib/excon/connection.rb:292:in
    `request_kernel'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/excon-0.16.7/lib/excon/connection.rb:103:in
    `request'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/core/connection.rb:20:in
    `request'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/openstack/image.rb:132:in
    `request'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/openstack/requests/image/create_image.rb:39:in
    `create_image'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/openstack/models/image/image.rb:46:in
    `create'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/openstack/models/image/image.rb:41:in
    `save'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/core/collection.rb:50:in
    `create'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_openstack_cpi-0.0.3/lib/cloud/openstack/cloud.rb:522:in
    `upload_image'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_openstack_cpi-0.0.3/lib/cloud/openstack/cloud.rb:87:in
    `block (2 levels) in create_stemcell'
    /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/tmpdir.rb:83:in
    `mktmpdir'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_openstack_cpi-0.0.3/lib/cloud/openstack/cloud.rb:61:in
    `block in create_stemcell'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_common-0.5.1/lib/common/thread_formatter.rb:46:in
    `with_thread_name'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_openstack_cpi-0.0.3/lib/cloud/openstack/cloud.rb:59:in
    `create_stemcell'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:213:in
    `block (2 levels) in create_stemcell'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:84:in
    `step'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:212:in
    `block in create_stemcell'
    /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/tmpdir.rb:83:in
    `mktmpdir'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:198:in
    `create_stemcell'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:128:in
    `create'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:104:in
    `block in create_deployment'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:97:in
    `with_lifecycle'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:103:in
    `create_deployment'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/bosh/cli/commands/micro.rb:159:in
    `perform'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_cli-1.0.1/lib/cli/command_handler.rb:57:in
    `run'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_cli-1.0.1/lib/cli/runner.rb:61:in
    `run'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_cli-1.0.1/lib/cli/runner.rb:18:in
    `run'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_cli-1.0.1/bin/bosh:16:in
    `<top (required)>'
    /usr/local/rvm/gems/ruby-1.9.3-p286/bin/bosh:19:in `load'
    /usr/local/rvm/gems/ruby-1.9.3-p286/bin/bosh:19:in `<main>'
    /usr/local/rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:in `eval'
    /usr/local/rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:in `<main>'
  • Ferran Rodenas at Nov 2, 2012 at 12:03 pm
    Error "300 Multiple Choices" is returned by OpenStack Glance. That means
    that your glance endpoint is incorrect. You've to modify it to add the API
    version (keystone endpoint-delete + keystone endpoint-create -> More info
    here<http://docs.openstack.org/trunk/openstack-compute/install/apt/content/osfolubuntu-identityservice.html>
    ).

    - Ferdy


    2012/11/2 Fred Chu <fred1982@gmail.com>
    bosh_micro_deploy.log here

    ----

    I, [2012-11-02T08:56:28.924059 #12775] [0x36c6a8] INFO -- : Loading
    existing deployment data from: /var/vcap/deployments/bosh-deployments.yml
    I, [2012-11-02T09:05:18.419664 #12871] [0x43fea4] INFO -- : Loading
    existing deployment data from: /var/vcap/deployments/bosh-deployments.yml
    I, [2012-11-02T09:05:25.738335 #12871] [0x43fea4] INFO -- :
    openstack_registry is ready on port 25889
    I, [2012-11-02T09:05:40.821807 #12871] [0x43fea4] INFO -- : Loading yaml
    from /tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/apply_spec.yml
    I, [2012-11-02T09:05:40.848707 #12871] [0x43fea4] INFO -- : Loading yaml
    from /tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/stemcell.MF
    I, [2012-11-02T09:05:42.776600 #12871]
    [create_stemcell(/tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/image...)]
    INFO -- : Extracting stemcell to
    `/tmp/d20121102-12871-5ex3jy/d20121102-12871-1nfs7pg'
    I, [2012-11-02T09:06:30.649234 #12871]
    [create_stemcell(/tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/image...)]
    INFO -- : Creating new image...
    E, [2012-11-02T09:06:31.174811 #12871]
    [create_stemcell(/tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/image...)]
    ERROR -- : Expected(201) <=> Actual(300 Multiple Choices)
    request => {:chunk_size=>1048576, :connect_timeout=>60,
    :headers=>{"Content-Type"=>"application/octet-stream",
    "X-Auth-Token"=>"90ae9628b2fa4bbb966856288a6cdac1",
    "x-image-meta-name"=>"AKI-BOSH-a4dcb1ef-3412-49e4-8436-7d71b7890958",
    "x-image-meta-disk-format"=>"aki", "x-image-meta-container-format"=>"aki",
    "x-image-meta-size"=>nil, "x-image-meta-is-public"=>nil,
    "x-image-meta-owner"=>nil, "x-glance-api-copy-from"=>nil,
    "x-image-meta-property-stemcell"=>"BOSH-a4dcb1ef-3412-49e4-8436-7d71b7890958",
    "Host"=>"192.168.1.113:9292", "Content-Length"=>4599664},
    :instrumentor_name=>"excon", :mock=>false, :nonblock=>true,
    :read_timeout=>60, :retry_limit=>4,
    :ssl_ca_file=>"/usr/local/rvm/gems/ruby-1.9.3-p286/gems/excon-0.16.7/data/cacert.pem",
    :ssl_verify_peer=>true, :write_timeout=>60, :host=>"192.168.1.113",
    :host_port=>"192.168.1.113:9292", :path=>"/images", :port=>"9292",
    :query=>nil, :scheme=>"http",
    :body=>#<File:/tmp/d20121102-12871-5ex3jy/d20121102-12871-1nfs7pg/kernel.img>,
    :expects=>201, :method=>"POST"}
    response => #<Excon::Response:0x00000001da0ee8 @body="{\"versions\":
    [{\"status\": \"CURRENT\", \"id\": \"v2.0\", \"links\": [{\"href\": \"
    http://192.168.1.113:9292/v2/\", \"rel\": \"self\"}]}, {\"status\":
    \"CURRENT\", \"id\": \"v1.1\", \"links\": [{\"href\": \"
    http://192.168.1.113:9292/v1/\", \"rel\": \"self\"}]}, {\"status\":
    \"SUPPORTED\", \"id\": \"v1.0\", \"links\": [{\"href\": \"
    http://192.168.1.113:9292/v1/\", \"rel\": \"self\"}]}]}",
    @headers={"Content-Type"=>"application/json", "Content-Length"=>"334",
    "Date"=>"Fri, 02 Nov 2012 09:06:30 GMT"}, @status=300>
    (Excon::Errors::MultipleChoices)
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/excon-0.16.7/lib/excon/connection.rb:292:in
    `request_kernel'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/excon-0.16.7/lib/excon/connection.rb:103:in
    `request'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/core/connection.rb:20:in
    `request'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/openstack/image.rb:132:in
    `request'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/openstack/requests/image/create_image.rb:39:in
    `create_image'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/openstack/models/image/image.rb:46:in
    `create'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/openstack/models/image/image.rb:41:in
    `save'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/core/collection.rb:50:in
    `create'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_openstack_cpi-0.0.3/lib/cloud/openstack/cloud.rb:522:in
    `upload_image'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_openstack_cpi-0.0.3/lib/cloud/openstack/cloud.rb:87:in
    `block (2 levels) in create_stemcell'
    /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/tmpdir.rb:83:in
    `mktmpdir'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_openstack_cpi-0.0.3/lib/cloud/openstack/cloud.rb:61:in
    `block in create_stemcell'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_common-0.5.1/lib/common/thread_formatter.rb:46:in
    `with_thread_name'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_openstack_cpi-0.0.3/lib/cloud/openstack/cloud.rb:59:in
    `create_stemcell'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:213:in
    `block (2 levels) in create_stemcell'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:84:in
    `step'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:212:in
    `block in create_stemcell'
    /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/tmpdir.rb:83:in
    `mktmpdir'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:198:in
    `create_stemcell'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:128:in
    `create'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:104:in
    `block in create_deployment'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:97:in
    `with_lifecycle'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:103:in
    `create_deployment'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/bosh/cli/commands/micro.rb:159:in
    `perform'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_cli-1.0.1/lib/cli/command_handler.rb:57:in
    `run'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_cli-1.0.1/lib/cli/runner.rb:61:in
    `run'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_cli-1.0.1/lib/cli/runner.rb:18:in
    `run'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_cli-1.0.1/bin/bosh:16:in
    `<top (required)>'
    /usr/local/rvm/gems/ruby-1.9.3-p286/bin/bosh:19:in `load'
    /usr/local/rvm/gems/ruby-1.9.3-p286/bin/bosh:19:in `<main>'
    /usr/local/rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:in `eval'
    /usr/local/rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:in `<main>'
  • Fred Chu at Nov 5, 2012 at 7:10 am
    thx, it's work

    在 2012年11月2日星期五UTC+8下午8时03分00秒,ferdy写道:
    Error "300 Multiple Choices" is returned by OpenStack Glance. That means
    that your glance endpoint is incorrect. You've to modify it to add the API
    version (keystone endpoint-delete + keystone endpoint-create -> More info
    here<http://docs.openstack.org/trunk/openstack-compute/install/apt/content/osfolubuntu-identityservice.html>
    ).

    - Ferdy


    2012/11/2 Fred Chu <fred...@gmail.com <javascript:>>
    bosh_micro_deploy.log here

    ----

    I, [2012-11-02T08:56:28.924059 #12775] [0x36c6a8] INFO -- : Loading
    existing deployment data from: /var/vcap/deployments/bosh-deployments.yml
    I, [2012-11-02T09:05:18.419664 #12871] [0x43fea4] INFO -- : Loading
    existing deployment data from: /var/vcap/deployments/bosh-deployments.yml
    I, [2012-11-02T09:05:25.738335 #12871] [0x43fea4] INFO -- :
    openstack_registry is ready on port 25889
    I, [2012-11-02T09:05:40.821807 #12871] [0x43fea4] INFO -- : Loading yaml
    from /tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/apply_spec.yml
    I, [2012-11-02T09:05:40.848707 #12871] [0x43fea4] INFO -- : Loading yaml
    from /tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/stemcell.MF
    I, [2012-11-02T09:05:42.776600 #12871]
    [create_stemcell(/tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/image...)]
    INFO -- : Extracting stemcell to
    `/tmp/d20121102-12871-5ex3jy/d20121102-12871-1nfs7pg'
    I, [2012-11-02T09:06:30.649234 #12871]
    [create_stemcell(/tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/image...)]
    INFO -- : Creating new image...
    E, [2012-11-02T09:06:31.174811 #12871]
    [create_stemcell(/tmp/d20121102-12871-5ex3jy/sc-20121102-12871-1rmq1to/image...)]
    ERROR -- : Expected(201) <=> Actual(300 Multiple Choices)
    request => {:chunk_size=>1048576, :connect_timeout=>60,
    :headers=>{"Content-Type"=>"application/octet-stream",
    "X-Auth-Token"=>"90ae9628b2fa4bbb966856288a6cdac1",
    "x-image-meta-name"=>"AKI-BOSH-a4dcb1ef-3412-49e4-8436-7d71b7890958",
    "x-image-meta-disk-format"=>"aki", "x-image-meta-container-format"=>"aki",
    "x-image-meta-size"=>nil, "x-image-meta-is-public"=>nil,
    "x-image-meta-owner"=>nil, "x-glance-api-copy-from"=>nil,
    "x-image-meta-property-stemcell"=>"BOSH-a4dcb1ef-3412-49e4-8436-7d71b7890958",
    "Host"=>"192.168.1.113:9292", "Content-Length"=>4599664},
    :instrumentor_name=>"excon", :mock=>false, :nonblock=>true,
    :read_timeout=>60, :retry_limit=>4,
    :ssl_ca_file=>"/usr/local/rvm/gems/ruby-1.9.3-p286/gems/excon-0.16.7/data/cacert.pem",
    :ssl_verify_peer=>true, :write_timeout=>60, :host=>"192.168.1.113",
    :host_port=>"192.168.1.113:9292", :path=>"/images", :port=>"9292",
    :query=>nil, :scheme=>"http",
    :body=>#<File:/tmp/d20121102-12871-5ex3jy/d20121102-12871-1nfs7pg/kernel.img>,
    :expects=>201, :method=>"POST"}
    response => #<Excon::Response:0x00000001da0ee8 @body="{\"versions\":
    [{\"status\": \"CURRENT\", \"id\": \"v2.0\", \"links\": [{\"href\": \"
    http://192.168.1.113:9292/v2/\", \"rel\": \"self\"}]}, {\"status\":
    \"CURRENT\", \"id\": \"v1.1\", \"links\": [{\"href\": \"
    http://192.168.1.113:9292/v1/\", \"rel\": \"self\"}]}, {\"status\":
    \"SUPPORTED\", \"id\": \"v1.0\", \"links\": [{\"href\": \"
    http://192.168.1.113:9292/v1/\", \"rel\": \"self\"}]}]}",
    @headers={"Content-Type"=>"application/json", "Content-Length"=>"334",
    "Date"=>"Fri, 02 Nov 2012 09:06:30 GMT"}, @status=300>
    (Excon::Errors::MultipleChoices)
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/excon-0.16.7/lib/excon/connection.rb:292:in
    `request_kernel'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/excon-0.16.7/lib/excon/connection.rb:103:in
    `request'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/core/connection.rb:20:in
    `request'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/openstack/image.rb:132:in
    `request'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/openstack/requests/image/create_image.rb:39:in
    `create_image'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/openstack/models/image/image.rb:46:in
    `create'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/openstack/models/image/image.rb:41:in
    `save'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/fog-1.5.0/lib/fog/core/collection.rb:50:in
    `create'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_openstack_cpi-0.0.3/lib/cloud/openstack/cloud.rb:522:in
    `upload_image'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_openstack_cpi-0.0.3/lib/cloud/openstack/cloud.rb:87:in
    `block (2 levels) in create_stemcell'
    /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/tmpdir.rb:83:in
    `mktmpdir'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_openstack_cpi-0.0.3/lib/cloud/openstack/cloud.rb:61:in
    `block in create_stemcell'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_common-0.5.1/lib/common/thread_formatter.rb:46:in
    `with_thread_name'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_openstack_cpi-0.0.3/lib/cloud/openstack/cloud.rb:59:in
    `create_stemcell'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:213:in
    `block (2 levels) in create_stemcell'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:84:in
    `step'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:212:in
    `block in create_stemcell'
    /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/tmpdir.rb:83:in
    `mktmpdir'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:198:in
    `create_stemcell'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:128:in
    `create'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:104:in
    `block in create_deployment'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:97:in
    `with_lifecycle'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/deployer/instance_manager.rb:103:in
    `create_deployment'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_deployer-1.0.1/lib/bosh/cli/commands/micro.rb:159:in
    `perform'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_cli-1.0.1/lib/cli/command_handler.rb:57:in
    `run'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_cli-1.0.1/lib/cli/runner.rb:61:in
    `run'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_cli-1.0.1/lib/cli/runner.rb:18:in
    `run'
    /usr/local/rvm/gems/ruby-1.9.3-p286/gems/bosh_cli-1.0.1/bin/bosh:16:in
    `<top (required)>'
    /usr/local/rvm/gems/ruby-1.9.3-p286/bin/bosh:19:in `load'
    /usr/local/rvm/gems/ruby-1.9.3-p286/bin/bosh:19:in `<main>'
    /usr/local/rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:in `eval'
    /usr/local/rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:in `<main>'

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupbosh-dev @
postedNov 2, '12 at 10:41a
activeNov 5, '12 at 7:10a
posts4
users2

2 users in discussion

Fred Chu: 3 posts Ferran Rodenas: 1 post

People

Translate

site design / logo © 2021 Grokbase