libvirt-bin should emit net-device-up and net-device-down
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
I was trying to create an upstart job that would occur when a libvirt network became available:
$ cat /etc/init/
description "restart dhcpd"
start on net-device-up INTERFACE=maasbr0
task
script
stop maas-dhcp-server
start maas-dhcp-server
end script
EOF
This didn't work. as libvirt does not emit 'net-device-up' events. Those are only emitted by network manager and devices in /etc/network/
It seems possibly useful to have libvirt do that also.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: libvirt-bin 0.9.13-0ubuntu10
ProcVersionSign
Uname: Linux 3.5.0-15-generic x86_64
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
Date: Wed Sep 26 14:57:54 2012
Ec2AMI: ami-00000153
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)
Thanks for submitting this bug. I agree this should be done.
Given that we are quite late in the quantal cycle, how important is this feature to your deliverables? Do we need to ask for an FFE for quantal, or can it wait until after release?