Results 1 to 7 of 7

Thread: Ubuntu Cloud Infrastructure Juju Boostrap error

Hybrid View

  1. #1
    Join Date
    Jan 2012
    Beans
    8

    Exclamation Ubuntu Cloud Infrastructure Juju Boostrap error

    Hi, while following this document:
    https://help.ubuntu.com/community/Ub...Infrastructure

    I get to step 2 where I need to configure a yaml file

    I vim it and here's my config:

    Code:
    juju: environments
    environments:
      orchestra:
        type: orchestra
        # Specify the orchestra server's IP address
        orchestra-server: 192.168.2.41
        # Specify storage. In this case we are using webdav installed by orchestra.
        storage-url: http://192.168.2.41/webdav
        # Specify cobbler's usr/pass
        orchestra-user: cobbler
        orchestra-pass: mypasswordforcobbleidefinedinsetup
        admin-secret: arandomthingijusttypedinnow
        # Branch from where we will install ensemble
        # juju-branch: lp:juju
        # Mangement classes
        acquired-mgmt-class: orchestra-juju-acquired
        available-mgmt-class: orchestra-juju-available
    then I get this message when I run juju bootstrap

    Code:
    error: Environments configuration error: /home/node/.juju/environments.yaml: environments.orchestra.default-series: required value not found
    I checked and found this other doc on configuring juju with orchestra for local storage:
    https://help.ubuntu.com/community/Orchestra/Juju

    I don't think I'm following the BZR branch so I should just need to run
    Code:
    juju boostrap
    I think

    While looking at the above link, I found it also has a sample config file. There is one slight difference between the config samples - on the last link there the sample has the IP address for the configuration as

    Code:
      # Specify the orchestra server's IP address
        orchestra-server: '192.168.2.41'
        # Specify storage. In this case we are using webdav installed by orchestra.
        storage-url: 'http://192.168.2.41/webdav'
    while the original document I was followed doesn't have the ' marks between the IP addresses. I tried it both ways, I tried it with using localhost and 'localhost' and I tried reboots between every config change just for extra grins.

    Code:
      # Specify the orchestra server's IP address
        orchestra-server: 192.168.2.41
        # Specify storage. In this case we are using webdav installed by orchestra.
        storage-url: http://192.168.2.41/webdav
    I don't know what the problem here is, and the only thing I could find online that even remotely appeared to be someone else with this problem was a linked to this:
    http://pastebin.com/NNqBkiNn

    That link goes to someone who posted the same error message that I get (no solution is on that web link) - basically, if I read this right, there's a configuration error with my environments.yaml and based on the available documentation, I just don't see where I'm going wrong...

  2. #2
    Join Date
    May 2006
    Beans
    Hidden!

    Re: Ubuntu Cloud Infrastructure Juju Boostrap error

    My .juju/environments.yaml includes two other fields (and likely the default-series is the one you need):
    juju-origin: ppa
    default-series: oneiric

  3. #3
    Join Date
    Jan 2012
    Beans
    8

    Re: Ubuntu Cloud Infrastructure Juju Boostrap error

    Thanks for the response! I'll try it out and report back on this thread

  4. #4
    Join Date
    Jan 2012
    Beans
    8

    Talking Re: Ubuntu Cloud Infrastructure Juju Boostrap error

    Yup, simply adding

    HTML Code:
    default-series: oneiric
    as the last line of my yaml config file did the trick! Thanks for the help. Now I am getting another error regarding "Cloud not find any Cobbler systems marked as available and confired for network boot." but I haven't even started researching that one yet and I'll post a fresh thread if I need help there.

    Once again, thanks for getting me over the hump on this error!

  5. #5
    Join Date
    Mar 2012
    Beans
    1

    Re: Ubuntu Cloud Infrastructure Juju Boostrap error

    Quote Originally Posted by nodetx View Post
    Now I am getting another error regarding "Cloud not find any Cobbler systems marked as available and confired for network boot." but I haven't even started researching that one yet and I'll post a fresh thread if I need help there.
    Hi,
    I couldn't find any other threads by you on this topic, so I wondered if you had solved the "No cobbler systems available" issue? If so, what did you do?

    Cheers,
    Toby

  6. #6
    Join Date
    May 2007
    Beans
    26

    Re: Ubuntu Cloud Infrastructure Juju Boostrap error

    I am having the same problem. Any luck on finding a solution?

    :Edit:

    Pretty simple answer at:
    http://askubuntu.com/questions/10010...juju-bootstrap
    Last edited by claytronic; March 15th, 2012 at 10:16 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •