Re: [ovirt-users] ovirt-shell
by Sven Kieske
Well there is no guide on the web which I'm aware of.
But to my experience, scripting the shell has it's limitations
you might want to try the python sdk, which is more useful
or if you need some webapp anyway use the rest api.
you could also script the rest api using e.g. curl
but I wouldn't recommend that.
there is documentation on this here:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Vir...
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Vir...
you can basically substitute rhev with ovirt.
there still seems to be no updated dev guides for 3.4 though.
I have automated everything via REST, as I have php devs
who did the work ;)
There are still some things you can't do via rest, like
creating network qos entities (attaching them to a vm works
but you need to create them manually).
But in the future everything will use rest, so I guess this
is the best way to go.
HTH
Am 10.07.2014 16:46, schrieb Steve Kilduff:
> Excellent, thanks for the quick reply guys.
>
> I am trying to automate 100 vm creations so... If anyone has a good guide
> that exists I would be very appreciative, otherwise I will keep tipping
> away :)
>
> Steve
--
Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
10 years, 6 months
Thin Provision Not Work
by Paul.LKW
Hi All:
I find an issue in Thin Provision with oVirt, when I create a virtual disk
I click the option Thin Provision (assign disk space 30G and actually it
use 1G only), so I should see in the storage this disk for nearly 1G image
file too. However it shows 30G image file.
Any hints could fix this for using Thin Provision?
BR,
Paul.LKW
10 years, 6 months
ovirt-shell
by Steve Kilduff
Hi All,
Trying to add a nic to a vm with a specific mac address.
[oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name
backend --name eth4 --mac-address HH:HH:EE:HH:HH:01
======== ERROR =============================
status: 400
reason: Bad Request
detail: MAC address must be in format "HH:HH:HH:HH:HH:HH" where H is a
hexadecimal character (either a digit or A-F, case is insignificant).
=============================================
Also interesting is when I change the beginning of the mac address to 00
instead of HH, I get :
[oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name
backend --name eth4 --mac-address 01:HH:EE:HH:HH:01
============================================ ERROR
==========================================
wrong number of arguments, try 'help add' for help.
=============================================================================================
I have tried some things like enclosing in single and double quotes but no
success.
I have also tried to read the help sections on the shell interface but I
also could not figure it out.
Thanks in advance,
10 years, 6 months
Disk's locked of VM
by Andy Michielsen
Hello all,
Does anyone know how I can check if a VM's disk are indeed locked or not.
The engine tell's me they are locked but this is now already 16 day's and
counting.
I already restarted every server involved but to no avail.
I can not remove, change or start the VM as long as the disks are locked.
Can I give a command to check the status of this machine in the CLI
enviroment or after connecting to the database and checking a table (Realy
don't know how to do this).
Kind regards.
10 years, 6 months
Problem Windows guests start in pause
by lucas castro
I have an Fedora host in cluster Default,
I've created another cluster with a CentOS to migrate the environment.
and all the linux guest work perfectly, but the windows guest start in
pause on the other cluster.
the vdsm log from the CentOS host.
http://pastebin.com/AzUB2Fqy
--
contatos:
Celular: ( 99 ) 9143-5954 - Vivo
skype: lucasd3castro
msn: lucascastroborges(a)hotmail.com
10 years, 6 months
Re: [ovirt-users] [ovirt-devel] virt-v2v integration feature
by Itamar Heim
On 07/09/2014 09:30 PM, Arik Hadas wrote:
> Hi All,
>
> The proposed feature will introduce a new process of import virtual machines from external systems using virt-v2v in oVirt.
> I've created a wiki page that contains initial thoughts and design for it:
> http://www.ovirt.org/Features/virt-v2v_Integration
>
> You are more than welcome to share your thoughts and insights.
>
> Thanks,
> Arik
> _______________________________________________
> Devel mailing list
> Devel(a)ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
Some thoughts after reviewing:
http://www.ovirt.org/Features/virt-v2v_Integration
great to see this - its something which i hope will ease a lot
conversion to oVirt!
adding users@ mailing list, to get feedback on the use cases.
1. Need to understand if possible to provide the VM via 'uploading
it'[1]
2. does this really merit a provider per external system? or just
ability to choose source path (including simple nfs/posix path
pointing to existing kvm disks or vmware vmdk's), or URI/user
/passowrd for such a system if vsphere/etc.?
I'm not opposed to allowing to define providers, I would just
remember that's a specific single use case, and would separate the
import/convert flow from being part of the provider (i.e., on the
import/convert flow, would allow to choose the source being a path
or a pre-defined provider)
to sum above two points, I think the page should start with 'use cases':
- I have a KVM VM i want to 'convert' to RHEV (doesn't need full v2v,
but libvirt-->ovf conversion?)
the VM(s) is/are in an nfs/posix path, or i want to upload the VM.
- i have a folder with VMs/disks i want to convert (make sure this
covers the ESXi flow)
- I have a vsphere to import VMs from
- I have Xen...
(hope to see input from users on these. I'm sure there was a thread on
this in the past, what do you know, i started one...[2])
3. does this mean virt-v2v and all of its dependencies will be required
by vdsm (and on ovirt-node). also, for distro's which have it, of
the required windows components?
4. most important flow i would like to remove via this integration is
the "double copy". i.e., if we run v2v from a host, there is no
reason to not pre-create the VM/disks for it, and have v2v overwrite
their content, instead of converting into the export domain just to
perform another copy/import.
(may mean you want virt-v2v to have a specific verb to just get the
OVF, and a specific verb to convert a disk)
[1] we want to support upload of an iso/VM/disks in any case.
[2] http://lists.ovirt.org/pipermail/users/2014-January/019839.html
10 years, 6 months
[QE][ACTION NEEDED] oVirt 3.4.3 RC status
by Sandro Bonazzola
Hi,
We're going to start composing oVirt 3.4.3 RC tomorrow *2014-07-10 08:00 UTC* from 3.4 branch.
A 3.4.3 branch will be created immediately after using the same hash of the build.
The bug tracker [1] shows no blocking bugs for the release
Bug 1096312 - log spam in vdsm: guest agents not heartbeating
has been proposed for backport from 3.6 target on the bug tracker [1]
There are still 28 bugs [2] targeted to 3.4.3.
Excluding node and documentation bugs we still have 9 bugs [3] targeted to 3.4.3.
Maintainers / Assignee:
- Please add the bugs to the tracker if you think that 3.4.3 should not be released without them fixed.
- Please update the target to any next release for bugs that won't be in 3.4.3:
it will ease gathering the blocking bugs for next releases.
- Please fill release notes, the page has been created here [4]
- Please build packages before today *2014-07-09 15:00 UTC*.
Community:
- If you're testing oVirt 3.4 nightly snapshot, please add yourself to the test page [5]
[1] bugzilla.redhat.com/1107968
[2] http://red.ht/1lBAw2R
[3] http://red.ht/1ly9hfA
[4] http://www.ovirt.org/OVirt_3.4.3_Release_Notes
[5] http://www.ovirt.org/Testing/oVirt_3.4.3_Testing
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
10 years, 6 months