[one-users] [ BUG ] opennebula-sunstone-4.6.1-1.x86_64 : Unresponsive Updating Templates
Hello Mailing List, Preface, physical server information: Processor: Single E5-1650 v2 [ 6/12 @ 3.50 GHz / Ivy Bridge ] Storage: 2x 6TB HDD [ Local Storage via default data-stores ] Software types and versions installed: Operating System: Linux Distribution: Cent OS Version: 6.5 Architecture: x86_64 (64 bit) Kernel: 2.6.32-431.17.1.el6 opennebula-ruby-4.6.1-1.x86_64 opennebula-sunstone-4.6.1-1.x86_64 opennebula-node-kvm-4.6.1-1.x86_64 opennebula-common-4.6.1-1.x86_64 opennebula-4.6.1-1.x86_64 opennebula-server-4.6.1-1.x86_64 --- The actual issue: --- After creating a new SunStone + KVM Node configuration, as specified in your QuickStart documentation [ without NFS configuration, as both the frontend and backend are on the same server for testing. ] I have created the host machine and network in the CLI, then did the following: I attempted to update one of my existing templates, [ created via the following raw template data as imported into the SunStone via the second option. ] When I attempt to Update the template, the web interface stalls for some 10-60 seconds, other times it doesn't ever come up [ the template in wizard mode to edit. ] This issue is not seen with the CLI, so I know the issue is not a slow database. The default .sqlite database is being used. This issue was not seen in the previous version [4.6] , it appears new to [4.6.1] ; but I have not had this hardware before then, so I cannot confirm this. --- Steps to Reproduce: --- 1. Click on any template in SunStone 2. Click Update and wait... --- RAW Template Data [attached] --- NAME=CentOS-6.5 CONTEXT=[ NETWORK=YES, SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ] CPU=1.0 DISK=[ IMAGE=CentOS-6.5, DRIVER=qcow2, DEV_PREFIX=vd ] GRAPHICS=[ LISTEN=0.0.0.0, TYPE=vnc ] MEMORY=512 NIC=[ NETWORK=network ] OS=[ ARCH=x86_64 ] ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] [ BUG ] opennebula-sunstone-4.6.1-1.x86_64 : Unresponsive Updating Templates
Hello,I am experiencing this problem with all of the following browsers:- Google Chrome Version 35.0.1916.114 m [ LATEST - TODAY ]- Mozilla Firefox [ Nightly ] 32.0a1.en-US [ LATEST - NIGHTLY ]- Microsoft Internet Explorer 11 for Windows 8 Professional x64As per my connection to the server running sunstone [ to confirm that this is not a latency / network issue ] :- Speedtest run from my computer: http://www.speedtest.net/result/3543767632.pngThe server runs a symmetric 10Ge line, which I was able to confirm as full capacity by testing against another server with symmetric 10Ge .The 2x local drives on the server are in software RAID1 with ram caching [ large deferred host page write buffer, 10 centisceond page decay. ] ; ioutil is 1% / 500kbps / 20iops , so I know storage is not an issue for lagging it.Host node load / CPU usages a re all below 10% at all times [ except ID%, which is obviously the inverse of actual usage. ]On Wed, 04 Jun 2014 01:53:50 -0700, Daniel Molina dmol...@opennebula.org wrote:Hi,We found a similar problem in one-4.6 but it should be fixed in one-4.6.1. Are you experiencing the same problem using a different browser?Cheers On 30 May 2014 05:21, Damon (Albino Geek) albinog...@gmail.com wrote: Hello Mailing List, Preface, physical server information: Processor: Single E5-1650 v2 [ 6/12 @ 3.50 GHz / Ivy Bridge ] Storage: 2x 6TB HDD [ Local Storage via default data-stores ] Software types and versions installed: Operating System: Linux Distribution: Cent OS Version: 6.5 Architecture: x86_64 (64 bit) Kernel: 2.6.32-431.17.1.el6 opennebula-ruby-4.6.1-1.x86_64 opennebula-sunstone-4.6.1-1.x86_64 opennebula-node-kvm-4.6.1-1.x86_64 opennebula-common-4.6.1-1.x86_64 opennebula-4.6.1-1.x86_64 opennebula-server-4.6.1-1.x86_64 --- The actual issue: --- After creating a new SunStone + KVM Node configuration, as specified in your QuickStart documentation [ without NFS configuration, as both the frontend and backend are on the same server for testing. ] I have created the host machine and network in the CLI, then did the following: I attempted to update one of my existing templates, [ created via the following raw template data as imported into the SunStone via the second option. ] When I attempt to Update the template, the web interface stalls for some 10-60 seconds, other times it doesnt ever come up [ the template in wizard mode to edit. ] This issue is not seen with the CLI, so I know the issue is not a slow database. The default .sqlite database is being used. This issue was not seen in the previous version [4.6] , it appears new to [4.6.1] ; but I have not had this hardware before then, so I cannot confirm this. --- Steps to Reproduce: --- 1. Click on any template in SunStone 2. Click Update and wait... --- RAW Template Data [attached] --- NAME=CentOS-6.5 CONTEXT=[ NETWORK=YES, SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ] CPU=1.0 DISK=[ IMAGE=CentOS-6.5, DRIVER=qcow2, DEV_PREFIX=vd ] GRAPHICS=[ LISTEN=0.0.0.0, TYPE=vnc ] MEMORY=512 NIC=[ NETWORK=network ] OS=[ ARCH=x86_64 ] ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- --Daniel MolinaProject EngineerOpenNebula - Flexible Enterprise Cloud Made Simplewww.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] oneacct API questions
Hello Users, Please see the TAB SEPARATED VALUES dump of an XMLRPC request to the oneacct API: http://i.imgur.com/1OyLw8f.png I'm getting interesting values from the Accounting API, and it's not very well documented [ OID, HID, CID, etcetera have no description in the XSD ] ; and I'm seeing a lot of overlapping STIME-ETIME , any idea how to work through this? Which record(s) should be considered for billing calculation, which records does SunStone use in the new Accounting tab under a user? -- Best Regards, Acting Director Damon Blais Albino Geek Services Ltd. Contact Hours: 9AM-5PM PST T: +1 (912) 330-4222 M: +1 (604) 442-5544 Skype: GoodHosting ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM in opennebula failing
Hello,We are getting this query. We all are.This is a low traffic mailing list [2-3 mails per day]Just be patient and await a response from soneone who knows!On Tue, 24 Jun 2014 04:01:05 -0700, Sudeep Narayan Banerjee snbaner...@iitgn.ac.in wrote:Dear Sir,I am not able to see whether you are actually getting my query or not. Dear Sir,This is in response to the subject that I posted on June-21, but still no response.I have tried to improve little bit from there but still no the VM is failing; but now throwing new error. I am posting some output of the configuration files, please have a look and kindly8 respond.=nc1 = nodefront = frontend [root@nc1 ~]# grep -vE ^($|#) /etc/libvirt/libvirtd.conflisten_tls = 0listen_tcp = 1unix_sock_group = oneadminunix_sock_rw_perms = 0777auth_unix_ro = none auth_unix_rw = none[root@nc1 ~]# grep -vE ^($|#) /etc/libvirt/qemu.confuser = oneadmingroup = oneadmindynamic_ownership = 0[root@front ~]# virsh -c qemu:///system nodeinfo CPU model: x86_64CPU(s): 8CPU frequency: 1600 MHzCPU socket(s): 1Core(s) per socket: 4Thread(s) per core: 2NUMA cell(s): 1Memory size: 3793396 KiB [root@nc1 ~]# grep -vE ^($|#) /etc/default/libvirt-bingrep: /etc/default/libvirt-bin: No such file or directory[oneadmin@front ~]$ onehost list ID NAME CLUSTER RVM ALLOCATED_CPU ALLOCATED_MEM STAT 3 nc1 - 0 0 / 800 (0%) 0K / 3.6G (0%) on [oneadmin@front ~]$ oneimage list ID USER GROUP NAME DATASTORE SIZE TYPE PER STAT RVMS 0 oneadmin oneadmin CentOS-6.5_x86_ default 267M OS No rdy 0 [oneadmin@front ~]$ onetemplate list ID USER GROUP NAME REGTIME 0 oneadmin oneadmin CentOS-6.5 06/21 23:09:56 Output of one VM-id.log file-[oneadmin@front ~]$ cat /var/log/one/15.log Tue Jun 24 13:19:31 2014 [DiM][I]: New VM state is ACTIVE.Tue Jun 24 13:19:31 2014 [LCM][I]: New VM state is PROLOG. Tue Jun 24 13:20:48 2014 [LCM][I]: New VM state is BOOTTue Jun 24 13:20:48 2014 [VMM][I]: Generating deployment file: /var/lib/one/vms/15/deployment.0Tue Jun 24 13:20:49 2014 [VMM][I]: ExitCode: 0Tue Jun 24 13:20:49 2014 [VMM][I]: Successfully execute network driver operation: pre. Tue Jun 24 13:20:49 2014 [VMM][I]: Command execution fail: cat EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one/datastores/0/15/deployment.0 nc1 15 nc1Tue Jun 24 13:20:49 2014 [VMM][I]: error: Failed to create domain from /var/lib/one/datastores/0/15/deployment.0 Tue Jun 24 13:20:49 2014 [VMM][I]: error: unable to set security context unconfined_u:object_r:svirt_image_t:s0:c514,c893 on /var/lib/one/datastores/0/15/disk.0: Permission deniedTue Jun 24 13:20:49 2014 [VMM][E]: Could not create domain from /var/lib/one/datastores/0/15/deployment.0 Tue Jun 24 13:20:49 2014 [VMM][I]: ExitCode: 255Tue Jun 24 13:20:49 2014 [VMM][I]: Failed to execute virtualization driver operation: deploy.Tue Jun 24 13:20:49 2014 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one/datastores/0/15/deployment.0 Tue Jun 24 13:20:50 2014 [DiM][I]: New VM state is FAILEDTue Jun 24 13:21:01 2014 [DiM][I]: New VM state is DONE.Tue Jun 24 13:21:02 2014 [TM][W]: Ignored: TRANSFER SUCCESS 15 -Any help will be greatly appreciated! -- Thanks Regards,Sudeep Narayan Banerjee ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Nomadic CentOS repository: WHY?!?
Hello, I found that there is actually a prebuilt 4.8 context RPM in one of their source trees (not GitHub). As per the repo change, this new version actually makes more sense and follows proper repo format. http://mirrors.kernel.org/centos/6/os/x86_64/ being an example repository that follows standard format. The stable path part didn't make any sense considering how versions work in OpenNebula. On Mon, 25 Aug 2014 15:46:37 -0700, Bill Cole openneb-users-20120...@billmail.scconsult.com wrote: Past OpenNebula 4.x releases have been packaged as RPM's for CentOS available in a yum repository with a baseurl of 'http://downloads.opennebula.org/repo/CentOS/6/stable/$basearch' For some inscrutable reason, 4.8 RPMs are not there. Instead, the 4.8 docs on the website now direct us to a repo at the baseurl 'http://downloads.opennebula.org/repo/4.8/CentOS/6/x86_64/' Is there a rational explanation for this? One of the main points of using a package management system like yum/RPM is to simplify updates, but this change obfuscates the visibility of the update and seems to indicate a plan to hide future releases as well. Also, the new repo lacks an RPM for opennebula-context and the release notes point to a github repo which includes a script to build packages from the source. Does this mean there will no longer be a prebuilt RPM of opennebula-context? ___ 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] Nomadic CentOS repository: WHY?!?
I agree with you on both parts, I was just stating what I noticed on both. As per the former, it is built on 4.8 (explicitly listed as Revision 4.8 one-context.rpm) http://dev.opennebula.org/projects/opennebula/files http://dev.opennebula.org/attachments/download/804/one-context_4.8.0.rpm http://dev.opennebula.org/attachments/download/806/one-context_4.8.0.deb That's where I found them. On Mon, 25 Aug 2014 17:43:33 -0700, Bill Cole openneb-users-20120...@billmail.scconsult.com wrote: On 25 Aug 2014, at 19:40, Damon (Albino Geek) wrote: Hello, I found that there is actually a prebuilt 4.8 context RPM in one of their source trees (not GitHub). That's not exactly helpful. The fact that there's an RPM in some unnamed place built from who-knows-what revision is an interesting and maybe indicative factoid, but it does not clarify whether or not there will be a canonical RPM for the package in the same repository as those for the other packages (or anywhere documented.) As per the repo change, this new version actually makes more sense and follows proper repo format. http://mirrors.kernel.org/centos/6/os/x86_64/ being an example repository that follows standard format. The stable path part didn't make any sense considering how versions work in OpenNebula. The '4.8' part doesn't make any sense in any context, and *changing* the baseurl for the repository with each release does away with a key reason for using a package repository. ___ 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] Delete Recreate fails in case of Host-Error
On Fri, 12 Dec 2014 04:15:34 -0800, Fabian Zimmermann dev@gmail.com wrote: Hi, Ah! Thanks I just misread the oned.conf Nevertheless, I used -r and assumed it would re-create the VM, but this failed if you use (ceph) shared storage, because clone will abort if previous cleanup failed, so there is (in my opinion) a bug, because tm should handle this by removing or using the old snap/disk, isn't it? Fabian I do think that it should be better handled by the CephFS TM. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Disabled zones code
Hello, You can simply edit the /etc/one/sunstone-views/ files to hide/show specific tabs per view/group. On Tue, 16 Dec 2014 01:57:07 -0800, Maria Jular maria.ju...@fcsc.es wrote: Good morning! Are there any way to hide the zones’ list into the Sunstone’s dropdown to a specific user? Thank you very much!___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Editor not defined
Hello, EDITOR=vi onedatastore update 0 That's how you do it, replace vi with nano, pico, vim, whatever you want. On Tue, 03 Feb 2015 14:18:19 -0800, barbieri vincenzo vincenzo.barbi...@vbarbieri.com wrote: Hi when launching the command onedatastore update me the message Editor not defined thanks Vincenzo___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] DISK 0: User 0 does not own an image with name
That's why if you're hard-coding your templates like that, you should be using the UID + Name if you want compatability; OR you use only Image ID directly, as it will never fail. Also remember guys, OpenNebula Mailing List is now a Forum. -- On Fri, 29 May 2015 05:52:31 -0700, Robert Foote rfo...@bpsnode.com wrote: Ok, see how the disk image is called 'imgCentOS7' in oneadmin show 1, however your template is trying to use the name ' diskCentOS7' for the image name. Modify your template to use 'imgCentOS7' and you should be able to instantiate. Robert Foote Chief Technical Officer Light Street, 4th Floor Baltimore, MD 21230 Phone | 1-800-611-8763 Ext. 201 www.bpsnode.com -Original Message- From: Juan José Fuentes [mailto:juanjose.fuen...@sigmaaie.org] Sent: Friday, May 29, 2015 7:49 AM To: 'Robert Foote'; users@lists.opennebula.org Subject: RE: [one-users] DISK 0: User 0 does not own an image with name $ oneimage show 1 IMAGE 1 INFORMATION ID : 1 NAME : imgCentOS7 USER : oneadmin GROUP : oneadmin DATASTORE : default TYPE : OS REGISTER TIME : 05/29 12:15:45 PERSISTENT : No SOURCE : /var/lib/one//datastores/1/2b3e4040220f46e13aa3e987cc3e20a8 PATH : http://marketplace.c12g.com/appliance/53e7bf928fb81d6a6902/download SIZE : 10G STATE : rdy RUNNING_VMS: 0 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- IMAGE TEMPLATE DEV_PREFIX=hd DRIVER=qcow2 VIRTUAL MACHINES Thank you for your answer. Jjf. De: Robert Foote [mailto:rfo...@bpsnode.com] Enviado el: viernes, 29 de mayo de 2015 14:04 Para: Juan José Fuentes; users@lists.opennebula.org Asunto: RE: [one-users] DISK 0: User 0 does not own an image with name What I'd the output of : oneimage show 1 Sent from my Verizon Wireless 4G LTE smartphone Original message From: Juan José Fuentes juanjose.fuen...@sigmaaie.org Date: 05/29/2015 6:54 AM (GMT-06:00) To: users@lists.opennebula.org Subject: [one-users] DISK 0: User 0 does not own an image with name Hi, We’re getting an error when instantiating a template: $ onetemplate instantiate tplCentOS7 [TemplateInstantiate] Error allocating a new virtual machine. DISK 0: User 0 does not own an image with name: diskCentOS7 . Set IMAGE_UNAME or IMAGE_UID of owner in DISK. $ onetemplate show 1 TEMPLATE 1 INFORMATION ID : 1 NAME : tplCentOS7 USER : oneadmin GROUP : oneadmin REGISTER TIME : 05/29 12:17:28 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- TEMPLATE CONTENTS CONTEXT=[ NETWORK=YES, SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ] CPU=1.0 DISK=[ IMAGE=diskCentOS7, IMAGE_ID=1, IMAGE_UID=0, IMAGE_UNAME=oneadmin ] GRAPHICS=[ LISTEN=0.0.0.0, TYPE=vnc ] MEMORY=512 NIC=[ NETWORK=private ] OS=[ ARCH=x86_64 ] SUNSTONE_CAPACITY_SELECT=YES SUNSTONE_NETWORK_SELECT=YES VCPU=1 Tail -f oned.log Fri May 29 13:50:49 2015 [Z0][ReM][D]: Req:7920 UID:0 TemplatePoolInfo invoked , -2, -1, -1 Fri May 29 13:50:49 2015 [Z0][ReM][D]: Req:7920 UID:0 TemplatePoolInfo result SUCCESS, VMTEMPLATE_POOLVM... Fri May 29 13:50:49 2015 [Z0][ReM][D]: Req:7376 UID:0 TemplateInfo invoked , 1 Fri May 29 13:50:49 2015 [Z0][ReM][D]: Req:7376 UID:0 TemplateInfo result SUCCESS, VMTEMPLATEID1/I... Fri May 29 13:50:49 2015 [Z0][ReM][D]: Req:2784 UID:0 TemplateInstantiate invoked , 1, , false, ... Fri May 29 13:50:50 2015 [Z0][ONE][E]: DISK 0: User 0 does not own an image with name: diskCentOS7 . Set IMAGE_UNAME or IMAGE_UID of owner in DISK. Fri May 29 13:50:50 2015 [Z0][ReM][E]: Req:2784 UID:0 TemplateInstantiate result FAILURE [TemplateInstantiate] Error allocating a new virtual machine. DISK 0: User 0 does not own an image with name: diskCentOS7 . Set IMAGE_UNAME or IMAGE_UID of owner in DISK. Kind regards, Jjf. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org