r/openstack • • Jun 13 '23

The newly launched OpenStack project - Sunbeam - is now available with full commercial support from Canonical

10 Upvotes

18 comments sorted by

3

u/CloudyEngineer Jun 16 '23

Does not work.

I have tried this several times and it fails to install on Ubuntu Server 22.04 with 8 vCPUs and 16GB RAM using the commands on https://microstack.run/docs/single-node

Here are my results:

juju (3.2/stable) 3.2.0 from Canonical✓ installed

sunbeam@sunbeam-svr:~$ sunbeam cluster bootstrap --accept-defaults

Sunbeam Cluster not initialized

Timed out while waiting for model 'openstack' to be ready

Error: Timed out while waiting for model 'openstack' to be ready

sunbeam@sunbeam-svr:~$ sunbeam configure --accept-defaults --openrc demo-openrc

terraform apply failed: data.openstack_identity_role_v3.member: Reading...

data.openstack_identity_role_v3.member: Read complete after 8s [id=9a7316cb890d4ae0a0a6cf6f4dfaf746]

...[id=09d8f569d00b4328b7e5558d798f570c]

...

Error: Error creating openstack_compute_flavor_v2 m1.tiny: Internal Server Error

with openstack_compute_flavor_v2.m1_tiny,

on main.tf line 14, in resource "openstack_compute_flavor_v2" "m1_tiny":

14: resource "openstack_compute_flavor_v2" "m1_tiny" {

Error: Error creating openstack_compute_flavor_v2 m1.small: Internal Server Error

with openstack_compute_flavor_v2.m1_small,

on main.tf line 22, in resource "openstack_compute_flavor_v2" "m1_small":

22: resource "openstack_compute_flavor_v2" "m1_small" {

Error: Error creating openstack_compute_flavor_v2 m1.medium: Internal Server Error

with openstack_compute_flavor_v2.m1_medium,

on main.tf line 30, in resource "openstack_compute_flavor_v2" "m1_medium":

30: resource "openstack_compute_flavor_v2" "m1_medium" {

Error: Error creating openstack_compute_flavor_v2 m1.large: Internal Server Error

with openstack_compute_flavor_v2.m1_large,

on main.tf line 38, in resource "openstack_compute_flavor_v2" "m1_large":

38: resource "openstack_compute_flavor_v2" "m1_large" {

Error: Error creating Image: Internal Server Error

with openstack_images_image_v2.ubuntu,

on main.tf line 46, in resource "openstack_images_image_v2" "ubuntu":

46: resource "openstack_images_image_v2" "ubuntu" {

Error: Error waiting for openstack_networking_network_v2 5639bdbf-784c-4313-bac0-906884c2e73e to become available:

context deadline exceeded

with openstack_networking_network_v2.external_network,

on main.tf line 60, in resource "openstack_networking_network_v2" "external_network":

60: resource "openstack_networking_network_v2" "external_network" {

Error: Error creating openstack_networking_network_v2: Internal Server Error

with openstack_networking_network_v2.user_network,

on main.tf line 115, in resource "openstack_networking_network_v2" "user_network":

115: resource "openstack_networking_network_v2" "user_network" {

Error: Error creating openstack_compute_quotaset_v2: Internal Server Error

with openstack_compute_quotaset_v2.compute_quota,

on main.tf line 141, in resource "openstack_compute_quotaset_v2" "compute_quota":

141: resource "openstack_compute_quotaset_v2" "compute_quota" {

Error: Error creating openstack_networking_quota_v2: Internal Server Error

with openstack_networking_quota_v2.network_quota,

on main.tf line 152, in resource "openstack_networking_quota_v2" "network_quota":

152: resource "openstack_networking_quota_v2" "network_quota" {

Error: Internal Server Error

with data.openstack_networking_secgroup_v2.secgroup_default,

on main.tf line 166, in data "openstack_networking_secgroup_v2" "secgroup_default":

166: data "openstack_networking_secgroup_v2" "secgroup_default" {

Error configuring cloud

Traceback (most recent call last):

File "/snap/openstack/182/lib/python3.10/site-packages/sunbeam/commands/terraform.py", line 178, in apply

process = subprocess.run(

File "/usr/lib/python3.10/subprocess.py", line 524, in run

raise CalledProcessError(retcode, process.args,

subprocess.CalledProcessError: Command '['/snap/openstack/182/bin/terraform', 'apply', '-auto-approve', '-no-color',

'-parallelism=1']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/snap/openstack/182/lib/python3.10/site-packages/sunbeam/commands/configure.py", line 555, in run

self.tfhelper.apply()

File "/snap/openstack/182/lib/python3.10/site-packages/sunbeam/commands/terraform.py", line 192, in apply

raise TerraformException(str(e))

sunbeam.commands.terraform.TerraformException: Command '['/snap/openstack/182/bin/terraform', 'apply', '-auto-approve',

'-no-color', '-parallelism=1']' returned non-zero exit status 1.

Error: Command '['/snap/openstack/182/bin/terraform', 'apply', '-auto-approve', '-no-color', '-parallelism=1']' returned non-zero exit status 1.

sunbeam@sunbeam-svr:~$ uname -a

Linux sunbeam-svr 5.15.0-73-generic #80-Ubuntu SMP Mon May 15 15:18:26 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

sunbeam@sunbeam-svr:~$

2

u/TechieGuardian Jun 17 '23

What is the bandwidth of the network that you're using?

3

u/B3r3n06 Jul 28 '23

Openstack sunbeam install oftenly ends with this timeout, whatever your bandwidth.

For the multiples I tried to hope building a working doc, so many things are either not behaving properly of undocumented+impacting the install that it is hard to succeed at an acceptable rate...

Bad engineering :-(

3

u/nauguy03 Jun 17 '23

Hmm, from the following:

Timed out while waiting for model 'openstack' to be ready

it looks like your bootstrap timed out and potentially wasn't quite ready for the configure step. When the configure step then ran, the cloud likely wasn't finished deploying.

3

u/nauguy03 Jun 17 '23

And fwiw, the timeout can occur when pulling the OCI images takes a bit of time.

2

u/CloudyEngineer Jul 24 '23

It's just poor code if it doesn't wait for long enough. I actually waited for more than an hour and by then I could have downloaded 5 Netflix movies.

→ More replies (2)
→ More replies (2)

2

u/WhoIsJigawatt Jun 13 '23

You mean this will actually work now? Deploying multi node MicroStack using the sunbeam option was like going to the dentist.. a drunk drill happy dentist who took his time! Lol I can’t wait to lab this up.

Will there be support for deploying NFV ? Like tacker, or maybe etsi mano? Also will vpnaas and lbaas ever come back?

This is exciting news!

3

u/TechieGuardian Jun 13 '23

You must have used some old development brunch. Sorry to hear you faced some challenges with it. You can find the list of supported options at https://microstack.run/docs

1

u/TechieGuardian Jul 28 '23

I have just tried it on a fresh machine according to instructions at https://microstack.run. It works without any issues:

https://ibb.co/BjngpDh

u/CloudyEngineer / u/B3r3n06 / u/lacioffi : I'm really sorry to hear that you faced issues. May I please suggest that you report a bug at launchpad or ask for help at discourse / IRC channel (#openstack-sunbeam)? These are the best media to get in touch with the engineering team behind Sunbeam. Your feedback is very much appreciated and will serve as input for further improvement of the project. Thanks!

1

u/Fantastic_Sir_7113 Sep 05 '23

What are you doing that we aren’t? I also tried on a fresh machine Ubuntu 22.04.3 using the same article and it timed out at bootstrapping. Never got it to fully run. I spent two days trying to get it to work

1

u/Hot-Rest6105 Sep 10 '23

Hi, I am having same error:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy

4Cores and 16Gb RAM running on VM (VMWare Fusion).

thanks!

1

u/Mediocre_Lecture_114 Aug 11 '24

Still doesn't work. Tried on a fresh install of Ubuntu 22.04 lts.

WARNING: Timed out while waiting for model 'openstack' to be ready

1

u/andresmmm729 Dec 01 '24

almost a year later and the same.. canonical always pushing half baked products poorly documented just to sell support and consulting services...