juju doesn't check if 8021q module is present before modprobing it

Bug #1316762 reported by Tycho Andersen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Dimiter Naydenov

Bug Description

It would be nice if juju (>= 1.19) checked if the 8021q module was present before modprobing it; this prevents juju from bootstrapping in a container, where it could if the host had the module but juju can't actually modprobe.

Related branches

Tycho Andersen (tycho-s)
tags: added: cloud-installer
Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.0
tags: added: local-provider lxc
Changed in juju-core:
milestone: 2.0 → 1.20.0
Revision history for this message
Dimiter Naydenov (dimitern) wrote :

I'm adding a check with "lsmod | grep -q 8021q" to verify if 8021q is loaded already, and not try to modprobe it. It should work both inside a normal machine and in a lxc container.

Changed in juju-core:
status: Triaged → In Progress
assignee: nobody → Dimiter Naydenov (dimitern)
Go Bot (go-bot)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.20.0 → 1.19.2
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.