Re: [opnfv-tech-discuss] [xci] xci - aio installation failed on a ubuntu 16.04 VM
On 16/10/17 23:22, Srikanth Vavilapalli wrote: > Thanks Mark > > I recreated my VM with 8GB RAM and 8 vCPUs as recommended in the wiki, but I > still hit the same issue. I will try to increase the RAM further and try, but > in the meantime if there are anything else I could try, plz let me know... > > vagrant@xci:~/releng-xci/xci$ sudo virsh start opnfv > error: Failed to start domain opnfv > error: internal error: early end of file from monitor, possible problem: > 2017-10-16T22:14:57.110918Z qemu-system-x86_64: cannot set up guest memory > 'pc.ram': Cannot allocate memory > > vagrant@xci:~/releng-xci/xci$ free -m > totalusedfree shared buff/cache > available > Mem: 7982 8974226 122859 > 6738 > Swap: 511 0 511 > vagrant@xci:~/releng-xci/xci$ > > Hello, As I said in my previous e-mail, the AIO VM needs 8GB of ram so your host (ie your vagrant VM) will need to have more than that. The AIO VM will be created inside the vagrant VM so you will end up with nested virtualization. If you are using virtualbox then it does not support nested KVM virtualization which means your AIO VM will need to use the Qemu emulator which will be terribly slow. It's probably best to create a big (>=12G of RAM, >=120G ofr disk, >=8vcpus) KVM virtual machine (with libvirt, virt-manager or something else) and then execute ./xci-deploy.sh inside of it. -- markos SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg ___ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
Re: [opnfv-tech-discuss] [xci] xci - aio installation failed on a ubuntu 16.04 VM
Thanks Mark I recreated my VM with 8GB RAM and 8 vCPUs as recommended in the wiki, but I still hit the same issue. I will try to increase the RAM further and try, but in the meantime if there are anything else I could try, plz let me know... vagrant@xci:~/releng-xci/xci$ sudo virsh start opnfv error: Failed to start domain opnfv error: internal error: early end of file from monitor, possible problem: 2017-10-16T22:14:57.110918Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory vagrant@xci:~/releng-xci/xci$ free -m totalusedfree shared buff/cache available Mem: 7982 8974226 1228596738 Swap: 511 0 511 vagrant@xci:~/releng-xci/xci$ Thanks Srikanth -Original Message- From: Markos Chandras [mailto:mchand...@suse.de] Sent: Friday, October 13, 2017 1:17 AM To: Srikanth Vavilapalli <srikanth.vavilapa...@ericsson.com>; opnfv-tech-discuss@lists.opnfv.org Subject: Re: [opnfv-tech-discuss] [xci] xci - aio installation failed on a ubuntu 16.04 VM On 12/10/17 19:33, Srikanth Vavilapalli wrote: > Hi Markos > > The following is the error I get when I start the opnfv domain. It says > "cannot allocate memory". I have 4GB RAM assigned to my vagrant VM where I am > bringing up the XCI. May I know what are minimum RAM needs fro XCI AIO flavor? > > vagrant@xci:~$ sudo virsh start opnfv > error: Failed to start domain opnfv > error: internal error: early end of file from monitor, possible > problem: 2017-10-12T18:29:50.649458Z qemu-system-x86_64: cannot set up > guest memory 'pc.ram': Cannot allocate memory > > vagrant@xci:~$ free -m > totalusedfree shared buff/cache > available > Mem: 3951 6561853 361441 > 2958 > Swap: 511 19 492 > vagrant@xci:~$ The AIO requirements are listed here https://git.opnfv.org/releng-xci/tree/xci/config/aio-vars The opnfv VM will need 8G of RAM so your vagrant box has to have more than that. -- markos SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg ___ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
Re: [opnfv-tech-discuss] [xci] xci - aio installation failed on a ubuntu 16.04 VM
On 12/10/17 19:33, Srikanth Vavilapalli wrote: > Hi Markos > > The following is the error I get when I start the opnfv domain. It says > "cannot allocate memory". I have 4GB RAM assigned to my vagrant VM where I am > bringing up the XCI. May I know what are minimum RAM needs fro XCI AIO flavor? > > vagrant@xci:~$ sudo virsh start opnfv > error: Failed to start domain opnfv > error: internal error: early end of file from monitor, possible problem: > 2017-10-12T18:29:50.649458Z qemu-system-x86_64: cannot set up guest memory > 'pc.ram': Cannot allocate memory > > vagrant@xci:~$ free -m > totalusedfree shared buff/cache > available > Mem: 3951 6561853 361441 > 2958 > Swap: 511 19 492 > vagrant@xci:~$ The AIO requirements are listed here https://git.opnfv.org/releng-xci/tree/xci/config/aio-vars The opnfv VM will need 8G of RAM so your vagrant box has to have more than that. -- markos SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg ___ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
Re: [opnfv-tech-discuss] [xci] xci - aio installation failed on a ubuntu 16.04 VM
Hi Markos The following is the error I get when I start the opnfv domain. It says "cannot allocate memory". I have 4GB RAM assigned to my vagrant VM where I am bringing up the XCI. May I know what are minimum RAM needs fro XCI AIO flavor? vagrant@xci:~$ sudo virsh start opnfv error: Failed to start domain opnfv error: internal error: early end of file from monitor, possible problem: 2017-10-12T18:29:50.649458Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory vagrant@xci:~$ free -m totalusedfree shared buff/cache available Mem: 3951 6561853 3614412958 Swap: 511 19 492 vagrant@xci:~$ Thanks Srikanth -Original Message- From: opnfv-tech-discuss-boun...@lists.opnfv.org [mailto:opnfv-tech-discuss-boun...@lists.opnfv.org] On Behalf Of Markos Chandras Sent: Thursday, October 12, 2017 12:38 AM To: opnfv-tech-discuss@lists.opnfv.org Subject: Re: [opnfv-tech-discuss] [xci] xci - aio installation failed on a ubuntu 16.04 VM On 11/10/17 23:17, Srikanth Vavilapalli wrote: > Hi > > > > I am trying to run XCI inside a ubuntu 16.04 VM and in the mid-way the > script stopped with the following error (The log is available at > https://hastebin.com/maqepiwoyi.md). Can any one plz help me to > resolve this issue? The environment I have is a vagrant VM with ubuntu 16.04 > loaded. > > > > TASK [ironic-inspect-node : Sending dnsmasq HUP] > * > > skipping: [opnfv] > > > > TASK [ironic-inspect-node : Execute node introspection - noauth_mode] > > > fatal: [opnfv]: FAILED! => {"changed": false, "failed": true, "msg": > "Inspection of node 93494378-56ee-5e22-b6f0-e3be3a9ebdf1 failed, last > error: timeout reached while inspecting the node"} > Hello, Can you do a 'sudo virsh list --all' and then start the opfnv VM (assuming there is one) using 'sudo virsh stsart opnfv'? You may get some useful errors on why your VM is not starting -- markos SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg ___ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss ___ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
Re: [opnfv-tech-discuss] [xci] xci - aio installation failed on a ubuntu 16.04 VM
Hi Srikanth, Can you also check "sudo service libvirt-bin status" ? libvirt-bin restart helped for me in the past. Thanks, Periyasamy -Original Message- From: opnfv-tech-discuss-boun...@lists.opnfv.org [mailto:opnfv-tech-discuss-boun...@lists.opnfv.org] On Behalf Of Markos Chandras Sent: Thursday, October 12, 2017 9:38 AM To: opnfv-tech-discuss@lists.opnfv.org Subject: Re: [opnfv-tech-discuss] [xci] xci - aio installation failed on a ubuntu 16.04 VM On 11/10/17 23:17, Srikanth Vavilapalli wrote: > Hi > > > > I am trying to run XCI inside a ubuntu 16.04 VM and in the mid-way the > script stopped with the following error (The log is available at > https://hastebin.com/maqepiwoyi.md). Can any one plz help me to > resolve this issue? The environment I have is a vagrant VM with ubuntu 16.04 > loaded. > > > > TASK [ironic-inspect-node : Sending dnsmasq HUP] > * > > skipping: [opnfv] > > > > TASK [ironic-inspect-node : Execute node introspection - noauth_mode] > > > fatal: [opnfv]: FAILED! => {"changed": false, "failed": true, "msg": > "Inspection of node 93494378-56ee-5e22-b6f0-e3be3a9ebdf1 failed, last > error: timeout reached while inspecting the node"} > Hello, Can you do a 'sudo virsh list --all' and then start the opfnv VM (assuming there is one) using 'sudo virsh stsart opnfv'? You may get some useful errors on why your VM is not starting -- markos SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg ___ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss ___ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
Re: [opnfv-tech-discuss] [xci] xci - aio installation failed on a ubuntu 16.04 VM
On 11/10/17 23:17, Srikanth Vavilapalli wrote: > Hi > > > > I am trying to run XCI inside a ubuntu 16.04 VM and in the mid-way the > script stopped with the following error (The log is available at > https://hastebin.com/maqepiwoyi.md). Can any one plz help me to resolve > this issue? The environment I have is a vagrant VM with ubuntu 16.04 loaded. > > > > TASK [ironic-inspect-node : Sending dnsmasq HUP] > * > > skipping: [opnfv] > > > > TASK [ironic-inspect-node : Execute node introspection - noauth_mode] > > > fatal: [opnfv]: FAILED! => {"changed": false, "failed": true, "msg": > "Inspection of node 93494378-56ee-5e22-b6f0-e3be3a9ebdf1 failed, last > error: timeout reached while inspecting the node"} > Hello, Can you do a 'sudo virsh list --all' and then start the opfnv VM (assuming there is one) using 'sudo virsh stsart opnfv'? You may get some useful errors on why your VM is not starting -- markos SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg ___ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
[opnfv-tech-discuss] [xci] xci - aio installation failed on a ubuntu 16.04 VM
Hi I am trying to run XCI inside a ubuntu 16.04 VM and in the mid-way the script stopped with the following error (The log is available at https://hastebin.com/maqepiwoyi.md). Can any one plz help me to resolve this issue? The environment I have is a vagrant VM with ubuntu 16.04 loaded. TASK [ironic-inspect-node : Sending dnsmasq HUP] *** skipping: [opnfv] TASK [ironic-inspect-node : Execute node introspection - noauth_mode] ** fatal: [opnfv]: FAILED! => {"changed": false, "failed": true, "msg": "Inspection of node 93494378-56ee-5e22-b6f0-e3be3a9ebdf1 failed, last error: timeout reached while inspecting the node"} NO MORE HOSTS LEFT * to retry, use: --limit @/tmp/.xci-deploy-env/bifrost/playbooks/opnfv-virtual.retry PLAY RECAP * 127.0.0.1 : ok=127 changed=78 unreachable=0failed=0 opnfv : ok=6changed=1unreachable=0failed=1 Making logs directory and collecting logs. Thanks Srikanth ___ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss