[one-users] Issue with adding CDROM and boot it
Hello I set up a cluster of 3 nodes Opennebula and NFS. deployment.0 domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0' nameone-38/name cputune shares1024/shares /cputune memory1048576/memory os type arch='x86_64'hvm/type boot dev='cdrom'/ /os devices emulator/usr/bin/kvm/emulator disk type='file' device='cdrom' source file='/var/lib/one//datastores/0/38/disk.0'/ target dev='hda'/ readonly/ driver name='qemu' type='raw' cache='none'/ /disk disk type='file' device='cdrom' source file='/var/lib/one//datastores/0/38/disk.1'/ target dev='hdb'/ readonly/ driver name='qemu' type='raw'/ /disk interface type='bridge' source bridge='br0'/ mac address='02:00:b0:7e:a5:86'/ /interface graphics type='vnc' listen='0.0.0.0' port='5938'/ /devices features acpi/ /features /domain /var/lib/one//datastores/0/38/disk.0 - points to iso file I do not know, why in deployment.0 having 2 cdroms, in the template only 1 disk added because of it .. i can not boot VM via CDROM --- Старший Системный Администратор Алексей Шалин ОсОО Хостер kg - http://www.hoster.kg ул. Ахунбаева 123 (здание БГТС) h...@hoster.kg ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Issue with adding CDROM and boot it
Alexey Shalin c...@hoster.kg writes: Hello I set up a cluster of 3 nodes Opennebula and NFS. [...] /var/lib/one//datastores/0/38/disk.0 - points to iso file I do not know, why in deployment.0 having 2 cdroms, in the template only 1 disk added because of it .. i can not boot VM via CDROM The second CDROM is CONTEXT. We report an issue[1] to avoid adding TARGET=hda on boot ISO. Regards. Footnotes: [1] http://dev.opennebula.org/issues/3158 -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF signature.asc Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] fastest way to set root passwords on vms
Hello, I'm searching the way to set the root password on the new created VMs from administrator side to be able to send notification to the user about new created VM with a temporary root password. Any ideas ? Regards, Nikolaj ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Multiple probes running on a node
Hello, One of our ONE 4.8 node has tons of monitor_ds.sh probes running. All the “du” are marked in uninterruptible sleep 5903 ? Ss 0:00 \_ sshd: oneadmin [priv] 5905 ? S 0:00 \_ sshd: oneadmin@notty 5906 ? Ss 0:00 \_ bash -c if [ -x /var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8 igor; else exit 42; fi 5907 ? S 0:00 \_ /bin/bash /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8 igor 5914 ? S 0:00 \_ /bin/bash /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8 igor 5915 ? S 0:00 \_ /bin/bash /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8 igor 5920 ? S 0:00 \_ /bin/bash ./collectd-client_control.sh kvm /var/lib/one//datastores 4124 60 8 igor 5927 ? S 0:00 \_ /bin/bash /var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores 4124 60 8 igor 5934 ? S 0:00 \_ /bin/bash /var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores 4124 60 8 igor 5935 ? S 0:00 \_ /bin/bash /var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores 4124 60 8 igor 5988 ? S 0:00 \_ /bin/bash ./monitor_ds.sh kvm-probes /var/lib/one//datastores 4124 60 8 igor 5991 ? S 0:00 \_ /bin/bash ./monitor_ds.sh kvm-probes /var/lib/one//datastores 4124 60 8 igor 5992 ? D 0:00 \_ du -sLm /var/lib/one//datastores 5993 ? S 0:00 \_ cut -f1 I think that instead of trying to run the probes again and again adding more contention on the disk, ONE should report the node as ERROR. Should I open a bug? Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF signature.asc Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Multiple probes running on a node
Absolutely, and we will stop using du, hopefully in the next version. On Wed, Dec 3, 2014 at 2:21 PM, Daniel Dehennin daniel.dehen...@baby-gnu.org wrote: Hello, One of our ONE 4.8 node has tons of monitor_ds.sh probes running. All the “du” are marked in uninterruptible sleep 5903 ? Ss 0:00 \_ sshd: oneadmin [priv] 5905 ? S 0:00 \_ sshd: oneadmin@notty 5906 ? Ss 0:00 \_ bash -c if [ -x /var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8 igor; else exit 42; fi 5907 ? S 0:00 \_ /bin/bash /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8 igor 5914 ? S 0:00 \_ /bin/bash /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8 igor 5915 ? S 0:00 \_ /bin/bash /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8 igor 5920 ? S 0:00 \_ /bin/bash ./collectd-client_control.sh kvm /var/lib/one//datastores 4124 60 8 igor 5927 ? S 0:00 \_ /bin/bash /var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores 4124 60 8 igor 5934 ? S 0:00 \_ /bin/bash /var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores 4124 60 8 igor 5935 ? S 0:00 \_ /bin/bash /var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores 4124 60 8 igor 5988 ? S 0:00 \_ /bin/bash ./monitor_ds.sh kvm-probes /var/lib/one//datastores 4124 60 8 igor 5991 ? S 0:00 \_ /bin/bash ./monitor_ds.sh kvm-probes /var/lib/one//datastores 4124 60 8 igor 5992 ? D 0:00 \_ du -sLm /var/lib/one//datastores 5993 ? S 0:00 \_ cut -f1 I think that instead of trying to run the probes again and again adding more contention on the disk, ONE should report the node as ERROR. Should I open a bug? Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Network contextualization VM
Good morning Jose Ángel, Thank you very much for your response. udev rules within the vm in /etc/udev/rules create eth0 or 1 depending on the MAC. In /dev/sr0 a file named context.sh contains the IP and the gw among other data but I don't understand why eth0 doesn't have the IP associated or the route table is empty. I've tried to run a command on vm boot which executes ifconfig eth0 IP and route add default gw dir. The problem is that on boot the directory containing context.sh is not mounted and I cannot access the contextualization data. I've also tried to execute a script in /etc/one-context.d/ but it doesn't seem to execute. Thank you very much, Best regards 2014-12-02 15:18 GMT+01:00 Jose Angel Diaz joseangel.d...@cenatic.es: Hi Manuel Have you test that the udev is not conflicting with your context interfaces? After install the context packages it's necesary to clean the resol.conf, delete some ifcfg-ethxx scripts on the system to make the context correctly change the info in the machine. Some time the /etc/udev/rules.d/70-persistent-net.rules To add some scripts to execute on the context stage you could add some scripts in the /etc/one-context.d dir with a correct secuential number and it could be launched inside the VM when is starting. Hope it helps.. Enviado con MailTrack https://mailtrack.io/install?source=signaturelang=esreferral=joseangel.d...@cenatic.esidSignature=23 2014-12-02 15:01 GMT+01:00 Manuel Alfonso López Rourich alfonso.lo...@cenits.es: Good morning, I'd like to ask you a question about network contextualization of VMs. I had created a template with CentOS (in Contextualization tag Add network contextualization and Add SSH contextualization is enabled. After deploying a VM, I can see that there is a context.sh file with the content of some network parameters (ETH0_GATEWAY, etc.) but network is not configured correctly after the deployment of a vm (to fix it I have to execute (1) *ifconfig eth0 some_ip* and (2) *route add default gw*) How could I modify some script so that after booting a vm those commands are executed automatically? Thank you very much Best regards ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jose Angel Diaz Diaz Coordinador Tecnologico CENATIC - Correo Corporativo Fundación Cenatic Este email ha sido enviado desde una plataforma perteneciente a la Fundación Cenatic Cualquier duda o modificacion contactar con Fundación Cenatic +34 924 67 73 16 i...@cenatic.es ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Multiple probes running on a node
Jaime Melis j.me...@gmail.com writes: Absolutely, Ok, done[1]. and we will stop using du, hopefully in the next version. Great, it can be quite heavy, mostly over NFS. Regards. Footnotes: [1] http://dev.opennebula.org/issues/3393 -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF signature.asc Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] netkvm driver not working in Windows 8 64bit
Hi everybody, I have a problem to get the netkvm virtio driver up and running in a freshly installed Windows 8 64bit installation. When I start up the VM it recognizes and installs the networks card as a realteak card. When I then change the driver to the latest virtio netkvm driver from Red Hat, Windows wants to restart and then tells me it couldnt initialize the network card. Its weird because I used the drivers without problems in Windows Server 2012 VMs on the same installation. Does anybody know what the problem could be? Cheers, Christian --- Christian Hüning, BSc. Fakultät Technik und Informatik, Department Informatik Berliner Tor 7 20099 Hamburg Tel.: +49 40 / 42875 - 8436 Mobil: +49 40 / 180 55 44 5 Web: http://www.mars-group.org smime.p7s Description: S/MIME cryptographic signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Network contextualization VM
I had a similar problem on CentOS 5, and perhaps 6 too. What do you have in /dev/disk/by-label/ ? Do you have the link to the cd iso labeled CONTEXT? Not sure it's the same bug, here is a patch http://dev.opennebula.org/issues/3365 best regards Le Wed Dec 03 2014 at 15:02:08, Manuel Alfonso López Rourich alfonso.lo...@cenits.es a écrit : Good morning Jose Ángel, Thank you very much for your response. udev rules within the vm in /etc/udev/rules create eth0 or 1 depending on the MAC. In /dev/sr0 a file named context.sh contains the IP and the gw among other data but I don't understand why eth0 doesn't have the IP associated or the route table is empty. I've tried to run a command on vm boot which executes ifconfig eth0 IP and route add default gw dir. The problem is that on boot the directory containing context.sh is not mounted and I cannot access the contextualization data. I've also tried to execute a script in /etc/one-context.d/ but it doesn't seem to execute. Thank you very much, Best regards 2014-12-02 15:18 GMT+01:00 Jose Angel Diaz joseangel.d...@cenatic.es: Hi Manuel Have you test that the udev is not conflicting with your context interfaces? After install the context packages it's necesary to clean the resol.conf, delete some ifcfg-ethxx scripts on the system to make the context correctly change the info in the machine. Some time the /etc/udev/rules.d/70-persistent-net.rules To add some scripts to execute on the context stage you could add some scripts in the /etc/one-context.d dir with a correct secuential number and it could be launched inside the VM when is starting. Hope it helps.. Enviado con MailTrack https://mailtrack.io/install?source=signaturelang=esreferral=joseangel.d...@cenatic.esidSignature=23 2014-12-02 15:01 GMT+01:00 Manuel Alfonso López Rourich alfonso.lo...@cenits.es: Good morning, I'd like to ask you a question about network contextualization of VMs. I had created a template with CentOS (in Contextualization tag Add network contextualization and Add SSH contextualization is enabled. After deploying a VM, I can see that there is a context.sh file with the content of some network parameters (ETH0_GATEWAY, etc.) but network is not configured correctly after the deployment of a vm (to fix it I have to execute (1) *ifconfig eth0 some_ip* and (2) *route add default gw*) How could I modify some script so that after booting a vm those commands are executed automatically? Thank you very much Best regards ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jose Angel Diaz Diaz Coordinador Tecnologico CENATIC - Correo Corporativo Fundación Cenatic Este email ha sido enviado desde una plataforma perteneciente a la Fundación Cenatic Cualquier duda o modificacion contactar con Fundación Cenatic +34 924 67 73 16 i...@cenatic.es ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Bare Metal provisioning with OpenNebula
Hi, Can I configure Bare Metal Provisioning or Metal As a Service with OpenNebula ? Regards Neelesh Gurjar ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org