HI,

I'm trying to create and deploy redis release, but ran into this error
"BOSH CLI Error: can't convert nil into Hash". Do you know what this error
mean?

ple@bosh-cli2:~/releases/redis-on-demand/redis-on-demand$ bosh create
release --force
BOSH CLI Error: can't convert nil into Hash
Error information saved in /home/ple/.bosh_error

ple@bosh-cli2:~/releases/redis-on-demand/redis-on-demand$ cat
/home/ple/.bosh_error
can't convert nil into Hash
/home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/release.rb:136:in
`merge'
/home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/release.rb:136:in
`merge_private_data'
/home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/release.rb:102:in
`blobstore'
/home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/blob_manager.rb:47:in
`initialize'
/home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/commands/base.rb:42:in
`new'
/home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/commands/base.rb:42:in
`blob_manager'
/home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/commands/release.rb:219:in
`create_from_spec'
/home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/commands/release.rb:186:in
`create'
/home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/runner.rb:69:in
`run'
/home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/runner.rb:24:in
`run'
/home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/bin/bosh:16:in
`<top (required)>'
/home/ple/.rbenv/versions/1.9.2-p290/bin/bosh:23:in `load'
/home/ple/.rbenv/versions/1.9.2-p290/bin/bosh:23:in `<main>'

ple@bosh-cli2:~/releases/redis-on-demand/redis-on-demand$ bosh status

Updating director data... done

Target bosh_director (http://10.40.33.224:25555) Ver: 0.6
(release:f69e2079 bosh:c5be4b04)
UUID 8eb38c11-91d9-4405-b4b4-a4dfed8379e9
User admin
Deployment /home/ple/releases/bosh-sample-release/wordpress.yml

You are in release directory
----------------------------
Dev name: redis-on-demand
Dev version: no versions yet

Final name: not set
Final version: no versions yet

Packages
+-------+----------+----------+
Name | Dev | Final |
+-------+----------+----------+
redis | n/a | n/a |
+-------+----------+----------+

Jobs
+-------+----------+----------+
Name | Dev | Final |
+-------+----------+----------+
redis | n/a | n/a |
+-------+----------+----------+

Search Discussions

  • Ferdy at Sep 25, 2012 at 11:17 pm
    Peter,

    Your blobstore provider is not the same at config/final.yml and
    config/private.yml. Check your private.yml, if you see:

    ---
    blobstore:
    simple:
    user: USER
    password: PASSWORD

    change "simple" for "local":

    ---
    blobstore:
    local:
    user: USER
    password: PASSWORD

    If this is not your case, please paste your final.yml and private.yml files.

    - Ferdy

    On Thursday, September 20, 2012 9:37:12 PM UTC+2, Peter Le wrote:

    HI,

    I'm trying to create and deploy redis release, but ran into this error
    "BOSH CLI Error: can't convert nil into Hash". Do you know what this error
    mean?

    ple@bosh-cli2:~/releases/redis-on-demand/redis-on-demand$ bosh create
    release --force
    BOSH CLI Error: can't convert nil into Hash
    Error information saved in /home/ple/.bosh_error

    ple@bosh-cli2:~/releases/redis-on-demand/redis-on-demand$ cat
    /home/ple/.bosh_error
    can't convert nil into Hash
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/release.rb:136:in
    `merge'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/release.rb:136:in
    `merge_private_data'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/release.rb:102:in
    `blobstore'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/blob_manager.rb:47:in
    `initialize'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/commands/base.rb:42:in
    `new'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/commands/base.rb:42:in
    `blob_manager'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/commands/release.rb:219:in
    `create_from_spec'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/commands/release.rb:186:in
    `create'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/runner.rb:69:in
    `run'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/runner.rb:24:in
    `run'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/bin/bosh:16:in
    `<top (required)>'
    /home/ple/.rbenv/versions/1.9.2-p290/bin/bosh:23:in `load'
    /home/ple/.rbenv/versions/1.9.2-p290/bin/bosh:23:in `<main>'

    ple@bosh-cli2:~/releases/redis-on-demand/redis-on-demand$ bosh status

    Updating director data... done

    Target bosh_director (http://10.40.33.224:25555) Ver: 0.6
    (release:f69e2079 bosh:c5be4b04)
    UUID 8eb38c11-91d9-4405-b4b4-a4dfed8379e9
    User admin
    Deployment /home/ple/releases/bosh-sample-release/wordpress.yml

    You are in release directory
    ----------------------------
    Dev name: redis-on-demand
    Dev version: no versions yet

    Final name: not set
    Final version: no versions yet

    Packages
    +-------+----------+----------+
    Name | Dev | Final |
    +-------+----------+----------+
    redis | n/a | n/a |
    +-------+----------+----------+

    Jobs
    +-------+----------+----------+
    Name | Dev | Final |
    +-------+----------+----------+
    redis | n/a | n/a |
    +-------+----------+----------+
  • Peter Le at Sep 26, 2012 at 11:46 pm
    Thank you, that fixed it.

    peter
    On Thursday, September 20, 2012 12:37:12 PM UTC-7, Peter Le wrote:

    HI,

    I'm trying to create and deploy redis release, but ran into this error
    "BOSH CLI Error: can't convert nil into Hash". Do you know what this error
    mean?

    ple@bosh-cli2:~/releases/redis-on-demand/redis-on-demand$ bosh create
    release --force
    BOSH CLI Error: can't convert nil into Hash
    Error information saved in /home/ple/.bosh_error

    ple@bosh-cli2:~/releases/redis-on-demand/redis-on-demand$ cat
    /home/ple/.bosh_error
    can't convert nil into Hash
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/release.rb:136:in
    `merge'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/release.rb:136:in
    `merge_private_data'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/release.rb:102:in
    `blobstore'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/blob_manager.rb:47:in
    `initialize'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/commands/base.rb:42:in
    `new'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/commands/base.rb:42:in
    `blob_manager'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/commands/release.rb:219:in
    `create_from_spec'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/commands/release.rb:186:in
    `create'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/runner.rb:69:in
    `run'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/lib/cli/runner.rb:24:in
    `run'
    /home/ple/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bosh_cli-0.19.6/bin/bosh:16:in
    `<top (required)>'
    /home/ple/.rbenv/versions/1.9.2-p290/bin/bosh:23:in `load'
    /home/ple/.rbenv/versions/1.9.2-p290/bin/bosh:23:in `<main>'

    ple@bosh-cli2:~/releases/redis-on-demand/redis-on-demand$ bosh status

    Updating director data... done

    Target bosh_director (http://10.40.33.224:25555) Ver: 0.6
    (release:f69e2079 bosh:c5be4b04)
    UUID 8eb38c11-91d9-4405-b4b4-a4dfed8379e9
    User admin
    Deployment /home/ple/releases/bosh-sample-release/wordpress.yml

    You are in release directory
    ----------------------------
    Dev name: redis-on-demand
    Dev version: no versions yet

    Final name: not set
    Final version: no versions yet

    Packages
    +-------+----------+----------+
    Name | Dev | Final |
    +-------+----------+----------+
    redis | n/a | n/a |
    +-------+----------+----------+

    Jobs
    +-------+----------+----------+
    Name | Dev | Final |
    +-------+----------+----------+
    redis | n/a | n/a |
    +-------+----------+----------+

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupbosh-dev @
postedSep 20, '12 at 7:37p
activeSep 26, '12 at 11:46p
posts3
users2

2 users in discussion

Peter Le: 2 posts Ferdy: 1 post

People

Translate

site design / logo © 2021 Grokbase