[node-devel] Rethinking implementation for oVirt Node Plugins

Alan Pevec apevec at gmail.com
Fri Jan 27 10:35:29 UTC 2012


> The original reasons for excluding yum were:
> * No python on the node (but vdsm pulled python in, so that's moot now)
> * Don't want folks running yum on a live oVirt Node image (we can
>  address that by making yum impossible to run when the image is booted
>  vs. offline)

Good idea, also running oVirt Node has read-only rootfs, so any update
attempt would fail.
And for a graceful failure, we could have a yum plugin which aborts
transaction if it detects running Node, with a user-friendly message.

> If we put yum on the node, then plugin installation could be as simple as:
> mount ISO
> cp foo.repo /etc/yum.conf.d/
> yum install foo --enablerepo=foo

Of course, you still need edit-livecd around this, which will handle
setting up chroot and repackaging updated rootfs back into ISO.

Alan



More information about the node-devel mailing list