Re: [Users] Change locale for VNC console
Hi Itamar, On Sun, Jan 13, 2013 at 01:05:20AM +0200, Itamar Heim wrote: actually, changing a config requires engine restart thanks for the hint, sounds logical to me. Don't know why I haven't tried this before... I restarted my oVirt engine, powered up the VM again and now the locale of the VNC console is configured correctly. GREAT! Regards - Frank ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] egine-iso-uploader error
Hello everybody, I have been able to solve my NFS problems and now I have configured ISO resource and a data resource in datacenter but when I try to execute the command engine-iso-uploader I can see below error: [root@ovirt-engine ~]# engine-iso-uploader -v list Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort): ERROR: [ERROR]::ca_file (CA certificate) must be specified for SSL connection. INFO: Use the -h option to see usage. DEBUG: Configuration: DEBUG: command: list DEBUG: Traceback (most recent call last): DEBUG: File /bin/engine-iso-uploader, line 931, in module DEBUG: isoup = ISOUploader(conf) DEBUG: File /bin/engine-iso-uploader, line 331, in __init__ DEBUG: self.list_all_ISO_storage_domains() DEBUG: File /bin/engine-iso-uploader, line 381, in list_all_ISO_storage_domains DEBUG: if not self._initialize_api(): DEBUG: File /bin/engine-iso-uploader, line 358, in _initialize_api DEBUG: password=self.configuration.get(passwd)) DEBUG: File /usr/lib/python2.7/site-packages/ovirtsdk/api.py, line 78, in __init__ DEBUG: debug=debug DEBUG: File /usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connectionspool.py, line 47, in __init__ DEBUG: debug=debug)) DEBUG: File /usr/lib/python2.7/site-packages/ovirtsdk/web/connection.py, line 38, in __init__ DEBUG: timeout=timeout) DEBUG: File /usr/lib/python2.7/site-packages/ovirtsdk/web/connection.py, line 102, in __createConnection DEBUG: raise NoCertificatesError DEBUG: NoCertificatesError: [ERROR]::ca_file (CA certificate) must be specified for SSL connection. I have one Fedora 17 oVirt engine 3.1 installed with a Fedora 17 host. Someone can show me what is the problem and how is it solved, please? Many thanks in avanced, Juanjo. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] egine-iso-uploader error
On 17 Jan 2013, at 11:31, Juan Jose wrote: Hello everybody, I have been able to solve my NFS problems and now I have configured ISO resource and a data resource in datacenter but when I try to execute the command engine-iso-uploader I can see below error: [root@ovirt-engine ~]# engine-iso-uploader -v list Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort): ERROR: [ERROR]::ca_file (CA certificate) must be specified for SSL connection. INFO: Use the -h option to see usage. DEBUG: Configuration: DEBUG: command: list DEBUG: Traceback (most recent call last): DEBUG: File /bin/engine-iso-uploader, line 931, in module DEBUG: isoup = ISOUploader(conf) DEBUG: File /bin/engine-iso-uploader, line 331, in __init__ DEBUG: self.list_all_ISO_storage_domains() DEBUG: File /bin/engine-iso-uploader, line 381, in list_all_ISO_storage_domains DEBUG: if not self._initialize_api(): DEBUG: File /bin/engine-iso-uploader, line 358, in _initialize_api DEBUG: password=self.configuration.get(passwd)) DEBUG: File /usr/lib/python2.7/site-packages/ovirtsdk/api.py, line 78, in __init__ DEBUG: debug=debug DEBUG: File /usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connectionspool.py, line 47, in __init__ DEBUG: debug=debug)) DEBUG: File /usr/lib/python2.7/site-packages/ovirtsdk/web/connection.py, line 38, in __init__ DEBUG: timeout=timeout) DEBUG: File /usr/lib/python2.7/site-packages/ovirtsdk/web/connection.py, line 102, in __createConnection DEBUG: raise NoCertificatesError DEBUG: NoCertificatesError: [ERROR]::ca_file (CA certificate) must be specified for SSL connection. I have one Fedora 17 oVirt engine 3.1 installed with a Fedora 17 host. Someone can show me what is the problem and how is it solved, please? Many thanks in avanced, Juanjo. LMGTFY http://www.mail-archive.com/users@ovirt.org/msg05399.html ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] engine-iso-uploader problem
Hello everybody, I have soveld the problem downgrade engine-iso-uploader package. I hope It can be useful to someone with same problem: http://comments.gmane.org/gmane.comp.emulators.ovirt.user/4389 Many thanks, Juanjo. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] About ISOs
Hello everybody again, I have uploaded two isos to my ISO domain but I have had problems uploading one of they. How do I delete this iso from datacenter and system?, is there some utililty to do this, or some procedure? Many thanks in avanced, Juanjo. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Attaching an existing KVM installation to oVirt
Hello - I'm new to the list and thought I would send my first email. Is there a way to attach an existing KVM installation (Non Fedora - non node based installation of say, CentOS or Ubuntu) to oVirt? Thanks in advance, Eric ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] About ISOs
Hi, I usually delete them directly from the NFS server and the list is updated. Alex 2013/1/17 Juan Jose jj197...@gmail.com: Hello everybody again, I have uploaded two isos to my ISO domain but I have had problems uploading one of they. How do I delete this iso from datacenter and system?, is there some utililty to do this, or some procedure? Many thanks in avanced, Juanjo. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Attaching an existing KVM installation to oVirt
On Thu, Jan 17, 2013 at 2:11 PM, wrote: Hello - I'm new to the list and thought I would send my first email. Is there a way to attach an existing KVM installation (Non Fedora - non node based installation of say, CentOS or Ubuntu) to oVirt? Suppose your existing KVM installation server has connectivity with engine (eg 10.4.4.59) and you have configured an export domain on engine with sufficient available space, you can connect on your KVM server and run (for example on CentOS 6.3): # virt-v2v -o rhev -osd 10.4.4.59:/EXPORT --network ovirtmgmt c56cr c56cr_001: 100% [===]D 0h02m17s virt-v2v: c56cr configured with virtio drivers. this will port your curren tVM network into the ovirtmgmt one on oVirt. If you have more that one you can specify them in command line. see man virt-v2v for options explanation When export completes successfully, you can then go into web admin portal, select the export domain and the VM imported will show up. And you can import it, also customizing some parameter. HIH, Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Thin provisioning extending while Make template still a bug?
Hi Adrian, Sorry for the late respond. Please see inline comments, and feel free if there are any more questions, or other issues which you want us to address to. p.s. Since some of the responds were in different threads, I gathered all of them to this email. 3) About the attached logs the virtual machine made from template was finally made at: 2012/12/22 17:21 Logs are from 16:17 to 17:21 aproximately and I might reuse them to ask why it takes so long to make the virtual machine while checking the storage image at /home/storage (its size) it would seem that the copy has finished. I think that the Make vm from template task started about 30 minutes or 40 minutes before it being finished. Well, that's the average time it takes for me. Since you are creating a server the default behaviour is to clone your disks, which means engine calls copyImage to the SPM. From what I saw in the logs your template have two disks, which one of them is 1920 GB, this is why it took 30 minutes to copy it. If you want your copy to be faster, you can change the default in the resource allocation tab to use thin instead of clone when you add a new server. although, take in notice that when you will use thin provisioning, the server will be based on the template and you will not be able to remove the template until the VM will be removed. On 12/25/2012 09:34 PM, Adrian Gibanel wrote: I've described the Create template from VM extending bug (the one I was told in irc) but I've attached the Create VM from template logs. If there's also a bug about Create VM from template being extended then it's useful. If it's not I'll try to recreate a Create template from VM task and attach the logs. Sorry about the confusion. If you can still reproduce this scenario when you create a template with wrong provisioning, please attach the logs of it. On 12/24/2012 01:51 AM, Adrian Gibanel wrote: I've just noticed that I made a typo. This is the right template disk allocation policy table (The fix is that second hard disk is preallocated instead of being Thin Prov) Alias | Virtual Size | Allocation | Target First | 1920 GB | Thin Prov | local_storage Seco | 1 GB | Preallocat | local_storage I took a look in your logs, and it seems that when you create a VM from template the passing arguments are preallocated for one image and sparse for the other, so it seems that this is fit with the allocation policy table you sent. - Mensaje original - De: Adrian Gibanel adrian.giba...@btactic.com Para: users users@ovirt.org Enviados: Lunes, 24 de Diciembre 2012 0:45:24 Asunto: Re: [Users] Thin provisioning extending while Make template still a bug? 1) So... the mentioned bug does exist or am I just experiencing a normal oVirt usage (Making a vm from template with thin provisioning works ok without extending)? 2) About template disk allocation policy... When I create a new server based on template and I click on: Resource Allocation tab: Template Provisioning: Clone Alias | Virtual Size | Allocation | Target First | 1920 GB | Thin Prov | local_storage Seco | 1 GB | Thin Prov | local_storage Regards, Maor ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Fail to connect to an iSCSI Eq. LUN
Too bad : I did not change anything, and time passing by, it all came to work... Damn, this is the worst sysadmin situation : this is working, and you don't know why ! Seriously : it indeed appears that the choice of shared access is the good one (until someone proves it wrong). More seriously : I shut down the second node, and made the conection with only the first node alive. In that case, no possible conflict. -- Nicolas Ecarnot Le 16/01/2013 15:12, Nicolas Ecarnot a écrit : Hi, As a beginner, I'm reading again and again, but I'm not sure of the best way to do : Through the oVirt web manager, I'm trying to create an iSCSI storage domain. On my Equalogic SAN, I've created a volume with no restriction access (for the time being). I have two hypervisors on which I'm quite sure my network config is good enough for now (two nics bonded for the management, and 2 nics bonded for the iscsi). Everything is pinging ok. Networking is not an issue. In the ovirt web manager, I try to create the very first storage domain, of iscsi type of course. I choose one of the node, then the iscsi discovery + login is working fine. I can see my Equalogic volume, I'm checking it, and saving with the OK button, and I get the following error : Error while executing action New SAN Storage Domain: Physical device initialization failed. Check that the device is empty. Please remove all files and partitions from the device. Not very interesting, but the node log file is more instructive : Thread-2767::INFO::2013-01-16 13:35:57,064::logUtils::37::dispatcher::(wrapper) Run and protect: createVG(vgname='7becc578-a94b-41f4-bbec-8df5fe9f46c0', devlist=['364ed2ad5297bb022fd0ee5ba36ad91a0'], options=None) Thread-2767::DEBUG::2013-01-16 13:35:57,066::__init__::1249::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n /sbin/lvm pvcreate --config devices { preferred_names = [\\^/dev/mapper/\\] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3 filter = [ \\a%3600508e0ec7b6d8dea602b0e|364ed2ad5297bb022fd0ee5ba36ad91a0%\\, \\r%.*%\\ ] } global { locking_type=1 prioritise_write_locks=1 wait_for_locks=1 } backup { retain_min = 50 retain_days = 0 } --metadatasize 128m --metadatacopies 2 --metadataignore y /dev/mapper/364ed2ad5297bb022fd0ee5ba36ad91a0' (cwd None) Thread-2767::DEBUG::2013-01-16 13:35:57,147::__init__::1249::Storage.Misc.excCmd::(_log) FAILED: err = Can't open /dev/mapper/364ed2ad5297bb022fd0ee5ba36ad91a0 exclusively. Mounted filesystem?\n; rc = 5 Thread-2767::DEBUG::2013-01-16 13:35:57,149::__init__::1249::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n /sbin/lvm pvs --config devices { preferred_names = [\\^/dev/mapper/\\] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3 filter = [ \\a%3600508e0ec7b6d8dea602b0e|364ed2ad5297bb022fd0ee5ba36ad91a0%\\, \\r%.*%\\ ] } global { locking_type=1 prioritise_write_locks=1 wait_for_locks=1 } backup { retain_min = 50 retain_days = 0 } -o vg_name,pv_name --noheading /dev/mapper/364ed2ad5297bb022fd0ee5ba36ad91a0' (cwd None) Thread-2767::DEBUG::2013-01-16 13:35:57,224::__init__::1249::Storage.Misc.excCmd::(_log) FAILED: err = ' No physical volume label read from /dev/mapper/364ed2ad5297bb022fd0ee5ba36ad91a0\n Failed to read physical volume /dev/mapper/364ed2ad5297bb022fd0ee5ba36ad91a0\n'; rc = 5 Thread-2767::ERROR::2013-01-16 13:35:57,226::task::853::TaskManager.Task::(_setError) Task=`1c5b8931-0085-489c-8962-ff5cc1323dc7`::Unexpected error Traceback (most recent call last): File /usr/share/vdsm/storage/task.py, line 861, in _run File /usr/share/vdsm/logUtils.py, line 38, in wrapper File /usr/share/vdsm/storage/hsm.py, line 1680, in createVG File /usr/share/vdsm/storage/lvm.py, line 788, in createVG File /usr/share/vdsm/storage/lvm.py, line 631, in _initpvs PhysDevInitializationError: Failed to initialize physical device: (found: {} notFound: ('/dev/mapper/364ed2ad5297bb022fd0ee5ba36ad91a0',),) I guess the interesting part is : Can't open /dev/mapper/364ed2ad5297bb022fd0ee5ba36ad91a0 exclusively. Mounted filesystem? On any node, this partition is not mounted. But I have set up the access to this volume as shared on the Equalogic SAN, not knowing whether I should do so? I see both nodes connected on the same volume. I tried to remove this permit, but it didn't help. I also found Redhat answering such a question : There are two ways to clear this error: - Remove VG from the Storage LUN using vgremove command. Run this command from one of the hypervisors. - Clear the first 4K from the disk . Execute the following from one of the hypervisors: # dd if=/dev/zero of=/dev/mapper/diskname bs=4k count=1 I did try that, but with no luck. Now, two things : - Do I have to keep the access to this volume shared/allowed to all the hypervisors dedicated to this volume? - What is the problem with the pvcreate command? -- Nicolas Ecarnot
[Users] Storage domain weirdness (or design)
Hi, I see a strange behaviour - Setup: 1 ovirtmgmt / ovirt-engine hsot 2 ovirt nodes / HVs 2 storage domains in same cluster DC HV1 = storage domain 1 (master) HV2 = storage domain 2 Issue: When I create a host with say ~40GB disk to be on HV2/storage_domain_2, it does that via HV1 ? Why is that ? I realize a storage domain is attached to the cluster/dc, however, when creating the VM I explicitly seleted to only run on HV2, so why would it still create the disk via HV1 ? The mgmt network (for now) is only just that, a mgmt network, not meant to create 40 GB disks (dd from /dev/null) over NFS .. it's currently only a 100mbit switch Question: How, if at all, can I make Ovirt create the Disk from the host where it's meant to run on ? Thanks, Alex -- | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com | ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt features survey status
Hi everyone, On 01/15/2013 04:02 PM, Dave Neary wrote: https://www.surveymonkey.com/s/oVirtFeatures Thank you to everyone who has participated so far! We have had a good response rate for such a short time. I will be taking the results of the survey tomorrow morning CET, so if you have not yet participated, and would like to express your opinion, please do so as soon as possible. As a sneak peek of the results: 40% of you use oVirt in production, vs 68% of you in test labs or proofs of concept, the median number of hypervisors is between 3 and 5, and the majority of you run over 20 VMs in your set-up! Top requests include packages for .el6, the ability to upgrade hypervisors through the engine and have a redundant highly available engine, disk resize, back-up scheduling and VM cloning without using a template, integration with OpenvSwitch, the integration of some guest configuration in guest agents, and the integration of V2V and Nagiosin the engine interface. If your pet feature is not in this list, you still have a chance to vote it up! https://www.surveymonkey.com/s/oVirtFeatures Thanks, Dave. -- Dave Neary - Community Action and Impact Open Source and Standards, Red Hat - http://community.redhat.com Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Template restore
- Original Message - From: Omer Frenkel ofren...@redhat.com To: Maor Lipchuk mlipc...@redhat.com Cc: Gilad Chaplik gchap...@redhat.com, oVirt Mailing List users@ovirt.org, Alex Leonhardt alex.t...@gmail.com Sent: Wednesday, January 16, 2013 6:27:20 PM Subject: Re: [Users] Template restore - Original Message - From: Maor Lipchuk mlipc...@redhat.com To: Alex Leonhardt alex.t...@gmail.com Cc: Omer Frenkel ofren...@redhat.com, Gilad Chaplik gchap...@redhat.com, oVirt Mailing List users@ovirt.org Sent: Wednesday, January 16, 2013 6:18:23 PM Subject: Re: [Users] Template restore Hi Alex, Can you please open a bug on that issue. It appears that since your template have dots in its name it cannot be import. Regards, Maor Thanks Maor, i missed that, the validation in the dialog is wrong, and forbid dots.. please open a bug in gerrit http://gerrit.ovirt.org/#/c/11150/ On 01/16/2013 05:55 PM, Omer Frenkel wrote: [adding Gilad] what engine version is this? (latest upstream looks different and i am able to import copy of the template) Gilad - maybe you have an idea? are there any other checks that fails the add with this error? *From: *Alex Leonhardt alex.t...@gmail.com *To: *oVirt Mailing List users@ovirt.org *Sent: *Monday, January 14, 2013 7:47:52 PM *Subject: *Re: [Users] Template restore FWIW, a screenshot that i cannot create a copy of the template either - and I have verified mulitple tims that the host name does not go beyond 40 chars incl. the suffix - the template name does have .s in its name though (like a normal FQDN). See attached. Alex On 14 January 2013 17:34, Alex Leonhardt alex.t...@gmail.com mailto:alex.t...@gmail.com wrote: Hi All, Am having some difficulties with restoring templates - basically, currently, I'm using each new HV (hyper-visor/node) as a separate DC, now, the first host has about 5 VM templates that I need to be able to restore to the 2nd HV I installed today - however - after detaching the export domain and re-attaching (finally) to the 2nd HV, I still am unable to import the templates into the 2nd HV (remember, separate data center) as it complains that the system - the overall ovirt-engine - already contains templates with the same ID, if I manually fake a different ID, it complains about the name, if I manually amend the name, it wont show at all ... :\ so - how can I make the templates available to the 2nd DC to create VMs from it (this is the end goal) ... on top of it - i dont think that when importing templates, you should have to make the name unique, especially since they currently seem DC dependent, so in a different DC they should be able to have the same name; and, when restoring Templates, the system should assign new IDs to the Templates imported, and only use the originals as a verification step if the target DC is the same as the src DC. Any help would be very appreciated. Ta! Alex -- | RHCE | Senior Systems Engineer | www.vcore.co http://www.vcore.co | www.vsearchcloud.com http://www.vsearchcloud.com | -- | RHCE | Senior Systems Engineer | www.vcore.co http://www.vcore.co | www.vsearchcloud.com http://www.vsearchcloud.com | ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Storage domain weirdness (or design)
Hi Alex, The storage domains are part of the Data Center, and should not be related to clusters. Clusters are used for migrating VMs, which are the qemu processes, between hosts. Disks are created on the storage domains regardless to clusters. The host which write the data in the storage domain to create the disk is the SPM. You should have only one SPM in each Data Center (You can spot which host is your SPM by looking at the SPM column in the hosts tab) When you create a disk you should be able to choose the storage domain which you want the disk to be created on. Regards, Maor On 01/17/2013 05:28 PM, Alex Leonhardt wrote: Hi, I see a strange behaviour - Setup: 1 ovirtmgmt / ovirt-engine hsot 2 ovirt nodes / HVs 2 storage domains in same cluster DC HV1 = storage domain 1 (master) HV2 = storage domain 2 Issue: When I create a host with say ~40GB disk to be on HV2/storage_domain_2, it does that via HV1 ? Why is that ? I realize a storage domain is attached to the cluster/dc, however, when creating the VM I explicitly seleted to only run on HV2, so why would it still create the disk via HV1 ? The mgmt network (for now) is only just that, a mgmt network, not meant to create 40 GB disks (dd from /dev/null) over NFS .. it's currently only a 100mbit switch Question: How, if at all, can I make Ovirt create the Disk from the host where it's meant to run on ? 1. You can create a new Data Center and separate the host and the sotrage domain to be used only there. 2. You can move your current SPM host to maintenance which will cause your other host to become SPM and write the data to the storage domain it self. What is the reason you want it to act like this? Thanks, Alex -- | RHCE | Senior Systems Engineer | www.vcore.co http://www.vcore.co | www.vsearchcloud.com http://www.vsearchcloud.com | ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users