cockpit-machines
cockpit-machines copied to clipboard
Introduce virt-xml into disk APIs
Fixed the filesystem, disks still broken: https://logs.cockpit-project.org/logs/pull-394-20210924-130035-1e3d9861-fedora-34/log.html
This is currently blocked on https://github.com/virt-manager/virt-manager/pull/311 , as it fails https://logs.cockpit-project.org/logs/pull-394-20211004-110348-b16aad72-fedora-34/log.html#21-2
The fix landed in upstream virt-manager 26 days ago, but not released yet AFAICS.
There is already a release in fedora 36 and ubuntu 2204. I can get going with this PR :)
This now passes on all distros where virt-xml (virt-manager package) is >= 4.0 . I wonder if I should just keep this PR blocked until it's released in the other distros too, or just write an exception/antipattern for it
@skobyda this looks still blocked at least for rhel-8-8, as we still update that, but seems like virt-xml is not updated there.
@skobyda this looks still blocked at least for rhel-8-8, as we still update that, but seems like virt-xml is not updated there.
Yeah I updated this PR last week to see where it still continues to fail. I'd not try to push this until every distro gets new version of virt-xml
This is probably unblocked by now?
This is probably unblocked by now?
No idea, let's re-trigger
This is probably unblocked by now?
Nope, old version of virt-xml is still present on centos-8-stream and rhel-8-*, so this PR will not get merged until we stop supporting those distros
@martinpitt, @KKoukiou, what's the point of using virt-xml
? Does it augment the XML with its own knowledge of best defaults? Otherwise this looks like a step back to me, in the JSON > XML > CSV hierachy. (I think we need to worry about quoting when constructing the virt-xml invocations, for example.)
Please reopen if this is still wanted.
@mvollmer I am severely out of context on this repo but the virt-xml direction was desired as it picks up correct defaults when attaching devices and removes a lot of custom logic from our side. I dont have examples right now handy.
but the virt-xml direction was desired as it picks up correct defaults when attaching devices and removes a lot of custom logic from our side.
Ok, convinced.