Re: [one-users] how to overload context for one specific vm in oneflow template
Sorry I don't think it fit our use case. We'd like to have 4 VMs 1 VM with role LVS, no problem here, using a lvs VM template 3 VM with role WEB, using a web VM template. I need to set explicitly their hostnames, no digit allowed (let's say obfuscated-vm-name-a, obfuscated-vm-name-b and obfuscated-vm-name-ab) how do I set each hostname in the service template? Le Fri Jan 23 2015 at 12:11:07, Carlos Martín Sánchez cmar...@opennebula.org a écrit : Hi there, On Thu, Jan 22, 2015 at 2:18 PM, Madko madk...@gmail.com wrote: How do you set hostname to VMs inside roles when you can't use numeric hostname (ie hostname%i)? You can use the VM ID inside the context, the following works for me: CONTEXT = [ HOSTNAME = TEST_$VMID ] Or the VM name. This VM name can be changed the vm_name_template option in oneflow-server.conf [1]. CONTEXT = [ HOSTNAME = $NAME ] Does it fit your use case? Regards [1] http://docs.opennebula.org/4.10/advanced_administration/application_flow_and_auto-scaling/appflow_configure.html -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org On Thu, Jan 22, 2015 at 2:18 PM, Madko madk...@gmail.com wrote: That's what we were doing untill now, service template with 10 or more VM and therefor 10 or more roles (1:1 ratio) are not really convenient. But thanks for your suggestion. Maybe I'm missing something. Is it possible to change vm_template_contents to some sort of array? How do you set hostname to VMs inside roles when you can't use numeric hostname (ie hostname%i)? best regards Le Thu Jan 22 2015 at 11:25:29, Carlos Martín Sánchez cmar...@opennebula.org a écrit : Hi, On Wed, Jan 21, 2015 at 3:29 PM, Madko madk...@gmail.com wrote: Hi, is there a way to overload the vm_template_contents of only one specific VM in a role? I'd like to fix the hostnames. I only manage to overload the context of all the VMs in one role. best regards, Maybe you can create a new role with the same template, and cardinality 1. Would that work for you? Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Move VM or disk snapshot to another zone or machine
Thank you very much, I'll test a change of a VM disk. Best regards 2015-01-23 11:27 GMT+01:00 Carlos Martín Sánchez cmar...@opennebula.org: Hi, On Fri, Jan 23, 2015 at 8:55 AM, Manuel Alfonso López Rourich alfonso.lo...@cenits.es wrote: Good morning, I'd like to create a back-up copy of a VM and move it to another zone, so that if there is any problem I could restore the VM to a previous state. I found that in ONE 4.6 you can create a VM or a disk snapshot, and I saw that related snapshot files remain associated with the VM, in its own zone. What I'd like to do is to move those files to another zone (for example the disk snapshot image) or at least move them to another machine, to avoid those files to be in the same machine which has been used to deploy the zone. Is there any way to do that? what are the files associated with the snapshots? Thank you very much for your help. Best regards I think you could use a live disk snapshot [1] for that. OpenNebula will create a new Image in the same datastore as the original Image, and then you can clone that new img to a different DS [2] (in the same zone). Moving images to a different zone is not supported. To do that, you can take the image file from the DS, the file's path is stored in the SOURCE attribute shown in 'oneimage show id'. This will be straight forward for file-based datastores, not so much for other type of drivers. Then register a new image in the new zone as usual. Hope it helps [1] http://docs.opennebula.org/4.10/user/virtual_resource_management/vm_guide_2.html#disk-snapshoting [2] http://docs.opennebula.org/4.10/user/virtual_resource_management/img_guide.html#clone-images -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Users Digest, Vol 83, Issue 19
Hello, I will be out of the office starting Sunday January, 18 2014 returning on Wednesday January, 28 2014. During this time I will have limited phone and email. If you are currently experiencing an outage and need immediate assistance, please call/email Chris Eldridge at (603) 498-9921 / celdri...@nessit.net. Thank you, Geoff Ness ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Users Digest, Vol 83, Issue 25
Hello, I will be out of the office starting Monday January, 19 2015 returning on Wednesday January, 28 2015. During this time I will have limited phone and email. If you are currently experiencing an outage and need immediate assistance, please call/email Chris Eldridge at (603) 498-9921 / celdri...@nessit.net. Thank you, Geoff Ness ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Move VM or disk snapshot to another zone or machine
Good morning, I'd like to create a back-up copy of a VM and move it to another zone, so that if there is any problem I could restore the VM to a previous state. I found that in ONE 4.6 you can create a VM or a disk snapshot, and I saw that related snapshot files remain associated with the VM, in its own zone. What I'd like to do is to move those files to another zone (for example the disk snapshot image) or at least move them to another machine, to avoid those files to be in the same machine which has been used to deploy the zone. Is there any way to do that? what are the files associated with the snapshots? Thank you very much for your help. Best regards ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Number of running VMs on a host is incorrect, how to reset?
Hi, On Thu, Jan 22, 2015 at 4:46 PM, Dmitri Chebotarov dcheb...@gmu.edu wrote: Hi I have few hosts showing wrong number of running VMs. I.e. below RUNNING VMS: 7, actual VMs: 2. Is there a way to reset the number and resources for those hosts? You can use the onedb fsck command to fix it: http://docs.opennebula.org/4.10/administration/references/onedb.html Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org On Thu, Jan 22, 2015 at 4:46 PM, Dmitri Chebotarov dcheb...@gmu.edu wrote: Hi I have few hosts showing wrong number of running VMs. I.e. below RUNNING VMS: 7, actual VMs: 2. Is there a way to reset the number and resources for those hosts? [oneadmin@ONE ~]$ onehost show 176 HOST 176 INFORMATION ID: 176 NAME : BC3-11 CLUSTER : RHEL STATE : MONITORED IM_MAD: kvm VM_MAD: kvm VN_MAD: ovswitch LAST MONITORING TIME : 01/22 10:40:53 HOST SHARES TOTAL MEM : 47G USED MEM (REAL) : 13.2G USED MEM (ALLOCATED) : 28G TOTAL CPU : 2400 USED CPU (REAL) : 14 USED CPU (ALLOCATED) : 1400 RUNNING VMS : 7 MONITORING INFORMATION ARCH=x86_64 CPUSPEED=1596 HOSTNAME=BC3-11 HYPERVISOR=kvm MODELNAME=Intel(R) Xeon(R) CPU X5660 @ 2.80GHz NETRX=0 NETTX=0 RESERVED_CPU= RESERVED_MEM= VERSION=4.8.0 VIRTUAL MACHINES ID USER GROUPNAMESTAT UCPUUMEM HOST TIME 62478 gmu1 vcl vmguest-vcl314 runn64.2G BC3-11 43d 23h13 63450 gmu1 vcl vmguest-vcl59 ( runn64.2G BC3-11 1d 22h44 -- Thank you, Dmitri Chebotarov VCL Sys Eng, Engineering Architectural Support, TSD - Ent Servers Messaging 223 Aquia Building, Ffx, MSN: 1B5 Phone: (703) 993-6175 | Fax: (703) 993-3404 ___ 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] Cloud bursting between OpenNebula
Hi Xavier, Currently this is not possible, since the ec2 driver uses the official amazon ruby gem and it doesn't allow using a different endpoint. We already have a ticket to implement this functionality. Could you please add information of your use case in this ticket? http://dev.opennebula.org/issues/3406 Cheers On 16 January 2015 at 12:31, Xavier Peralta xavier.pera...@csuc.cat wrote: Hi guys, I want to do cloud bursting between two opennebula clouds. I'm using in one hand an opennebula 4.10 with the ec2 server running and in the other an opennebula 4.8. Do you know were can I set the ec2 endpoint on 4.8 to connect with 4.10? I've set the EC2_URL environment variable but I get the following error in the log: Fri Jan 16 12:28:43 2015 [Z0][InM][I]: Command execution fail: /var/lib/one/remotes/im/run_probes ec2 /mnt/ 4124 20 5 ec2 Fri Jan 16 12:28:43 2015 [Z0][InM][I]: getaddrinfo: Name or service not known Fri Jan 16 12:28:43 2015 [Z0][InM][E]: Error executing poll Fri Jan 16 12:28:43 2015 [Z0][InM][I]: ExitCode: 255 Fri Jan 16 12:28:43 2015 [Z0][ONE][E]: Error monitoring Host ec2 (5): Error executing poll I've set the ec2 host IP on /etc/hosts with same result. Thanks in advance, Xavi. -- .. Xavier Peralta Ramos Unitat d'Operacions i Seguretat Consorci de Serveis Universitaris de Catalunya (CSUC) Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona T. T 93 205 6464· F. 93 205 6979 · xavier.pera...@csuc.cat .. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Move VM or disk snapshot to another zone or machine
Hi, On Fri, Jan 23, 2015 at 8:55 AM, Manuel Alfonso López Rourich alfonso.lo...@cenits.es wrote: Good morning, I'd like to create a back-up copy of a VM and move it to another zone, so that if there is any problem I could restore the VM to a previous state. I found that in ONE 4.6 you can create a VM or a disk snapshot, and I saw that related snapshot files remain associated with the VM, in its own zone. What I'd like to do is to move those files to another zone (for example the disk snapshot image) or at least move them to another machine, to avoid those files to be in the same machine which has been used to deploy the zone. Is there any way to do that? what are the files associated with the snapshots? Thank you very much for your help. Best regards I think you could use a live disk snapshot [1] for that. OpenNebula will create a new Image in the same datastore as the original Image, and then you can clone that new img to a different DS [2] (in the same zone). Moving images to a different zone is not supported. To do that, you can take the image file from the DS, the file's path is stored in the SOURCE attribute shown in 'oneimage show id'. This will be straight forward for file-based datastores, not so much for other type of drivers. Then register a new image in the new zone as usual. Hope it helps [1] http://docs.opennebula.org/4.10/user/virtual_resource_management/vm_guide_2.html#disk-snapshoting [2] http://docs.opennebula.org/4.10/user/virtual_resource_management/img_guide.html#clone-images -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Unbale to add vCenter Host from Sunstone but works from commandline
Hi, I am unable to add vCenter host from sunstone and it gives error You have to provide the vCenetr username, password and hostname However the same username, password and hostname works when I use the command onevcenter hosts --vcenter vcenter-host --vuser vcenter-username --vpass vcenter-password Sunstone Logs : Fri Jan 23 16:41:58 2015 [E]: [vCenter] You have to provide the vCenter username, password and hostname Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /vcenter?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 404 - 0.0012 Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /support/request?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 500 - 0.0011 One and sunstone service are also restarted and still same. Let me know If I am missing something. One Version - 4.10.2 Regards Kiran Ranjane ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problem Isolating a dom0
Hi there, Probably the 'users' group has the Resource Provider ALL, which gives them access to all the resources, including the new Cluster. Can you check if this is the case? Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org On Fri, Jan 16, 2015 at 9:46 AM, Alejandro Feijóo alfei...@cesga.es wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 HI. Recently i added a new dom0 to Opennebula. But is a dom0 for a concrete proyect, and only can be used by an especific user/group. I do that: 1.- Create a Datastore: 106 dptos_DS 438.5G 95% dptos 0 sys -shared 2.- Create a Cluster: 106 dptos 1 0 1 3.- And of course, attached the new dom0: 65 elearning2 dptos 1100 / 800 (12%) 20G / 31.5G (63%) on 4.- And Create a group to use that: [oneadmin@cloud ~]$ onegroup show 110 GROUP 110 INFORMATION ID : 110 NAME : dptos GROUP TEMPLATE DEFAULT_VIEW=user SUNSTONE_VIEWS=user,cloud USERS ID RESOURCE PROVIDERS ZONE CLUSTER 0 106 RESOURCE USAGE QUOTAS At that point... the dpto cluster has the dom0 as owner and... no users at group 110 (dptos group) but.. any user at group users can instantiate at elearning2 dom0... What i´m doing wrong? Thanks in advance. - -- Alejandro Feijóo Fraga Systems Technician CESGA -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUuM/6AAoJEKshAoM6XWq5Q5AH/R3HgBdwdi/ebXakd1ID9EWX vw/ri1CG6pFpx/h4sf0YXMe6IjGKFST09Mklfl0neXg06Z+eqrLfh8Fx6si0tMbq eAFhVB8ECZi5mJHHWk70KlnjZqVCuiDHAzESdfmwMoeaOFFDMwLAQSc0H/CCtag3 kbLEs6TMf1Rf6l+LKBRYKhGyaAP1Nm44xgTMlfxaJ3jAKnZbVu3lcYS+q8gZZxpx t6GAkphvSjEwVMv/5mPcvZ/odzt4M6gMrKLjq07ZETBe5msV/Kh3HBOxdAttidZA ddoQeZOSXOvaC+UqJ6weD2MSpZOXik1KuKTDBrTABRv4M5+LnRMOLZJicROMgsM= =WVsl -END PGP SIGNATURE- ___ 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] how to overload context for one specific vm in oneflow template
Hi there, On Thu, Jan 22, 2015 at 2:18 PM, Madko madk...@gmail.com wrote: How do you set hostname to VMs inside roles when you can't use numeric hostname (ie hostname%i)? You can use the VM ID inside the context, the following works for me: CONTEXT = [ HOSTNAME = TEST_$VMID ] Or the VM name. This VM name can be changed the vm_name_template option in oneflow-server.conf [1]. CONTEXT = [ HOSTNAME = $NAME ] Does it fit your use case? Regards [1] http://docs.opennebula.org/4.10/advanced_administration/application_flow_and_auto-scaling/appflow_configure.html -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org On Thu, Jan 22, 2015 at 2:18 PM, Madko madk...@gmail.com wrote: That's what we were doing untill now, service template with 10 or more VM and therefor 10 or more roles (1:1 ratio) are not really convenient. But thanks for your suggestion. Maybe I'm missing something. Is it possible to change vm_template_contents to some sort of array? How do you set hostname to VMs inside roles when you can't use numeric hostname (ie hostname%i)? best regards Le Thu Jan 22 2015 at 11:25:29, Carlos Martín Sánchez cmar...@opennebula.org a écrit : Hi, On Wed, Jan 21, 2015 at 3:29 PM, Madko madk...@gmail.com wrote: Hi, is there a way to overload the vm_template_contents of only one specific VM in a role? I'd like to fix the hostnames. I only manage to overload the context of all the VMs in one role. best regards, Maybe you can create a new role with the same template, and cardinality 1. Would that work for you? Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Unbale to add vCenter Host from Sunstone but works from commandline
Hi, Are you running sunstone behind a proxy/apache, those values are passed to the server using the following headers: HTTP_X_VCENTER_USER HTTP_X_VCENTER_PASSWORD HTTP_X_VCENTER_HOST May be you have to forward them in your server conf Hope this helps On 23 January 2015 at 12:19, kiran ranjane kiran.ranj...@gmail.com wrote: Hi, I am unable to add vCenter host from sunstone and it gives error You have to provide the vCenetr username, password and hostname However the same username, password and hostname works when I use the command onevcenter hosts --vcenter vcenter-host --vuser vcenter-username --vpass vcenter-password Sunstone Logs : Fri Jan 23 16:41:58 2015 [E]: [vCenter] You have to provide the vCenter username, password and hostname Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /vcenter?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 404 - 0.0012 Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /support/request?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 500 - 0.0011 One and sunstone service are also restarted and still same. Let me know If I am missing something. One Version - 4.10.2 Regards Kiran Ranjane ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Unbale to add vCenter Host from Sunstone but works from commandline
Hi Daniel, I tried adding proxy_pass_request_headers on; to the config file still getting same issue, Here's my nginx config, let me know if I am doing something wrong : # /etc/nginx/sites-available/opennebula-sunstone # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples. ## upstream sunstone { server 127.0.0.1:9869; } server { listen 443; server_name synccore; ssl on; ssl_certificate /etc/nginx/ssl/nginx.crt; ssl_certificate_key /etc/nginx/ssl/nginx.key; root /usr/share/nginx/html; index index.html index.htm; access_log /var/log/nginx/opennebula-sunstone-access.log; error_log /var/log/nginx/opennebula-sunstone-error.log; # To upload ISO files, must be increased for VMs images client_max_body_size 2048G; location / { include proxy_params; proxy_pass http://sunstone; proxy_pass_request_headers on; Regards Kiran Ranjane On Fri, Jan 23, 2015 at 6:12 PM, Daniel Molina dmol...@opennebula.org wrote: You have to include the following attrs in your nginx conf underscores_in_headers on; proxy_pass_request_headers on; On 23 January 2015 at 13:39, kiran ranjane kiran.ranj...@gmail.com wrote: Yes Daniel, I am using nginx. Do you want me to add these values to nginx site config file ot to sunstone-server config file? Regards Kiran Ranjane On Fri, Jan 23, 2015 at 4:58 PM, Daniel Molina dmol...@opennebula.org wrote: Hi, Are you running sunstone behind a proxy/apache, those values are passed to the server using the following headers: HTTP_X_VCENTER_USER HTTP_X_VCENTER_PASSWORD HTTP_X_VCENTER_HOST May be you have to forward them in your server conf Hope this helps On 23 January 2015 at 12:19, kiran ranjane kiran.ranj...@gmail.com wrote: Hi, I am unable to add vCenter host from sunstone and it gives error You have to provide the vCenetr username, password and hostname However the same username, password and hostname works when I use the command onevcenter hosts --vcenter vcenter-host --vuser vcenter-username --vpass vcenter-password Sunstone Logs : Fri Jan 23 16:41:58 2015 [E]: [vCenter] You have to provide the vCenter username, password and hostname Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /vcenter?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 404 - 0.0012 Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /support/request?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 500 - 0.0011 One and sunstone service are also restarted and still same. Let me know If I am missing something. One Version - 4.10.2 Regards Kiran Ranjane ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Unbale to add vCenter Host from Sunstone but works from commandline
You have to include both attrs inside the server section and restart: underscores_in_headers on; proxy_pass_request_headers on; On 23 January 2015 at 15:47, kiran ranjane kiran.ranj...@gmail.com wrote: Hi Daniel, I tried adding proxy_pass_request_headers on; to the config file still getting same issue, Here's my nginx config, let me know if I am doing something wrong : # /etc/nginx/sites-available/opennebula-sunstone # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples. ## upstream sunstone { server 127.0.0.1:9869; } server { listen 443; server_name synccore; ssl on; ssl_certificate /etc/nginx/ssl/nginx.crt; ssl_certificate_key /etc/nginx/ssl/nginx.key; root /usr/share/nginx/html; index index.html index.htm; access_log /var/log/nginx/opennebula-sunstone-access.log; error_log /var/log/nginx/opennebula-sunstone-error.log; # To upload ISO files, must be increased for VMs images client_max_body_size 2048G; location / { include proxy_params; proxy_pass http://sunstone; proxy_pass_request_headers on; Regards Kiran Ranjane On Fri, Jan 23, 2015 at 6:12 PM, Daniel Molina dmol...@opennebula.org wrote: You have to include the following attrs in your nginx conf underscores_in_headers on; proxy_pass_request_headers on; On 23 January 2015 at 13:39, kiran ranjane kiran.ranj...@gmail.com wrote: Yes Daniel, I am using nginx. Do you want me to add these values to nginx site config file ot to sunstone-server config file? Regards Kiran Ranjane On Fri, Jan 23, 2015 at 4:58 PM, Daniel Molina dmol...@opennebula.org wrote: Hi, Are you running sunstone behind a proxy/apache, those values are passed to the server using the following headers: HTTP_X_VCENTER_USER HTTP_X_VCENTER_PASSWORD HTTP_X_VCENTER_HOST May be you have to forward them in your server conf Hope this helps On 23 January 2015 at 12:19, kiran ranjane kiran.ranj...@gmail.com wrote: Hi, I am unable to add vCenter host from sunstone and it gives error You have to provide the vCenetr username, password and hostname However the same username, password and hostname works when I use the command onevcenter hosts --vcenter vcenter-host --vuser vcenter-username --vpass vcenter-password Sunstone Logs : Fri Jan 23 16:41:58 2015 [E]: [vCenter] You have to provide the vCenter username, password and hostname Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /vcenter?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 404 - 0.0012 Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /support/request?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 500 - 0.0011 One and sunstone service are also restarted and still same. Let me know If I am missing something. One Version - 4.10.2 Regards Kiran Ranjane ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] After upgrade to 4.10.2 unable to login using any users including oneadmin
On 21 Jan 2015, at 11:13, Madko wrote: Hi, Had the same problem about conf files renamed to .rpmsave, and therefor opennebula was enable to start. Hopefully I saw this thread ;) Is it possible to change this behavior and have .rpmnew instead, to prevent breaking everything after an upgrade? %config(noreplace) in the spec file should do the trick, and it's a good practice. It seems to me that this has to be looked at on a case-by-case basis. In THIS case, the installation of new default config files is inconsistent with the release notes that say there are no changes, so replacing derivatives of the 4.10.[01] files with defaul 4.10.2 files is wrong. However, most past updates have been documented as having incompatible changes in the config files, and in such cases it can be better to put the new default files in place and move the existing files to .rpmsave files, especially if the old config files are likely to break the new software at runtime. Ideally, a package's config files are structured and maintained to minimize the need for manual merging of local settings after updates, but OpenNebula is not near that ideal. Of course, any competent upgrade process for RPM platforms *ALWAYS* includes checking for .rpm{save,new,orig} files afterwards and cleaning them up with the application of human intelligence not available to the RPM tools. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Number of running VMs on a host is incorrect, how to reset?
Hi, I traced it back to slow DB performance. After running 'onehost show' several times all VMs finally show up... -- Thank you, Dmitri Chebotarov VCL Sys Eng, Engineering Architectural Support, TSD - Ent Servers Messaging 223 Aquia Building, Ffx, MSN: 1B5 Phone: (703) 993-6175 | Fax: (703) 993-3404 On Jan 22, 2015, at 10:46 , Dmitri Chebotarov dcheb...@gmu.edu wrote: Hi I have few hosts showing wrong number of running VMs. I.e. below RUNNING VMS: 7, actual VMs: 2. Is there a way to reset the number and resources for those hosts? [oneadmin@ONE ~]$ onehost show 176 HOST 176 INFORMATION ID: 176 NAME : BC3-11 CLUSTER : RHEL STATE : MONITORED IM_MAD: kvm VM_MAD: kvm VN_MAD: ovswitch LAST MONITORING TIME : 01/22 10:40:53 HOST SHARES TOTAL MEM : 47G USED MEM (REAL) : 13.2G USED MEM (ALLOCATED) : 28G TOTAL CPU : 2400 USED CPU (REAL) : 14 USED CPU (ALLOCATED) : 1400 RUNNING VMS : 7 MONITORING INFORMATION ARCH=x86_64 CPUSPEED=1596 HOSTNAME=BC3-11 HYPERVISOR=kvm MODELNAME=Intel(R) Xeon(R) CPU X5660 @ 2.80GHz NETRX=0 NETTX=0 RESERVED_CPU= RESERVED_MEM= VERSION=4.8.0 VIRTUAL MACHINES ID USER GROUPNAMESTAT UCPUUMEM HOST TIME 62478 gmu1 vcl vmguest-vcl314 runn64.2G BC3-11 43d 23h13 63450 gmu1 vcl vmguest-vcl59 ( runn64.2G BC3-11 1d 22h44 -- Thank you, Dmitri Chebotarov VCL Sys Eng, Engineering Architectural Support, TSD - Ent Servers Messaging 223 Aquia Building, Ffx, MSN: 1B5 Phone: (703) 993-6175 | Fax: (703) 993-3404 ___ 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] Unbale to add vCenter Host from Sunstone but works from commandline
Thanks Daniel, yes it worked now. This should be added to docs Regards Kiran Ranjane On Fri, Jan 23, 2015 at 8:20 PM, Daniel Molina dmol...@opennebula.org wrote: You have to include both attrs inside the server section and restart: underscores_in_headers on; proxy_pass_request_headers on; On 23 January 2015 at 15:47, kiran ranjane kiran.ranj...@gmail.com wrote: Hi Daniel, I tried adding proxy_pass_request_headers on; to the config file still getting same issue, Here's my nginx config, let me know if I am doing something wrong : # /etc/nginx/sites-available/opennebula-sunstone # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples. ## upstream sunstone { server 127.0.0.1:9869; } server { listen 443; server_name synccore; ssl on; ssl_certificate /etc/nginx/ssl/nginx.crt; ssl_certificate_key /etc/nginx/ssl/nginx.key; root /usr/share/nginx/html; index index.html index.htm; access_log /var/log/nginx/opennebula-sunstone-access.log; error_log /var/log/nginx/opennebula-sunstone-error.log; # To upload ISO files, must be increased for VMs images client_max_body_size 2048G; location / { include proxy_params; proxy_pass http://sunstone; proxy_pass_request_headers on; Regards Kiran Ranjane On Fri, Jan 23, 2015 at 6:12 PM, Daniel Molina dmol...@opennebula.org wrote: You have to include the following attrs in your nginx conf underscores_in_headers on; proxy_pass_request_headers on; On 23 January 2015 at 13:39, kiran ranjane kiran.ranj...@gmail.com wrote: Yes Daniel, I am using nginx. Do you want me to add these values to nginx site config file ot to sunstone-server config file? Regards Kiran Ranjane On Fri, Jan 23, 2015 at 4:58 PM, Daniel Molina dmol...@opennebula.org wrote: Hi, Are you running sunstone behind a proxy/apache, those values are passed to the server using the following headers: HTTP_X_VCENTER_USER HTTP_X_VCENTER_PASSWORD HTTP_X_VCENTER_HOST May be you have to forward them in your server conf Hope this helps On 23 January 2015 at 12:19, kiran ranjane kiran.ranj...@gmail.com wrote: Hi, I am unable to add vCenter host from sunstone and it gives error You have to provide the vCenetr username, password and hostname However the same username, password and hostname works when I use the command onevcenter hosts --vcenter vcenter-host --vuser vcenter-username --vpass vcenter-password Sunstone Logs : Fri Jan 23 16:41:58 2015 [E]: [vCenter] You have to provide the vCenter username, password and hostname Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /vcenter?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 404 - 0.0012 Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /support/request?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 500 - 0.0011 One and sunstone service are also restarted and still same. Let me know If I am missing something. One Version - 4.10.2 Regards Kiran Ranjane ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Unbale to add vCenter Host from Sunstone but works from commandline
I have already included it in the docs, thank you On 23 January 2015 at 16:07, kiran ranjane kiran.ranj...@gmail.com wrote: Thanks Daniel, yes it worked now. This should be added to docs Regards Kiran Ranjane On Fri, Jan 23, 2015 at 8:20 PM, Daniel Molina dmol...@opennebula.org wrote: You have to include both attrs inside the server section and restart: underscores_in_headers on; proxy_pass_request_headers on; On 23 January 2015 at 15:47, kiran ranjane kiran.ranj...@gmail.com wrote: Hi Daniel, I tried adding proxy_pass_request_headers on; to the config file still getting same issue, Here's my nginx config, let me know if I am doing something wrong : # /etc/nginx/sites-available/opennebula-sunstone # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples. ## upstream sunstone { server 127.0.0.1:9869; } server { listen 443; server_name synccore; ssl on; ssl_certificate /etc/nginx/ssl/nginx.crt; ssl_certificate_key /etc/nginx/ssl/nginx.key; root /usr/share/nginx/html; index index.html index.htm; access_log /var/log/nginx/opennebula-sunstone-access.log; error_log /var/log/nginx/opennebula-sunstone-error.log; # To upload ISO files, must be increased for VMs images client_max_body_size 2048G; location / { include proxy_params; proxy_pass http://sunstone; proxy_pass_request_headers on; Regards Kiran Ranjane On Fri, Jan 23, 2015 at 6:12 PM, Daniel Molina dmol...@opennebula.org wrote: You have to include the following attrs in your nginx conf underscores_in_headers on; proxy_pass_request_headers on; On 23 January 2015 at 13:39, kiran ranjane kiran.ranj...@gmail.com wrote: Yes Daniel, I am using nginx. Do you want me to add these values to nginx site config file ot to sunstone-server config file? Regards Kiran Ranjane On Fri, Jan 23, 2015 at 4:58 PM, Daniel Molina dmol...@opennebula.org wrote: Hi, Are you running sunstone behind a proxy/apache, those values are passed to the server using the following headers: HTTP_X_VCENTER_USER HTTP_X_VCENTER_PASSWORD HTTP_X_VCENTER_HOST May be you have to forward them in your server conf Hope this helps On 23 January 2015 at 12:19, kiran ranjane kiran.ranj...@gmail.com wrote: Hi, I am unable to add vCenter host from sunstone and it gives error You have to provide the vCenetr username, password and hostname However the same username, password and hostname works when I use the command onevcenter hosts --vcenter vcenter-host --vuser vcenter-username --vpass vcenter-password Sunstone Logs : Fri Jan 23 16:41:58 2015 [E]: [vCenter] You have to provide the vCenter username, password and hostname Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /vcenter?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 404 - 0.0012 Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /support/request?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 500 - 0.0011 One and sunstone service are also restarted and still same. Let me know If I am missing something. One Version - 4.10.2 Regards Kiran Ranjane ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Unbale to add vCenter Host from Sunstone but works from commandline
Yes Daniel, I am using nginx. Do you want me to add these values to nginx site config file ot to sunstone-server config file? Regards Kiran Ranjane On Fri, Jan 23, 2015 at 4:58 PM, Daniel Molina dmol...@opennebula.org wrote: Hi, Are you running sunstone behind a proxy/apache, those values are passed to the server using the following headers: HTTP_X_VCENTER_USER HTTP_X_VCENTER_PASSWORD HTTP_X_VCENTER_HOST May be you have to forward them in your server conf Hope this helps On 23 January 2015 at 12:19, kiran ranjane kiran.ranj...@gmail.com wrote: Hi, I am unable to add vCenter host from sunstone and it gives error You have to provide the vCenetr username, password and hostname However the same username, password and hostname works when I use the command onevcenter hosts --vcenter vcenter-host --vuser vcenter-username --vpass vcenter-password Sunstone Logs : Fri Jan 23 16:41:58 2015 [E]: [vCenter] You have to provide the vCenter username, password and hostname Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /vcenter?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 404 - 0.0012 Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /support/request?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 500 - 0.0011 One and sunstone service are also restarted and still same. Let me know If I am missing something. One Version - 4.10.2 Regards Kiran Ranjane ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Unbale to add vCenter Host from Sunstone but works from commandline
You have to include the following attrs in your nginx conf underscores_in_headers on; proxy_pass_request_headers on; On 23 January 2015 at 13:39, kiran ranjane kiran.ranj...@gmail.com wrote: Yes Daniel, I am using nginx. Do you want me to add these values to nginx site config file ot to sunstone-server config file? Regards Kiran Ranjane On Fri, Jan 23, 2015 at 4:58 PM, Daniel Molina dmol...@opennebula.org wrote: Hi, Are you running sunstone behind a proxy/apache, those values are passed to the server using the following headers: HTTP_X_VCENTER_USER HTTP_X_VCENTER_PASSWORD HTTP_X_VCENTER_HOST May be you have to forward them in your server conf Hope this helps On 23 January 2015 at 12:19, kiran ranjane kiran.ranj...@gmail.com wrote: Hi, I am unable to add vCenter host from sunstone and it gives error You have to provide the vCenetr username, password and hostname However the same username, password and hostname works when I use the command onevcenter hosts --vcenter vcenter-host --vuser vcenter-username --vpass vcenter-password Sunstone Logs : Fri Jan 23 16:41:58 2015 [E]: [vCenter] You have to provide the vCenter username, password and hostname Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /vcenter?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 404 - 0.0012 Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] GET /support/request?timeout=falsecsrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0 500 - 0.0011 One and sunstone service are also restarted and still same. Let me know If I am missing something. One Version - 4.10.2 Regards Kiran Ranjane ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] vOneCloud 1.2
Hi I wanted to know how do I upgrade to vOneCloud 1.2 Thanks Vincenzo Le comunicazioni Internet non sono sicure e quindi Vbarbieri non accetta alcuna responsabilita' per il contenuto di questo messaggio. Sebbene vbarbieri abbia attivato programmi anti-virus, non accetta responsabilita' per qualsiasi tipo di danno che possa derivare dal trasferimento di virus.Qualsiasi punto di vista od opinione espressa sono esclusivamente quelli dell'autore e non rappresentano necessariamente quelli di Vbarbieri . Le risposte a questo messaggio elettronico possono essere controllate da Vbarbieri per ragioni di sicurezza, operative o aziendali. Nel rispetto delle disposizioni di legge e regolamento applicabili, Vbarbieri si riserva il diritto di monitorare le comunicazioni elettroniche attraverso apposite attivita' di monitoraggio finalizzate all'identificazione e alla prevenzione della diffusione accidentale e/o fraudolenta di informazioni. Qualsiasi uso non autorizzato di questo messaggio elettronico o dei suoi allegati e' proibito e potrebbe costituire un reato. Se non siete il destinatario desiderato di questa mail, qualunque comunicazione, copia, distribuzione oqualunque azione od omissione in relazione ai dati in essa contenuti e' illecita, e siete pregato di informare immediatamente il mittente utilizzando l'opzione Rispondi nel vostro software di postaelettronica e di distruggere il messaggio e tutti i suoi allegati. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] vOneCloud 1.2
Dear Vicenzo, vOneCloud 1.2 has not been yet released, although it is around the corner. Best regards, -Tino -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc VP of Engineering | Head of Research at OpenNebula Systems cvazquez@OpenNebula.Systems | @OpenNebula -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of OpenNebula.Systems S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at abuse@opennebula.systems and delete the e-mail and attachments and any copy from your system. OpenNebula's thanks you for your cooperation. 2015-01-23 13:57 GMT+01:00 barbieri vincenzo vincenzo.barbi...@vbarbieri.com: Hi I wanted to know how do I upgrade to vOneCloud 1.2 Thanks Vincenzo Le comunicazioni Internet non sono sicure e quindi Vbarbieri non accetta alcuna responsabilita' per il contenuto di questo messaggio. Sebbene vbarbieri abbia attivato programmi anti-virus, non accetta responsabilita' per qualsiasi tipo di danno che possa derivare dal trasferimento di virus.Qualsiasi punto di vista od opinione espressa sono esclusivamente quelli dell'autore e non rappresentano necessariamente quelli di Vbarbieri . Le risposte a questo messaggio elettronico possono essere controllate da Vbarbieri per ragioni di sicurezza, operative o aziendali. Nel rispetto delle disposizioni di legge e regolamento applicabili, Vbarbieri si riserva il diritto di monitorare le comunicazioni elettroniche attraverso apposite attivita' di monitoraggio finalizzate all'identificazione e alla prevenzione della diffusione accidentale e/o fraudolenta di informazioni. Qualsiasi uso non autorizzato di questo messaggio elettronico o dei suoi allegati e' proibito e potrebbe costituire un reato. Se non siete il destinatario desiderato di questa mail, qualunque comunicazione, copia, distribuzione oqualunque azione od omissione in relazione ai dati in essa contenuti e' illecita, e siete pregato di informare immediatamente il mittente utilizzando l'opzione Rispondi nel vostro software di postaelettronica e di distruggere il messaggio e tutti i suoi allegati. ___ 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