** Changed in: linux-raspi (Ubuntu)
       Status: Incomplete => Confirmed

** Changed in: linux-raspi (Ubuntu)
       Status: Confirmed => New

** Description changed:

+ [Impact]
+ 
+ microovn snap is not working.
+ 
+ [Fix]
+ 
+ Add openvswitch module to linux-modules.
+ 
+ [Test Case]
+ 
+ See 'Original description' below.
+ 
+ [Regression Potential]
+ 
+ Just moving a kernel module which might be loaded on more systems now.
+ If bad, the usual kernel freezes/crashes/...
+ 
+ [Original Descritption]
+ 
  I have a homelab and I'm experimenting with adding arm nodes to my
  existing cluster. MicroOVN works fine on my x86_64 nodes but fails on my
  arm nodes (raspberry pi 4).
  
  I am using microovn 22.03/stable (rev 295). When I run "microovn init"
  on the arm nodes, I get the error
  
  Error: Post "http://control.socket/cluster/control": context deadline
  exceeded
  
  The output from "snap services microovn" is:
  
  Service                          Startup   Current   Notes
  microovn.central                 disabled  inactive  -
  microovn.chassis                 enabled   active    -
  microovn.daemon                  enabled   active    -
  microovn.ovn-northd              disabled  inactive  -
  microovn.ovn-ovsdb-server-nb     disabled  inactive  -
  microovn.ovn-ovsdb-server-sb     disabled  inactive  -
  microovn.refresh-expiring-certs  enabled   inactive  timer-activated
  microovn.switch                  enabled   inactive  -
  
  The output from "systemctl | grep ovn" is:
  
-  run-snapd-ns-microovn.mnt.mount                                              
                     loaded active mounted   /run/snapd/ns/microovn.mnt
-   snap-microovn-301.mount                                                     
                      loaded active mounted   Mount unit for microovn, revision 
301
-   snap.microovn.chassis.service                                               
                      loaded active running   Service for snap application 
microovn.chassis
-   snap.microovn.daemon.service                                                
                      loaded active running   Service for snap application 
microovn.daemon
+  run-snapd-ns-microovn.mnt.mount                                              
                     loaded active mounted   /run/snapd/ns/microovn.mnt
+   snap-microovn-301.mount                                                     
                      loaded active mounted   Mount unit for microovn, revision 
301
+   snap.microovn.chassis.service                                               
                      loaded active running   Service for snap application 
microovn.chassis
+   snap.microovn.daemon.service                                                
                      loaded active running   Service for snap application 
microovn.daemon
  ● snap.microovn.switch.service                                                
                      loaded failed failed    Service for snap application 
microovn.switch
-   snap.microovn.refresh-expiring-certs.timer                                  
                      loaded active waiting   Timer refresh-expiring-certs for 
snap application microovn.refresh-expiring-certs
+   snap.microovn.refresh-expiring-certs.timer                                  
                      loaded active waiting   Timer refresh-expiring-certs for 
snap application microovn.refresh-expiring-certs
  
  The output from "journalctl -b -u snap.microovn.switch.service" is (in
  relevant part):
  
  Oct 25 10:55:27 pi01 systemd[1]: Started Service for snap application 
microovn.switch.
  Oct 25 10:55:28 pi01 microovn.switch[7315]:  * 
/var/snap/microovn/common/data/switch/db/conf.db does not exist
  Oct 25 10:55:28 pi01 microovn.switch[7315]:  * Creating empty database 
/var/snap/microovn/common/data/switch/db/conf.db
  Oct 25 10:55:28 pi01 microovn.switch[7315]:  * Starting ovsdb-server
  Oct 25 10:55:28 pi01 ovs-vsctl[7338]: ovs|00001|vsctl|INFO|Called as 
ovs-vsctl --no-wait -- init -- set Open_vSwitch . db-version=8.3.0
  Oct 25 10:55:28 pi01 ovs-vsctl[7348]: ovs|00001|vsctl|INFO|Called as 
ovs-vsctl --no-wait set Open_vSwitch . ovs-version=2.17.7 
"external-ids:system-id=\"pi01\"" "external-ids:rundir=\"/var/snap/microovn/>
  Oct 25 10:55:28 pi01 microovn.switch[7315]:  * Configuring Open vSwitch 
system IDs
  Oct 25 10:55:28 pi01 microovn.switch[7380]: 
/snap/microovn/301/share/openvswitch/scripts/ovs-kmod-ctl: 112: modprobe: 
Permission denied

** Changed in: linux-raspi (Ubuntu)
       Status: New => Confirmed

** Project changed: microovn => linux (Ubuntu)

** Package changed: linux-raspi (Ubuntu) => microovn

** Project changed: microovn => linux-raspi (Ubuntu)

** Also affects: linux (Ubuntu Mantic)
   Importance: Undecided
       Status: New

** Also affects: linux-raspi (Ubuntu Mantic)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Lunar)
   Importance: Undecided
       Status: New

** Also affects: linux-raspi (Ubuntu Lunar)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: linux-raspi (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** No longer affects: linux (Ubuntu)

** No longer affects: linux (Ubuntu Jammy)

** No longer affects: linux (Ubuntu Lunar)

** No longer affects: linux (Ubuntu Mantic)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2040524

Title:
  openvswitch fails on raspberry pi 4

Status in linux-raspi package in Ubuntu:
  Confirmed
Status in linux-raspi source package in Jammy:
  New
Status in linux-raspi source package in Lunar:
  New
Status in linux-raspi source package in Mantic:
  New

Bug description:
  [Impact]

  microovn snap is not working.

  [Fix]

  Add openvswitch module to linux-modules.

  [Test Case]

  See 'Original description' below.

  [Regression Potential]

  Just moving a kernel module which might be loaded on more systems now.
  If bad, the usual kernel freezes/crashes/...

  [Original Descritption]

  I have a homelab and I'm experimenting with adding arm nodes to my
  existing cluster. MicroOVN works fine on my x86_64 nodes but fails on
  my arm nodes (raspberry pi 4).

  I am using microovn 22.03/stable (rev 295). When I run "microovn init"
  on the arm nodes, I get the error

  Error: Post "http://control.socket/cluster/control": context deadline
  exceeded

  The output from "snap services microovn" is:

  Service                          Startup   Current   Notes
  microovn.central                 disabled  inactive  -
  microovn.chassis                 enabled   active    -
  microovn.daemon                  enabled   active    -
  microovn.ovn-northd              disabled  inactive  -
  microovn.ovn-ovsdb-server-nb     disabled  inactive  -
  microovn.ovn-ovsdb-server-sb     disabled  inactive  -
  microovn.refresh-expiring-certs  enabled   inactive  timer-activated
  microovn.switch                  enabled   inactive  -

  The output from "systemctl | grep ovn" is:

   run-snapd-ns-microovn.mnt.mount                                              
                     loaded active mounted   /run/snapd/ns/microovn.mnt
    snap-microovn-301.mount                                                     
                      loaded active mounted   Mount unit for microovn, revision 
301
    snap.microovn.chassis.service                                               
                      loaded active running   Service for snap application 
microovn.chassis
    snap.microovn.daemon.service                                                
                      loaded active running   Service for snap application 
microovn.daemon
  ● snap.microovn.switch.service                                                
                      loaded failed failed    Service for snap application 
microovn.switch
    snap.microovn.refresh-expiring-certs.timer                                  
                      loaded active waiting   Timer refresh-expiring-certs for 
snap application microovn.refresh-expiring-certs

  The output from "journalctl -b -u snap.microovn.switch.service" is (in
  relevant part):

  Oct 25 10:55:27 pi01 systemd[1]: Started Service for snap application 
microovn.switch.
  Oct 25 10:55:28 pi01 microovn.switch[7315]:  * 
/var/snap/microovn/common/data/switch/db/conf.db does not exist
  Oct 25 10:55:28 pi01 microovn.switch[7315]:  * Creating empty database 
/var/snap/microovn/common/data/switch/db/conf.db
  Oct 25 10:55:28 pi01 microovn.switch[7315]:  * Starting ovsdb-server
  Oct 25 10:55:28 pi01 ovs-vsctl[7338]: ovs|00001|vsctl|INFO|Called as 
ovs-vsctl --no-wait -- init -- set Open_vSwitch . db-version=8.3.0
  Oct 25 10:55:28 pi01 ovs-vsctl[7348]: ovs|00001|vsctl|INFO|Called as 
ovs-vsctl --no-wait set Open_vSwitch . ovs-version=2.17.7 
"external-ids:system-id=\"pi01\"" "external-ids:rundir=\"/var/snap/microovn/>
  Oct 25 10:55:28 pi01 microovn.switch[7315]:  * Configuring Open vSwitch 
system IDs
  Oct 25 10:55:28 pi01 microovn.switch[7380]: 
/snap/microovn/301/share/openvswitch/scripts/ovs-kmod-ctl: 112: modprobe: 
Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2040524/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to