Results 1 to 3 of 3

Thread: Issue installing Openstack

  1. #1
    Join Date
    Dec 2023
    Beans
    1

    Issue installing Openstack

    Hi everybody,

    Currently i'm experiencing an issue with installing openstack on a personal server. I've tried to install openstack but got an error on ubuntu server 22.04.3 LTS. I've tried many solutions on the internet without any success. Also tried upgrading the OS to Ubuntu 23.10, but again no sucess/

    This is the current error I'm running into (I have replaced my username and ip with username@host):

    Code:
    sunbeam cluster bootstrap --accept-defaults⠧ Bootstrapping Juju onto machine ... 
    ⠹ Bootstrapping Juju onto machine ... 
    ⠼ Bootstrapping Juju onto machine ... 
    ⠴ Bootstrapping Juju onto machine ... Error bootstrapping Juju
    Traceback (most recent call last):
      File "/snap/openstack/324/lib/python3.10/site-packages/sunbeam/commands/juju.py", line 290, in run
        process = subprocess.run(cmd, capture_output=True, text=True, check=True)
      File "/usr/lib/python3.10/subprocess.py", line 526, in run
        raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['/snap/openstack/324/juju/bin/juju', 'bootstrap', 'sunbeam', 'sunbeam-controller', '--agent-version=3.2.0']' returned non-zero exit status 1.
    ERROR initializing ubuntu user: subprocess encountered error code 255 (Permission denied, please try again.
    Permission denied, please try again.
    username@host: Permission denied (publickey,password,hostbased).)
    ERROR subprocess encountered error code 255 (Permission denied, please try again.
    Permission denied, please try again.
    username@host: Permission denied (publickey,password,hostbased).)
    
    
    Error: Command '['/snap/openstack/324/juju/bin/juju', 'bootstrap', 'sunbeam', 'sunbeam-controller', '--agent-version=3.2.0']' returned non-zero exit status 1.

    I hope somebody knows a solution, I'm all out of options

  2. #2
    Join Date
    Jan 2024
    Beans
    3

    Re: Issue installing Openstack

    Howdy, did you get this working?

    I did this recently without problems on 22.04.3 LTS by following the tutorial.
    The only thing I did beforehand was to ensure that the IP with the full name was in the /etc/hosts file.

    I did the following steps, maybe you forgot to run the prepare node script:
    sudo snap install openstack --channel 2023.2
    sunbeam prepare-node-script | bash -x && newgrp snap_daemon
    sunbeam cluster bootstrap -a


  3. #3
    Join Date
    Apr 2024
    Beans
    1

    Re: Issue installing Openstack

    Hello, I recently ran into this similar issue and the following commands fixed this issue in my case.

    Manually run the juju bootstrap command:
    Code:
    juju bootstrap sunbeam sunbeam-controller
    Wait for the juju bootstrap to complete then run:
    Code:
    sunbeam cluster bootstrap --accept-defaults
    Looks like there's a bug in launchpad: https://bugs.launchpad.net/snap-openstack/+bug/2025316
    Last edited by bran-castillo; 3 Weeks Ago at 09:26 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
  •