[Container-tools] Issue installaing openshift in rhel(aws)
Robert Kratky
rkratky at redhat.com
Fri Feb 17 17:09:42 UTC 2017
On Tue, 14 Feb 2017 13:30:53 +0000, Karthikeyan Rathinasami <KR00486214 at techmahindra.com> wrote:
> Hi,
Hi Karthikeyan,
> I am getting the below error when we tried start the container
>
> We followed the below steps given the below url
>
> https://access.redhat.com/documentation/en/red-hat-container-development-kit/2.3/single/installation-guide#installing_container_development_kit_on_red_hat_enterprise_linux
>
> (section 5.5 -->1 )
> [cid:image001.jpg at 01D286F4.235B3D90]
>
>
> [root at ip-172-30-3-117 rhel]# cd rhel-ose/
> [root at ip-172-30-3-117 rhel-ose]# vagrant up
> Bringing machine 'default' up with 'libvirt' provider...
> ==> default: Uploading base box image as volume into libvirt storage...
> ==> default: Creating image (snapshot of base box volume).
> ==> default: Creating domain with the following settings...
> ==> default: -- Name: rhel-ose_default
> ==> default: -- Domain type: kvm
> ==> default: -- Cpus: 2
> ==> default: -- Memory: 3072M
> ==> default: -- Management MAC:
> ==> default: -- Loader:
> ==> default: -- Base box: cdkv2
> ==> default: -- Storage pool: default
> ==> default: -- Image: /var/lib/libvirt/images/rhel-ose_default.img (41G)
> ==> default: -- Volume Cache: default
> ==> default: -- Kernel:
> ==> default: -- Initrd:
> ==> default: -- Graphics Type: vnc
> ==> default: -- Graphics Port: 5900
> ==> default: -- Graphics IP: 127.0.0.1
> ==> default: -- Graphics Password: Not defined
> ==> default: -- Video Type: cirrus
> ==> default: -- Video VRAM: 9216
> ==> default: -- Keymap: en-us
> ==> default: -- INPUT: type=mouse, bus=ps2
> ==> default: -- Command line :
> Error while creating domain: Error saving the server: Call to virDomainDefineXML failed: invalid argument: could not find capabilities for domaintype=kvm
> [root at ip-172-30-3-117 rhel-ose]#
This message means that the host machine has no KVM (libvirt) support. As you're running it in a VM, I would guess that KVM nesting (support for running VM within a VM) isn't enabled.
To check whether nesting is enabled, run:
$ cat /sys/module/kvm_intel/parameters/nested
To enable it, you need to set the processor type for your VM to 'host-passthrough'.
You can then check that virtualization is properly enabled on your host by running:
$ sudo virt-host-validate
> Also, in step:9 under the section 5.3, its mentioned "The box image file will be stored in your home directory under ~/.vagrant.d. You need adequate space there, approximately 3 GB.", but there is no .vagrant.d directory in my machine.
This directory is only created after you run 'vagrant box add'.
Regards,
--
Robert Krátký
Sr. Technical Writer | CCS
Red Hat Czech
Brno, Czech Republic
> Note: We are using aws Red Hat Enterprise Linux 7.3 vm for installation.
>
> Thanks & Regards,
> Karthikeyan R
> +91 94453 79961
More information about the Container-tools
mailing list