canonical / microstack.run

Code for the microstack.run website by Canonical.
https://microstack.run
5 stars 22 forks source link

microstack install fails #270

Open ToddG opened 3 months ago

ToddG commented 3 months ago

Summary

ERROR could not get clouds from controller "sunbeam-controller": no controller API addresses; is bootstrap still in progress?

Process

Follow instructions here

sudo snap install openstack --channel 2024.1/edge
sunbeam prepare-node-script | bash -x && newgrp snap_daemon
sunbeam cluster bootstrap --accept-defaults

Current and expected result

16:21 $ sunbeam cluster bootstrap --accept-defaults
⠋ Bootstrapping Juju onto machine ... Error determining whether to skip the bootstrap process. Defaulting to not skip.
Traceback (most recent call last):
  File "/snap/openstack/562/lib/python3.10/site-packages/sunbeam/commands/juju.py", line 452, in is_skip
    self.juju_clouds = self.get_clouds(self.cloud_type)
  File "/snap/openstack/562/lib/python3.10/site-packages/sunbeam/commands/juju.py", line 124, in get_clouds
    clouds_from_juju_cmd = self._juju_cmd(*cmd)
  File "/snap/openstack/562/lib/python3.10/site-packages/sunbeam/commands/juju.py", line 101, in _juju_cmd
    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/562/juju/bin/juju', 'clouds', '--format', 'json']' returned non-zero exit status 1.
Only clouds with registered credentials are shown.
There are more clouds, use --all to see them.
ERROR could not get clouds from controller "sunbeam-controller": no controller API addresses; is bootstrap still in progress?

Error: Command '['/snap/openstack/562/juju/bin/juju', 'clouds', '--format', 'json']' returned non-zero exit status 1.

Note that juju is not present:

toddg@pop-os:~$ ls /snap/openstack/562/
bin  commands  etc  include  lib  lib64  meta  pyvenv.cfg  share  snap  usr  var

Screenshot

[If relevant, include a screenshot.]

Browser details

[Optionally - if you can, copy the report generated by mybrowser.fyi - this might help us debug certain types of issues.]

Machine Details

toddg@pop-os:~$ lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         39 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  32
  On-line CPU(s) list:   0-31
Vendor ID:               GenuineIntel
  Model name:            Intel(R) Core(TM) i9-14900HX
    CPU family:          6
    Model:               183
    Thread(s) per core:  2
    Core(s) per socket:  24
    Socket(s):           1
    Stepping:            1
    CPU max MHz:         5800.0000
    CPU min MHz:         800.0000
    BogoMIPS:            4838.40
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid 
                         aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd 
                         ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk
                          avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
Virtualization features: 
  Virtualization:        VT-x
Caches (sum of all):     
  L1d:                   896 KiB (24 instances)
  L1i:                   1.3 MiB (24 instances)
  L2:                    32 MiB (12 instances)
  L3:                    36 MiB (1 instance)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-31
Vulnerabilities:         
  Gather data sampling:  Not affected
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Not affected
  Retbleed:              Not affected
  Spec rstack overflow:  Not affected
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Enhanced / Automatic IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
  Srbds:                 Not affected
  Tsx async abort:       Not affected
toddg@pop-os:~$ lsblk
NAME                                        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
loop0                                         7:0    0 402.4M  1 loop  /snap/gnome-46-2404/42
loop1                                         7:1    0  63.9M  1 loop  /snap/core20/2318
loop2                                         7:2    0     4K  1 loop  /snap/bare/5
loop3                                         7:3    0  55.7M  1 loop  /snap/core18/2823
loop4                                         7:4    0  55.7M  1 loop  /snap/core18/2829
loop5                                         7:5    0  74.2M  1 loop  /snap/core22/1122
loop6                                         7:6    0  74.2M  1 loop  /snap/core22/1380
loop7                                         7:7    0 218.4M  1 loop  /snap/gnome-3-34-1804/93
loop8                                         7:8    0  66.2M  1 loop  /snap/core24/423
loop9                                         7:9    0 505.1M  1 loop  /snap/gnome-42-2204/176
loop10                                        7:10   0  50.8M  1 loop  /snap/aws-cli/724
loop11                                        7:11   0 402.6M  1 loop  /snap/gnome-46-2404/39
loop12                                        7:12   0   9.7M  1 loop  /snap/htop/4317
loop13                                        7:13   0  91.7M  1 loop  /snap/gtk-common-themes/1535
loop14                                        7:14   0   9.7M  1 loop  /snap/htop/4407
loop15                                        7:15   0   225M  1 loop  /snap/mesa-2404/44
loop16                                        7:16   0  35.2M  1 loop  /snap/pinta/33
loop17                                        7:17   0  35.3M  1 loop  /snap/pinta/35
loop18                                        7:18   0 119.5M  1 loop  /snap/slack/153
loop19                                        7:19   0 119.5M  1 loop  /snap/slack/155
loop20                                        7:20   0  38.7M  1 loop  /snap/snapd/21465
loop21                                        7:21   0  38.8M  1 loop  /snap/snapd/21759
loop22                                        7:22   0  50.8M  1 loop  /snap/aws-cli/720
loop23                                        7:23   0   161M  1 loop  /snap/microk8s/6876
loop24                                        7:24   0 131.2M  1 loop  /snap/openstack/562
loop25                                        7:25   0  94.4M  1 loop  /snap/juju/28060
zram0                                       251:0    0    16G  0 disk  [SWAP]
nvme2n1                                     259:0    0   1.8T  0 disk  
├─nvme2n1p1                                 259:1    0  1022M  0 part  /boot/efi
├─nvme2n1p2                                 259:2    0     4G  0 part  /recovery
├─nvme2n1p3                                 259:3    0   1.8T  0 part  
│ └─cryptdata                               252:0    0   1.8T  0 crypt 
│   └─data-root                             252:1    0   1.8T  0 lvm   /
└─nvme2n1p4                                 259:4    0     4G  0 part  
  └─cryptswap                               252:2    0     4G  0 crypt [SWAP]
nvme0n1                                     259:5    0 931.5G  0 disk  
└─luks-5bf044ad-e35b-4274-84cb-ad7daf4b9268 252:3    0 931.5G  0 crypt /media/toddg/data1
nvme1n1                                     259:6    0 931.5G  0 disk  
└─luks-5588bf1b-b4cb-4ab5-bfae-a3f4af3d4639 252:4    0 931.5G  0 crypt /media/toddg/data2
toddg@pop-os:~$ free -m
               total        used        free      shared  buff/cache   available
Mem:           96398       42784        4943         880       48670       44637
Swap:          20479           0       20479
toddg@pop-os:~$ sudo dmidecode -t system
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
    Manufacturer: System76
    Product Name: Adder WS
    Version: addw4
    Serial Number: 123456789
    UUID: Not Settable
    Wake-up Type: Power Switch
    SKU Number: Not Specified
    Family: Not Specified

Handle 0x000F, DMI type 32, 11 bytes
System Boot Information
    Status: No errors detected