Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Mougard <[email protected]>
  • Loading branch information
gabrielmougard committed Sep 4, 2024
1 parent f5701e7 commit edef8bd
Show file tree
Hide file tree
Showing 3 changed files with 179 additions and 143 deletions.
4 changes: 2 additions & 2 deletions cmd/microcloud/ask.go
Original file line number Diff line number Diff line change
Expand Up @@ -1105,8 +1105,8 @@ func (c *initConfig) askOVNNetwork(sh *service.Handler) error {
}

canOVNUnderlay := true
for peer, state := range c.state {
if len(state.AvailableOVNInterfaces) == 0 {
for peer, system := range c.systems {
if len(c.state[system.ServerInfo.Name].AvailableOVNInterfaces) == 0 {
fmt.Printf("Not enough interfaces available on %s to create an underlay network, skipping\n", peer)
canOVNUnderlay = false
break
Expand Down
2 changes: 0 additions & 2 deletions test/suites/add.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ test_add_interactive() {
export SETUP_ZFS="yes"
export ZFS_FILTER="lxd_disk1"
export ZFS_WIPE="yes"
export OVN_UNDERLAY_NETWORK="no"
microcloud_interactive | lxc exec micro01 -- sh -c "microcloud add > out"
lxc exec micro01 -- tail -1 out | grep "MicroCloud is ready" -q

Expand All @@ -211,7 +210,6 @@ test_add_interactive() {
export SETUP_ZFS="no"
export SETUP_CEPH="no"
export SETUP_OVN="no"
export OVN_UNDERLAY_NETWORK="no"

lxc exec micro04 -- snap disable microcloud
microcloud_interactive | lxc exec micro01 -- sh -c "microcloud init > out"
Expand Down
Loading

0 comments on commit edef8bd

Please sign in to comment.