Re: [Users] Related to extend disk size of existing virtual machine !
by Michael Pasternak
Romil,
On 11/21/2012 03:06 PM, Romil Gupta wrote:
> Thanks a lot !
>
> *May I know is there any api to check template disk size ??*
>
> I have a existing template of (disk size 10 GB) !
>
> I tried using :
> memory =api.templates.get(name='Fedora').memory
> print 'memory--->%s' %memory
> o/p -->>2GB
> cpu=api.templates.get(name='Fedora').cpu.topology.cores
> print 'cpu--->%s' %cpu
> o/p -->> 1
>
> But , if I do
> disksize=api.templates.get(name='Fedora').disks.disk.size
> print 'disksize --->> %s ' %disksize
> exception :
> 'TemplateDisks' object has no attribute 'disk'
it's same principal all over the sdk, when you have resource, it has sub-collection/s,
to fetch sub-resource from sub-collection, use 'collection.get()' pattern, e.g:
template_disks = api.templates.get(name='Fedora').disks
disk = template_disks.get(name="my disk")
size = disks.get_size()
>
> I have also checked in gerrit.ovirt.org/ovirt-engine-sdk <git://gerrit.ovirt.org/ovirt-engine-sdk> but didnt able to find it .
>
> Help me !
>
> Regards,
> Romil
>
>
>
>
>
> On Wed, Nov 21, 2012 at 4:37 PM, Michael Pasternak <mpastern(a)redhat.com <mailto:mpastern@redhat.com>> wrote:
>
> On 11/21/2012 12:46 PM, Romil Gupta wrote:
> > Do we have any ovirt-sdk rpm which contains disk_type attribute and works correctly with python2.6 ??
> > coz I need to have ( type_ atrtibute) in that !
>
> just release 3.2.0.5
>
> >
> >
> > regards,
> > Romil
> >
> >
> > On Wed, Nov 21, 2012 at 4:15 PM, Michael Pasternak <mpastern(a)redhat.com <mailto:mpastern@redhat.com> <mailto:mpastern@redhat.com <mailto:mpastern@redhat.com>>> wrote:
> >
> > On 11/21/2012 12:39 PM, Romil Gupta wrote:
> > > yes ,I am using python 2.6 !
> > > should I install newer version on python?
> >
> > not sure you can, stay tuned, i'll release new sdk
> > during the day.
> >
> > > I have CentOS release 6.2 (Final)
> > >
> > >
> > > Regards,
> > > Romil
> >
> >
> > --
> >
> > Michael Pasternak
> > RedHat, ENG-Virtualization R&D
> >
> >
> >
> >
> > --
> > I don't wish to be everything to everyone, but I would like to be something to someone.
>
>
> --
>
> Michael Pasternak
> RedHat, ENG-Virtualization R&D
>
>
>
>
> --
> I don't wish to be everything to everyone, but I would like to be something to someone.
--
Michael Pasternak
RedHat, ENG-Virtualization R&D
12 years, 1 month
[Users] oVirt agent for Ubuntu
by Alexandre Santos
Hi all,
I've read on the wiki that there is an effort to build oVirt on Ubuntu but
my question is if is there an effort just for the agent. I would like to
have my ubuntu servers also running it :-)
Alex
12 years, 1 month
[Users] Related to extend disk size of existing virtual machine !
by Romil Gupta
Hello,
To add a disk to VM we use the following :
api.vms.get(VM_NAME).disks.add(params.Disk(storage_domains=params.StorageDomains(storage_domain=[api.storagedomains.get(STORAGE_NAME)]),
size=512*MB,
# type_='system', -
disk type is deprecated
status=None,
interface='virtio',
format='cow',
sparse=True,
bootable=True))
but the type_ attribute is deprecated , so I got the following exception :
Failed to add disk
status: 400
reason: Bad Request
detail: Cannot add Virtual Machine Disk. Disk 1 already marked as system
Now , if I try giving disk_type='Data' on GUI of RHEVM then it will be
added to VM.
I want to know from which ovirt-sdk version you have deprecated attribute
disk_type ?
I am currently using ovirt-engine-sdk-3.1.0.3-1.el6.noarch.rpm and I
didn't find type_ attribute using this rpm !
How I can extend the disk size of a existing VM in RHEVM ?
Help me !
Regards ,
Romil Gupta
12 years, 1 month
[Users] vsdm on the management server?
by Jonathan Horne
--_000_9BE6F493F83A594DA60C45E6A09DC5AC016B01A9AUSP01DAG0201co_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Does vsdm go on the management server? I have done several test builds so =
far, and maybe I was just taking shots in the dark trying to figure out why=
it was not working (starting Vms, etc), but I have had vdsm (i.e. Yum inst=
all vdsm on my management server) on each of my previous installs that were=
working configs.
The reason I ask, is so far I'm convinced I need it, and its not called for=
in the quick set up guide:
http://wiki.ovirt.org/wiki/Quick_Start_Guide#Install_oVirt_Engine
Yay, nay?
Thanks,
________________________________
This is a PRIVATE message. If you are not the intended recipient, please de=
lete without copying and kindly advise us by e-mail of the mistake in deliv=
ery. NOTE: Regardless of content, this e-mail shall not operate to bind SKO=
POS to any order or other contract unless pursuant to explicit written agre=
ement or government initiative expressly permitting the use of e-mail for s=
uch purpose.
--_000_9BE6F493F83A594DA60C45E6A09DC5AC016B01A9AUSP01DAG0201co_
Content-Type: text/html; charset="us-ascii"
Content-ID: <BFAA598D34C8CE48821FB8921D3A07AF(a)collaborationhost.net>
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font=
-family:Calibri,sans-serif">
<div>
<div>
<div>Does vsdm go on the management server? I have done several test =
builds so far, and maybe I was just taking shots in the dark trying to figu=
re out why it was not working (starting Vms, etc), but I have had vdsm (i.e=
. Yum install vdsm on my management server)
on each of my previous installs that were working configs.</div>
</div>
</div>
<div><br>
</div>
<div>The reason I ask, is so far I'm convinced I need it, and its not calle=
d for in the quick set up guide:</div>
<div><br>
</div>
<div><a href=3D"http://wiki.ovirt.org/wiki/Quick_Start_Guide#Install_oVirt_=
Engine">http://wiki.ovirt.org/wiki/Quick_Start_Guide#Install_oVirt_Engine</=
a></div>
<div><br>
</div>
<div>Yay, nay?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><u><br>
</u></div>
<br>
<hr>
<font color=3D"Gray" face=3D"Arial" size=3D"1">This is a PRIVATE message. I=
f you are not the intended recipient, please delete without copying and kin=
dly advise us by e-mail of the mistake in delivery. NOTE: Regardless of con=
tent, this e-mail shall not operate to
bind SKOPOS to any order or other contract unless pursuant to explicit wri=
tten agreement or government initiative expressly permitting the use of e-m=
ail for such purpose.</font>
</body>
</html>
--_000_9BE6F493F83A594DA60C45E6A09DC5AC016B01A9AUSP01DAG0201co_--
12 years, 1 month
Re: [Users] power management issues
by Eli Mesika
ccing users list & danken
----- Original Message -----
> From: "Jonathan Horne" <jhorne(a)skopos.us>
> To: "Eli Mesika" <emesika(a)redhat.com>
> Sent: Tuesday, November 20, 2012 3:37:00 PM
> Subject: Re: [Users] power management issues
>
> Well, as a test, I enabled telnet and it started working.
>
> Then, I removed it, added it back, and now it just reboots over and
> over
> with unable to communicate errors.
>
> Also, before I enabled telnet, it was refusing to use SSH (SSH is the
> preferred method by default on a drac5). The secure tick box on the
> power
> management page was not "sticking" when I clicked ok.
>
>
>
>
>
>
> On 11/19/12 4:06 PM, "Eli Mesika" <emesika(a)redhat.com> wrote:
>
> >
> >
> >----- Original Message -----
> >> From: "Jonathan Horne" <jhorne(a)skopos.us>
> >> To: users(a)ovirt.org
> >> Sent: Monday, November 19, 2012 4:54:04 PM
> >> Subject: Re: [Users] power management issues
> >>
> >> Del 2950s are equipped with DRAC5, so I set it for drac5 in the
> >> web
> >> UI.
> >
> >Looking at the fence_drac5 man page , I see that he has a
> >login_timeout
> >option :
> >from the man page:
> >**************************
> >login_timeout
> > Wait X seconds for cmd prompt after login (Default
> > Value: 5)
> >**************************
> >
> >As you see , the default is 5 seconds , so I really suspect this may
> >be a
> >timeout problem since all the authentication data is valid.
> >Please try to put in the options field for Power Management :
> >login_timeout=30 and check if the problem is resolved.
> >
> >
> >>
> >>
> >>
> >>
> >> On 11/19/12 8:51 AM, "Eli Mesika" <emesika(a)redhat.com> wrote:
> >>
> >> >
> >> >
> >> >----- Original Message -----
> >> >> From: "Jonathan Horne" <jhorne(a)skopos.us>
> >> >> To: users(a)ovirt.org
> >> >> Sent: Monday, November 19, 2012 4:04:08 PM
> >> >> Subject: [Users] power management issues
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> I am gearing up to deploy this to our production environment
> >> >> soon.
> >> >> I
> >> >> am not using the servers that will be the production
> >> >> deployment,
> >> >> but
> >> >> they are vaguely similar. My 3 test machines are 3 Dell 2950s.
> >> >>
> >> >>
> >> >> I have done several builds and then tear down the whole thing
> >> >> and
> >> >> start over to ensure that I understand the whole process.
> >> >> Random
> >> >> builds, I get power management working,
> >> >
> >> >Jonathan, which Power Management agent are you using (i.e. apc,
> >> >rsa
> >> >...)
> >> >
> >> > and sometimes I get "power
> >> >> management test failed unable to log into fencing device"
> >> >
> >> >Since this message is returned from vdsm , ccing danken
> >> >
> >> >safe to
> >> >> say I am using identical PM settings from build to build. my
> >> >> ovirt
> >> >> manager system is running fence-agents-3.1.10-1.fc17.x86_64
> >> >> which
> >> >> appears to be the latest, is there some other piece I might be
> >> >> missing that completes this functionality?
> >> >>
> >> >>
> >> >> Thanks,
> >> >> jonathan
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> This is a PRIVATE message. If you are not the intended
> >> >> recipient,
> >> >> please delete without copying and kindly advise us by e-mail of
> >> >> the
> >> >> mistake in delivery. NOTE: Regardless of content, this e-mail
> >> >> shall
> >> >> not operate to bind SKOPOS to any order or other contract
> >> >> unless
> >> >> pursuant to explicit written agreement or government initiative
> >> >> expressly permitting the use of e-mail for such purpose.
> >> >> _______________________________________________
> >> >> Users mailing list
> >> >> Users(a)ovirt.org
> >> >> http://lists.ovirt.org/mailman/listinfo/users
> >> >>
> >>
> >>
> >> ________________________________
> >> This is a PRIVATE message. If you are not the intended recipient,
> >> please delete without copying and kindly advise us by e-mail of
> >> the
> >> mistake in delivery. NOTE: Regardless of content, this e-mail
> >> shall
> >> not operate to bind SKOPOS to any order or other contract unless
> >> pursuant to explicit written agreement or government initiative
> >> expressly permitting the use of e-mail for such purpose.
> >> _______________________________________________
> >> Users mailing list
> >> Users(a)ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >>
>
>
> ________________________________
> This is a PRIVATE message. If you are not the intended recipient,
> please delete without copying and kindly advise us by e-mail of the
> mistake in delivery. NOTE: Regardless of content, this e-mail shall
> not operate to bind SKOPOS to any order or other contract unless
> pursuant to explicit written agreement or government initiative
> expressly permitting the use of e-mail for such purpose.
>
12 years, 1 month
[Users] rhevm-manage-domains ovirt alternative
by Jorick Astrego
This is a multi-part message in MIME format.
--------------060202070101080806040602
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
After installing a freeIPA cluster I wish to attach it to my
ovirt-engine. In the rhev-m documentation it says I can use the command
"|rhevm-manage-domains".
I have been looking for the ovirt version of this command, but cannot
find it.
How do I connect my authentication server to ovirt-engine 3.1?
Kind Regards,
Jorick
|
--------------060202070101080806040602
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
After installing a freeIPA cluster I wish to attach it to my
ovirt-engine. In the rhev-m documentation it says I can use the
command "<code class="command">rhevm-manage-domains". <br>
<br>
I have been looking for the ovirt version of this command, but
cannot find it.<br>
<br>
How do I connect my authentication server to ovirt-engine 3.1?<br>
<br>
Kind Regards,<br>
<br>
Jorick<br>
</code>
</body>
</html>
--------------060202070101080806040602--
12 years, 1 month
[Users] No Master Storage Domain added
by Matt .
Hi All,
I have some strange issue at the moment after clearing my installation and
did a new egine-setup.
When I want to attach a data-domain to a datacenter I always get the
message that I need to activate my Master Storage Domain, but it isn't
there.
As far as I know this Master Storage domain was the first added Storage
Domain that becomes Master automaticly, but after a lot of tries and
re-tries I need some help.
Of course I have checked my logs but there is nothing to find yet
Any idea what I do wrong ?
Cheers,
12 years, 1 month
[Users] issue with node
by patrick roughan
Hey,
After a reboot the node displays a message (failed to establish libvirt
connection) and the master shows it as unresponsive, the only way i have
found to resolve it is to reinstall the node. this issue has happen more
than once
any help would be great thanks
Regards
Patrick
12 years, 1 month
[Users] oVirt Workshop at KVM Forum/LinuxCon 2012 Europe material
by vincent@vanderkussen.org
This message is in MIME format.
--=_6txvfyhzi7vd
Content-Type: text/plain;
charset=ISO-8859-1
Content-Description: Plaintext Version of Message
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Hi,
Is any of the material used at the oVirt Workshop at KVM Forum/LinuxCon 2012 Europe (slides etc..) going to be published somewhere. The topics look very interesting.
Thanks.
Vincent
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--=_6txvfyhzi7vd
Content-Type: text/html;
charset=ISO-8859-1
Content-Description: HTML Version of Message
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Hi, <br />
<br />
Is any of the material used at the oVirt Workshop at KVM Forum/LinuxCon 2012 Europe (slides etc..) going to be published somewhere. The topics look very interesting.<br />
<br />
Thanks.<br />
<br />
Vincent<br /><br />
<br />
----------------------------------------------------------------<br />
This message was sent using IMP, the Internet Messaging Program.<br />
--=_6txvfyhzi7vd--
12 years, 1 month