Re: failed: Could not start storage pool: cannot open directory: ... No such file or directory

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



On Sat, Jan 14, 2023 at 4:33 PM José María Terry Jiménez <jtj@xxxxxxxxxxxxx>
wrote:

> El 13/1/23 a las 18:50, Kaushal Shriyan escribió:
> > Hi,
> >
> > # cat /etc/redhat-release
> > CentOS Linux release 7.9.2009 (Core)
> > #virt-install --version
> > 1.5.0
> > #
> >
> > # ls -l /var/lib/libvirt/isos/
> > total 8302356
> > -rw-r--r--. 1 root root 4712300544 Aug 31  2021
> CentOS-7-x86_64-DVD-2009.iso
> > -rw-r--r--. 1 qemu qemu  990904320 Aug 11  2021
> > ubuntu-18.04.5-live-server-amd64.iso
> > -rw-r--r--. 1 qemu qemu 1331691520 Feb 23  2022
> > ubuntu-20.04.4-live-server-amd64.iso
> > -rw-r--r--. 1 qemu qemu 1466714112 Jun 28  2022
> > ubuntu-22.04-live-server-amd64.iso
> > #
> >
> > virt-install --name demoreactui --ram 8096 --disk
> > path=/linuxkvmguestosdisk/demoreactui.img,size=20 --vcpus 2 --os-variant
> > ubuntu20.04 --network bridge=br0 --graphics none --console
> > pty,target_type=serial --location
> >
> /var/lib/libvirt/isos/ubuntu-20.04.4-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper/initrd
> > --extra-args
> > 'console=ttyS0,115200n8 serial'
> >
> > ERROR    Error validating install location: Validating install media
> >
> > failed: Could not start storage pool: cannot open directory
> >
> '/var/lib/libvirt/isos/ubuntu-20.04.4-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper':
> > No such file or directory
> >
> > Any clue and I look forward to hearing from you. Thanks in advance.
> >
> > Best Regards,
> >
> > Kaushal
>
> Hello
>
> See the man page https://linux.die.net/man/1/virt-install
>
> In location you must pass only the ISO file, you are passing parameters
> that virt-install uses as file name as it warns you:
>
>
> '/var/lib/libvirt/isos/ubuntu-20.04.4-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper/initrd'
>
> That's the file is trying to open, and obviously, don't exists.
>
>
>
Hi,

I am encountering an ERROR: Couldn't find hvm kernel for Ubuntu tree.

# cat installubuntu.sh
virt-install \
--name fiservreactitestui \
--virt-type kvm \
--hvm \
--ram 8096 \
--disk path=/linuxkvmguestosdisk/fiservreactitestui.img,size=20 \
--vcpus 2 \
--os-variant ubuntu20.04 \
--network bridge=br0 \
--graphics none \
--console pty,target_type=serial \
--location /var/lib/libvirt/isos/ubuntu-20.04.4-live-server-amd64.iso \
--extra-args 'console=ttyS0,115200n8 serial'
[root@dac-inhousebaseserver1 ~]# ./installubuntu.sh

** (process:23128): WARNING **: 18:06:57.479: Entity
http://linux-kvm.org/qemu-kvm/1.2.0 should be in file platform/
linux-kvm.org/qemu-kvm-1.2.0.xml not tests/data/positive/platform/
linux-kvm.org/qemu-kvm-1.2.0.xml

** (process:23128): WARNING **: 18:06:57.507: Entity
http://x.org/x11-keyboard should be in file datamap/x.org/x11-keyboard.xml
not tests/data/positive/datamap/x.org/x11-keyboard.xml

** (process:23128): WARNING **: 18:06:57.530: Entity
http://fedoraproject.org/fedora/rawhide should be in file os/
fedoraproject.org/fedora-rawhide.xml not tests/data/negative/os/
fedoraproject.org/fedora-rawhide.xml

** (process:23128): WARNING **: 18:06:57.546: Entity
http://ibm.com/ps2/keyboard should be in file device/
ibm.com/ps2-keyboard.xml not tests/data/positive/device/
ibm.com/ps2-keyboard.xml

** (process:23128): WARNING **: 18:06:57.561: Entity
http://fedoraproject.org/silverblue/kickstart/desktop should be in file
install-script/fedoraproject.org/silverblue-kickstart-desktop.xml not
tests/data/positive/install-script/
fedoraproject.org/silverblue-kickstart-desktop.xml

** (process:23128): WARNING **: 18:06:57.598: Entity
http://fedoraproject.org/fedora/rawhide should be in file os/
fedoraproject.org/fedora-rawhide.xml not tests/data/positive/os/
fedoraproject.org/fedora-rawhide.xml

Starting install...
Retrieving file .treeinfo...

                              |    0 B  00:00:00
Retrieving file content...

                              |    0 B  00:00:00
Retrieving file info...

                             |   68 B  00:00:00
ERROR    Couldn't find hvm kernel for Ubuntu tree.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start fiservreactitestui
otherwise, please restart your installation.
#

Any clue and I look forward to hearing from you. Thanks in advance.

Best Regards,

Kaushal
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux