Re: Fedora 33 Cloud image bug? Or new packaging "feature"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/29/20 6:45 PM, Mike Savage wrote:
> Hi,

Hi Mike,

> 
> I have some Ansible code that inspects qcow images to verify the distro and version via shell -->  virt-inspector...and then set facts for use later on in the code. However, upon downloading Fedora-Cloud-Base-33-1.2.x86_64.qcow2 image and executing my playbooks, Ansible errored out.
> 
> To see what was going on, I received the following when I manually executed "virt-inspector -a" against the image to inspect:
> # virt-inspector -a Fedora-Cloud-Base-33-1.2.x86_64.qcow2 
> libguestfs: error: filesize: /var/lib/rpm/Name: No such file or directory
> 
> Using the guestfs-browser, I noticed that the /var/lib/rpm directory for the F33 Cloud image was essentially empty, whereas on previous Fedora Cloud image releases I inspected ( 32-1.6, 31-1.9, 30-1.2 ), all had /var/lib/rpm directories that were populated (ie, Name was present). Is this a packaging "miss" for the F33 Cloud OpenStack QCOW image? Or a "feature" new to Fedora 33...and if so, should I adjust my automation to move to a more distro agnostic method, like probing and parsing /etc/os-release within images?

I did some overhaul of the cloud kickstarts in the following PR:
https://pagure.io/fedora-kickstarts/pull-request/679#

but I don't really think there is anything in there that stands out.
This is probably related to the switch of the rpm database in F33 to sqlite:
https://www.fedoraproject.org/wiki/Changes/Sqlite_Rpmdb

Dusty
_______________________________________________
cloud mailing list -- cloud@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to cloud-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/cloud@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux