Re: [Users] Small help regarding rhevm-shell scripting
by Michael Pasternak
Hi Anand,
On 09/05/2013 12:07 PM, Anand Nande wrote:
> Hi Michael,
>
> The plan is to have a automated backup solution which will daily backup the Vms
> and stop-export-stop them automatically in RHEVM-3.2's rhevm-shell.
>
> Having said that I am not sure : *How to use conditional statements like if-else/for/while loops* *inside the**
> **script file* *which is passed with the '-f' or '--file' option to 'rhevm-shell' ?*
Processing shell output is just like any text processing,
basically what you need is a simple bash script, that analyses the input
produced by something like [1] and invokes another script based on your
condition/s something like [2]:
[1]
list vms --show-all | grep -w 'name\|status' > list_vms
ovirt-shell -f list_vms
[2]
s1="..."
s2="..."
if [$s1 == $s2]
then
# invoke relevant script passing relevant parameters
fi
* in future versions (maybe even at 3.4) i plan adding additional cli
capabilities to the shell,
like invoking single command and printing the output to stdio what
will make possible writing a single bash script that invokes different
shell commands, but till then you can achieve the same via dedicated
scripts like list_vms/suspend_vms/export_vms (in my view its even better
from the code maintenance PoV)
>
>
> If there is a way to do this, please let me know.
> I would like to use this to check if :
> - The VM is already present in the Export-Domain (?)
> +If yes, remove the VM present in the export-domain and re-initiate the export op on the new VM.
> +else, Export the VM.
> - After the above is complete, Check if the Export op is complete:
> +If yes, Start the VM which is stopped.
> +else, wait for Export to complete and once done, start the VM.
>
>
> Having the above in a script, I can have the cron job scheduled to execute the script.
> Waiting for your feedback.
>
> Thanks
> $Anand
>
--
Michael Pasternak
RedHat, ENG-Virtualization R&D
11 years, 3 months
Re: [Users] VNC/Spice console connection failure
by SULLIVAN, Chris (WGK)
Hi,
I am currently unable to connect to the console of a running VM through the Ovirt web interface. I get the following error (log extracts below):
error : qemuDomainChangeGraphics:1873 : internal error cannot change listen address setting on vnc graphics
I’m using Fedora 19, ovirt-engine 3.3.0-1, VDSM 4.12.1, qemu 1.4.2 and libvirt 1.0.5. I get a similar error when trying to use Spice.
Has anyone come across this problem before, and if so, how to resolve? Based on some quick googling the versions of libvirt/qemu available in F19 do not allow changes to the listen address for a running VM. Should I rollback to a previous version?
Kind regards,
Chris Sullivan
Senior Pipeline Engineer/Technical Development | J P Kenny
ovirt-engine.log
2013-09-09 12:22:46,688 INFO [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-4) Running command: SetVmTicketCommand internal: false. Entities affected : ID: e69df488-ad50-4c8c-9f37-a63463a81702 Type: VM
2013-09-09 12:22:46,692 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) START, SetVmTicketVDSCommand(HostName = r410-02, HostId = d5df2e2b-509c-4b1c-902a-976b932d930b, vmId=e69df488-ad50-4c8c-9f37-a63463a81702, ticket=igRUBsYsw5ds, validTime=120,m userName=admin@internal, userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 53359174
2013-09-09 12:22:46,715 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) Failed in SetVmTicketVDS method
2013-09-09 12:22:46,715 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) Error code unexpected and error message VDSGenericException: VDSErrorException: Failed to SetVmTicketVDS, error = Unexpected exception
2013-09-09 12:22:46,716 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) Command org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand return value
2013-09-09 12:22:46,716 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) HostName = r410-02
2013-09-09 12:22:46,717 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) Command SetVmTicketVDS execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to SetVmTicketVDS, error = Unexpected exception
2013-09-09 12:22:46,717 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) FINISH, SetVmTicketVDSCommand, log id: 53359174
2013-09-09 12:22:46,718 ERROR [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-4) Command org.ovirt.engine.core.bll.SetVmTicketCommand throw Vdc Bll exception. With error message VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to SetVmTicketVDS, error = Unexpected exception (Failed with VDSM error unexpected and code 16)
2013-09-09 12:22:46,721 ERROR [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-4) Transaction rolled-back for command: org.ovirt.engine.core.bll.SetVmTicketCommand.
Virt host libvirtd.log
2013-09-09 04:22:46.693+0000: 7413: debug : virDomainFree:2326 : dom=0x7fb920009eb0, (VM: name=rhev-compute-01, uuid=e69df488-ad50-4c8c-9f37-a63463a81702)
2013-09-09 04:22:46.707+0000: 7415: debug : virDomainUpdateDeviceFlags:10057 : dom=0x7fb914055890, (VM: name=rhev-compute-01, uuid=e69df488-ad50-4c8c-9f37-a63463a81702), xml=<graphics autoport="yes" keymap="en-us" passwd="igRUBsYsw5ds" passwdValidTo="2013-09-09T04:24:46" port="5900" type="vnc">
<listen address="172.30.18.244" network="vdsm-ovirtmgmt" type="network"/>
</graphics>, flags=0
2013-09-09 04:22:46.707+0000: 7415: debug : qemuDomainObjBeginJobInternal:958 : Starting job: modify (async=none)
2013-09-09 04:22:46.707+0000: 7415: error : qemuDomainChangeGraphics:1873 : internal error cannot change listen address setting on vnc graphics
2013-09-09 04:22:46.707+0000: 7415: debug : qemuDomainObjEndJob:1070 : Stopping job: modify (async=none)
PLEASE CONSIDER THE ENVIRONMENT, DON'T PRINT THIS EMAIL UNLESS YOU REALLY NEED TO.
This email and its attachments may contain information which is confidential and/or legally privileged. If you are not the intended recipient of this e-mail please notify the sender immediately by e-mail and delete this e-mail and its attachments from your computer and IT systems. You must not copy, re-transmit, use or disclose (other than to the sender) the existence or contents of this email or its attachments or permit anyone else to do so.
-----------------------------
11 years, 3 months
Re: [Users] oVirt API Code 500 with Foreman
by Andrew Lau
Sorry I have since destroyed my beta install in favor of the nightly
version which seems to not have the issue, anyone else who is on the 3.3
beta should be able to replicate the issue though.
On Mon, Sep 9, 2013 at 5:24 PM, Shahar Havivi <shaharh(a)redhat.com> wrote:
> Adding Eli...
>
> Hi Andrew,
> Please provide the result of the following sql command:
> select * from schema_version order by id desc;
>
> On 08.09.13 13:45, Shahar Havivi wrote:
> > On 08.09.13 10:06, Shahar Havivi wrote:
> > > Its looks like a bug that we have in the upgrade in commit:
> > > 0c47b30468b855e5c52b120f476d97cc754852ee
> > > I will open a bug and fix it.
> > the vm_templates in the view is alias for vm_static.
> > can you see if there is the file 03_03_0650_add_signle_qxl_pci_column.sql
> > it suppose to be in:
> > packaging/dbscripts/upgrade/03_03_0650_add_signle_qxl_pci_column.sql
> > this is the sql file that add the single_qxl_pci to vm_static.
> > >
> > > On 06.09.13 06:21, Doron Fediuck wrote:
> > > >
> > > >
> > > > ----- Original Message -----
> > > > > From: "Andrew Lau" <andrew(a)andrewklau.com>
> > > > > To: "Gianluca Cecchi" <gianluca.cecchi(a)gmail.com>
> > > > > Cc: "users" <users(a)ovirt.org>
> > > > > Sent: Friday, September 6, 2013 12:46:13 PM
> > > > > Subject: Re: [Users] oVirt API Code 500 with Foreman
> > > > >
> > > > > Here's an extract of the error:
> > > > >
> > > > > 2013-09-06 18:55:49 DEBUG
> otopi.plugins.ovirt_engine_setup.db.schema
> > > > > plugin.execute:446 execute-output:
> > > > > ['/usr/share/ovirt-engine/dbscripts/upgrade.sh', '-s',
> 'localhost', '-p',
> > > > > '5432'$
> > > > > psql:create_views.sql:400: ERROR: column
> vm_templates.single_qxl_pci does not
> > > > > exist
> > > > > LINE 18: vm_templates.single_qxl_pci as single_qxl_pci,
> > > > > ^
> > > > >
> > > >
> > > > Thanks Andrew.
> > > > This was added here:
> http://gerrit.ovirt.org/#/c/16803/14/packaging/dbscripts/create_views.sql
> > > > Shahar, can you please take a look?
> > > >
> > > > > 2013-09-06 18:55:49 DEBUG otopi.context context._executeMethod:137
> method
> > > > > exception
> > > > > Traceback (most recent call last):
> > > > > File "/usr/lib/python2.6/site-packages/otopi/context.py", line
> 127, in
> > > > > _executeMethod
> > > > > method['method']()
> > > > > File
> > > > >
> "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/db/schema.py",
> > > > > line 261, in _miscUpgrade
> > > > > osetupcons.DBEnv.PGPASS_FILE
> > > > > File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 451,
> in execute
> > > > > command=args[0],
> > > > > RuntimeError: Command
> '/usr/share/ovirt-engine/dbscripts/upgrade.sh' failed
> > > > > to execute
> > > > >
> > > > >
> > > > > On Fri, Sep 6, 2013 at 7:25 PM, Gianluca Cecchi <
> gianluca.cecchi(a)gmail.com >
> > > > > wrote:
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Il giorno 06/set/2013 11:14, "Doron Fediuck" < dfediuck(a)redhat.com> ha
> > > > > scritto:
> > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > > From: "Andrew Lau" < andrew(a)andrewklau.com >
> > > > > > > To: "Doron Fediuck" < dfediuck(a)redhat.com >
> > > > > > > Cc: "users" < users(a)ovirt.org >
> > > > > > > Sent: Friday, September 6, 2013 12:07:50 PM
> > > > > > > Subject: Re: [Users] oVirt API Code 500 with Foreman
> > > > > > >
> > > > > > > The patch for the fix only appears to be in the nightlies, my
> beta
> > > > > > > install
> > > > > > > the issue was back.
> > > > > > >
> > > > > > Since the official release is expected in the coming days, I'd
> suggest not
> > > > > > to invest time on the beta release.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > If one wants to test right now the upcoming 3.3, nightly is ok?
> > > > > No risk to get engine 3.4, correct?
> > > > > Or is there any rc repo?
> > > > > Gianluca
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Users mailing list
> > > > > Users(a)ovirt.org
> > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > >
>
11 years, 3 months
[Users] NFS sanlock fails on Fedora 19 - 3.3RC (was add NFS Domain fails)
by Markus Stockhausen
This is a multi-part message in MIME format.
------=_NextPartTM-000-e6ef3858-c4c3-4def-adb8-8a79deabbd07
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hello,=0A=
=0A=
after some further investigation I think I found the reason =0A=
but do not know how to fix it best. On my Fedora 19 host=0A=
sanlock is running as user sanlock (id 179). That user has =0A=
no access to files created by user vdsm (id 36). See logs=0A=
attached.=0A=
=0A=
The node installation was done the standard way through=0A=
ovirt-engine 3.3. Maybe I missed some setp in the installation =0A=
process but I would expect this to work out of the box.=0A=
=0A=
Can anyone tell me what the expected setup is. Should I file =0A=
a bug for that?=0A=
=0A=
Markus=0A=
=0A=
[root@colovn1 etc]# ps -ef | grep sanlock=0A=
sanlock 1125 1 0 10:19 ? 00:00:00 sanlock daemon -U sanlock -=
G sanlock=0A=
root 1126 1125 0 10:19 ? 00:00:00 sanlock daemon -U sanlock -=
G sanlock=0A=
root 1128 1 0 10:19 ? 00:00:00 wdmd -G sanlock=0A=
root 2307 1401 0 10:39 pts/0 00:00:00 grep --color=3Dauto sanlock=
=0A=
=0A=
strace -p 1125 -F =0A=
...=0A=
2094 mprotect(0x7fa020000000, 135168, PROT_READ|PROT_WRITE) =3D 0=0A=
2094 open("/rhev/data-center/mnt/10.10.30.251:_var_nas5_ovirt/4250f423-459=
c-40da-9a0e-d5b6fe853b1b/dom_md/ids", O_RDWR|O_SYNC|O_DIRECT) =3D -1 EACCES=
(Permission denied)=0A=
2094 gettid() =3D 2094=0A=
...=0A=
=0A=
[root@colovn1 etc]# cat /etc/sysconfig/sanlock=0A=
# SANLOCKOPTS -- set the command line options for the sanlock daemon=0A=
# See sanlock man page for full list of command line options.=0A=
#=0A=
# Include "-U sanlock -G sanlock" in the option string unless=0A=
# also changing the SANLOCKUSER above.=0A=
#=0A=
# To disable use of watchdog via wdmd=0A=
#SANLOCKOPTS=3D"-U sanlock -G sanlock -w 0"=0A=
#=0A=
# To disable use of watchdog via wdmd and disable high priority features=0A=
#SANLOCKOPTS=3D"-U sanlock -G sanlock -w 0 -h 0"=0A=
------=_NextPartTM-000-e6ef3858-c4c3-4def-adb8-8a79deabbd07
Content-Type: text/plain;
name="InterScan_Disclaimer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="InterScan_Disclaimer.txt"
****************************************************************************
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.
Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln
Vorstand:
Kadir Akin
Dr. Michael Höhnerbach
Vorsitzender des Aufsichtsrates:
Hans Kristian Langva
Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.
Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln
executive board:
Kadir Akin
Dr. Michael Höhnerbach
President of the supervisory board:
Hans Kristian Langva
Registry office: district court Cologne
Register number: HRB 52 497
****************************************************************************
------=_NextPartTM-000-e6ef3858-c4c3-4def-adb8-8a79deabbd07--
11 years, 3 months
[Users] Introductory email
by Liviu Elama
Hi all
My name is Liviu Elama and I'm from New Zealand.
My day to day job is Unix/Linux technical consultant for an outsourcing
company here in NZ.
I have around 10 years of UNIX (Solaris, AIX, RHEL,SLES) , storage, backup,
virtualization (VCP) and I'm very interested in ovirt as an alternative for
VMware and the integration with glusterfs and foreman/puppet.
Good to be here
Cheers
Liviu
11 years, 3 months
Re: [Users] Minor question concerning ServerException class
by Michael Pasternak
Hi Ricky,
On 09/06/2013 09:31 PM, Hopper, Richard wrote:
> Hi Michael,
>
> While working with the ovirt-engine-sdk-java,
> I came across a small issue concerning the ServerException class. I wrote a utility to handle different types of exceptions
> (ServerException being one of those) for our plugin and found that ServerException does not meet GWT's specific serialization requirements due to the lack of a no-arg
> constructor of any visibility level. Is there an explicit reason for the lack of such a constructor?
no, not at all, addressed at [1].
[1] http://gerrit.ovirt.org/#/c/18960/
thanks for reporting this.
> I was able to work around this, it's just a minor concern as far as GWT
> goes, and it could be useful to others if such types were serializable as well.
>
> Thanks,
>
> - Ricky
--
Michael Pasternak
RedHat, ENG-Virtualization R&D
11 years, 3 months
[Users] oVirt 3.3 Can't create/import EXPORT DOMAIN
by Hans-Joachim
--========GMXBoundary18201377096798776934
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Hello,
I'm not able to add a EXPORT Domain to the system. The web does not show any EXPORT domains, but engine.log tells me about
AddStorageServerConnection failed. Reasons:VAR__ACTION__ADD,VAR__TYPE__STORAGE__CONNECTION,ACTION_TYPE_FAILED_STORAGE_CONNECTION_ALREADY_EXISTS
and indeed, there is an entry in storage_server_connections.
Is it save to delete this entry?
Thanks,
Hans-Joachim
--========GMXBoundary18201377096798776934
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
<span style=3D'font-family:Verdana'><span style=3D'font-size:12px'>Hello,<b=
r /><br />I'm not able to add a EXPORT Domain to the system. The web does n=
ot show any EXPORT domains, but engine.log tells me about<br /><br /> =
AddStorageServerConnection failed. Reasons:VAR__ACTION__ADD,VAR__TYPE__STOR=
AGE__CONNECTION,ACTION_TYPE_FAILED_STORAGE_CONNECTION_ALREADY_EXISTS<br /><=
br />and indeed, there is an entry in storage_server_connections.<br /><br =
/>Is it save to delete this entry?<br /><br />Thanks,<br /><br />Hans-Joach=
im</span></span>
--========GMXBoundary18201377096798776934--
11 years, 3 months
Re: [Users] very odd permission problem
by Alessandro Bianchi
> On 6-9-2013 12:34, Alessandro Bianchi wrote:
>> Hi all
>>
>> I'm running 3.2 on several Fedora 18 nodes
>>
>> One of them has a local storage running 4 VMs
>>
>> Today the UPS crashed and host was rebboted after UPS replacement
>>
>> None of the VM's were able to be started
>>
>> I tried to put the Host in maintenance and reinstalled it, but this
>> didn't give any result
>>
>> Digging into the logs I discovered the following error:
>>
>> The first was of this kind (on every VM)
>>
>> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2630, in
>> createXML
>> if ret is None:raise libvirtError('virDomainCreateXML() failed',
>> conn=self)
>> libvirtError: errore interno process exited while connecting to
>> monitor: ((null):5034): Spice-Warning **: reds.c:3247:reds_init_ssl:
>> Could not use private key file
>> qemu-kvm: failed to initialize spice server
>>
>> Thread-564::DEBUG::2013-09-06
>> 11:31:32,814::vm::1065::vm.Vm::(setDownStatus)
>> vmId=`49d84915-490b-497d-a3f8-c7dac7485281`::Changed state to Down:
>> errore interno process exited while connecting to monitor:
>> ((null):5034): Spice-Warning **: reds.c:3247:reds_init_ssl: Could not
>> use private key file
>> qemu-kvm: failed to initialize spice server
>>
>> The private key was marked 440 as permission owned by vdsm user and
>> kvm group
>>
>> I had to change it to 444 to allow everyone to read it
>>
>> After that I had for every VM the following error:
>>
>> could not open disk image
>> /rhev/data-center/3935800a-abe4-406d-84a1-4c3c0b915cce/6818de31-5cda-41d0-a41a-681230a409ba/images/54144c03-5057-462e-8275-6ab386ae8c5a/01298998-32d5-44c2-b5d1-91be1316ed19:
>> Permission denied
>>
>> Disks were owned by vdsm:kvm with 660 permission
>>
>> I had to relax this to 666 to enable the VMs to start
>>
>> Has anyone faced this kind f problem before?
>>
> Yes, me.
>> Any hint about what may have caused this odd problem?
>>
> yum update.
>
> I updated one of my hosts and after that that host couldn't start VMs
> anymore with exact the same errors. See thread 'Starting VM error' by
> Shaun Glass. I tried a couple of things but not making world readable
> those files. Will probably restore a backup and try it.
> I added the virt-preview repo for F18 and updated qemu/libvirt which
> also solved the problem.
> The difference between the updated and not updated host were really
> minimal. See the thead for logs.
>
> Regards,
>
> Joop
Thank you for your very quick answer
I suspected the same thing !
I'll update libvirt and revert the permission changes
Best regards
Alessandro
11 years, 3 months
Re: [Users] so, what do you want next in oVirt?
by Zhou Zheng Sheng
on 2013/09/04 14:59, Michal Skrivanek wrote:
>
> On Sep 3, 2013, at 21:25 , Itamar Heim <iheim(a)redhat.com> wrote:
>
>> On 09/03/2013 05:48 PM, Jakub Bittner wrote:
>>> Dne 3.9.2013 15:50, Itamar Heim napsal(a):
>>>> On 09/03/2013 03:58 PM, alireza sadeh seighalan wrote:
>>>>> hi
>>>>>
>>>>> in ovirt 3.2 there isnt ubuntu in the list. 3.3 is released?can i
>>>>> download it ?
>>>>
>>>> go/no-go on 3.3 release is happening right now...
>>>>
>>>>> regards
>>>>>
>>>>>
>>>>> On Tue, Sep 3, 2013 at 5:25 PM, Itamar Heim <iheim(a)redhat.com
>>>>> <mailto:iheim@redhat.com>> wrote:
>>>>>
>>>>> On 09/03/2013 03:54 PM, alireza sadeh seighalan wrote:
>>>>>
>>>>> hi
>>>>>
>>>>> ubuntu should list in ther agent list. when you want to create
>>>>> vm's in
>>>>> the operating list drop down menu. please dont forget other
>>>>> OS's.
>>>>> regards
>>>>>
>>>>>
>>>>> sorry, I'm still not sure i understand. we added ubuntu and sles to
>>>>> list of OSs in 3.3. can you please elaborate on what is missing?
>>>>>
>>>>> thanks,
>>>>> Itamar
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 3, 2013 at 4:07 PM, Itamar Heim <iheim(a)redhat.com
>>>>> <mailto:iheim@redhat.com>
>>>>> <mailto:iheim@redhat.com <mailto:iheim@redhat.com>>> wrote:
>>>>>
>>>>> On 09/03/2013 12:02 PM, alireza sadeh seighalan wrote:
>>>>>
>>>>> hi again
>>>>>
>>>>> ubuntu agent should be add in the list like vmware .
>>>>>
>>>>>
>>>>> added in which list?
>>>>>
>>>>>
>>>>> > about installation
>>>>>
>>>>> i have to install ovirt packages by local repository
>>>>> and there is
>>>>> problem in this status and in adding host to ovirt
>>>>> manager you
>>>>> need to
>>>>> install packages that need to internet .
>>>>>
>>>>>
>>>>> why do you need internet? you just need the host to be
>>>>> configured
>>>>> with a repo containing the packages, which can be local as
>>>>> well?
>>>>>
>>>>> regards,
>>>>>
>>>>>
>>>>> On Tue, Sep 3, 2013 at 1:26 PM, Itamar Heim
>>>>> <iheim(a)redhat.com <mailto:iheim@redhat.com>
>>>>> <mailto:iheim@redhat.com <mailto:iheim@redhat.com>>
>>>>> <mailto:iheim@redhat.com <mailto:iheim@redhat.com>
>>>>> <mailto:iheim@redhat.com <mailto:iheim@redhat.com>>>> wrote:
>>>>>
>>>>> On 09/03/2013 10:53 AM, alireza sadeh seighalan
>>>>> wrote:
>>>>>
>>>>> hi
>>>>>
>>>>> please add support from solaris , ubuntu and
>>>>> other OS's.
>>>>>
>>>>>
>>>>> we've added in 3.3 ubuntu and suse as guest os's -
>>>>> i can't
>>>>> tell you
>>>>> if they work or not.
>>>>> you can now easily add on your own more OSs as
>>>>> well:
>>>>> http://www.ovirt.org/OS_info
>>>>>
>>>>> guest agent for ubuntu should be working.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> > installation is a little hard specially in an
>>>>> evironment without
>>>>> > internet.
>>>>>
>>>>> can you please share more on the issues you faced?
>>>>>
>>>>> thanks,
>>>>> Itamar
>>>>>
>>>>>
>>>>> regards,
>>>>>
>>>>>
>>>>> On Mon, Sep 2, 2013 at 7:43 PM, Doron Fediuck
>>>>> <dfediuck(a)redhat.com
>>>>> <mailto:dfediuck@redhat.com> <mailto:dfediuck@redhat.com
>>>>> <mailto:dfediuck@redhat.com>>
>>>>> <mailto:dfediuck@redhat.com
>>>>> <mailto:dfediuck@redhat.com> <mailto:dfediuck@redhat.com
>>>>> <mailto:dfediuck@redhat.com>>>
>>>>> <mailto:dfediuck@redhat.com
>>>>> <mailto:dfediuck@redhat.com>
>>>>> <mailto:dfediuck@redhat.com
>>>>> <mailto:dfediuck@redhat.com>> <mailto:dfediuck@redhat.com
>>>>> <mailto:dfediuck@redhat.com>
>>>>> <mailto:dfediuck@redhat.com
>>>>> <mailto:dfediuck@redhat.com>>>>__> wrote:
>>>>>
>>>>> ----- Original Message -----
>>>>> | From: "Karli Sjöberg"
>>>>> <Karli.Sjoberg(a)slu.se <mailto:Karli.Sjoberg@slu.se>
>>>>> <mailto:Karli.Sjoberg@slu.se
>>>>> <mailto:Karli.Sjoberg@slu.se>>
>>>>> <mailto:Karli.Sjoberg@slu.se
>>>>> <mailto:Karli.Sjoberg@slu.se> <mailto:Karli.Sjoberg@slu.se
>>>>> <mailto:Karli.Sjoberg@slu.se>>>
>>>>> <mailto:Karli.Sjoberg@slu.se
>>>>> <mailto:Karli.Sjoberg@slu.se>
>>>>> <mailto:Karli.Sjoberg@slu.se
>>>>> <mailto:Karli.Sjoberg@slu.se>> <mailto:Karli.Sjoberg@slu.se
>>>>> <mailto:Karli.Sjoberg@slu.se>
>>>>> <mailto:Karli.Sjoberg@slu.se
>>>>> <mailto:Karli.Sjoberg@slu.se>>>__>__>
>>>>> | To: "Itamar Heim" <iheim(a)redhat.com
>>>>> <mailto:iheim@redhat.com>
>>>>> <mailto:iheim@redhat.com <mailto:iheim@redhat.com>>
>>>>> <mailto:iheim@redhat.com
>>>>> <mailto:iheim@redhat.com> <mailto:iheim@redhat.com
>>>>> <mailto:iheim@redhat.com>>>
>>>>> <mailto:iheim@redhat.com <mailto:iheim@redhat.com>
>>>>> <mailto:iheim@redhat.com <mailto:iheim@redhat.com>>
>>>>> <mailto:iheim@redhat.com
>>>>> <mailto:iheim@redhat.com> <mailto:iheim@redhat.com
>>>>> <mailto:iheim@redhat.com>>>>>
>>>>>
>>>>> | Cc: users(a)ovirt.org
>>>>> <mailto:users@ovirt.org> <mailto:users@ovirt.org
>>>>> <mailto:users@ovirt.org>>
>>>>> <mailto:users@ovirt.org <mailto:users@ovirt.org>
>>>>> <mailto:users@ovirt.org <mailto:users@ovirt.org>>>
>>>>> <mailto:users@ovirt.org
>>>>> <mailto:users@ovirt.org> <mailto:users@ovirt.org
>>>>> <mailto:users@ovirt.org>>
>>>>> <mailto:users@ovirt.org <mailto:users@ovirt.org>
>>>>> <mailto:users@ovirt.org <mailto:users@ovirt.org>>>>, "Jan-Olov
>>>>> Persson"
>>>>> <jan-olov.persson(a)slu.se
>>>>> <mailto:jan-olov.persson@slu.se>
>>>>> <mailto:jan-olov.persson@slu.__se
>>>>> <mailto:jan-olov.persson@slu.se>>
>>>>> <mailto:jan-olov.persson@slu.
>>>>> <mailto:jan-olov.persson@slu.>____se
>>>>> <mailto:jan-olov.persson@slu.__se
>>>>> <mailto:jan-olov.persson@slu.se>>>
>>>>> <mailto:jan-olov.persson@slu
>>>>> <mailto:jan-olov.persson@slu>.
>>>>> <mailto:jan-olov.persson@slu
>>>>> <mailto:jan-olov.persson@slu>.>______se
>>>>>
>>>>> <mailto:jan-olov.persson@slu.
>>>>> <mailto:jan-olov.persson@slu.>____se
>>>>> <mailto:jan-olov.persson@slu.__se
>>>>> <mailto:jan-olov.persson@slu.se>>>>>
>>>>>
>>>>> | Sent: Monday, September 2, 2013
>>>>> 10:42:52 AM
>>>>> | Subject: Re: [Users] so, what do you
>>>>> want next
>>>>> in oVirt?
>>>>> |
>>>>> | Hi,
>>>>> |
>>>>> | I would like to see a more advanced
>>>>> type of
>>>>> Power-Saving
>>>>> Cluster
>>>>> policy,
>>>>> | where an empty Host gets put into a
>>>>> sleep-mode,
>>>>> so that
>>>>> it draws
>>>>> as little
>>>>> | power as possible and can be awoken by
>>>>> engine
>>>>> when VM's
>>>>> starts to
>>>>> use more
>>>>> | resources.
>>>>> |
>>>>> | A typical scenario would be that all
>>>>> VM's are spread
>>>>> evenly over
>>>>> Hosts during
>>>>> | day-time, when customers are
>>>>> actively using
>>>>> their VM's.
>>>>> But then
>>>>> during
>>>>> | off-hours, VM's gets clumped up into
>>>>> maybe one
>>>>> or two
>>>>> Hosts, and
>>>>> the other
>>>>> | Hosts can be put to sleep to save
>>>>> energy, and
>>>>> then woken
>>>>> up in the
>>>>> morning
>>>>> | again.
>>>>> |
>>>>> | /Karli
>>>>> |
>>>>>
>>>>> Hi Karli,
>>>>> this should be achievable for you in 3.3
>>>>> with some
>>>>> minor
>>>>> work on
>>>>> your side;
>>>>> In oVirt 3.3 we introduce the new
>>>>> scheduler, which
>>>>> allows
>>>>> you to run
>>>>> your own
>>>>> code when doing VM placement and load
>>>>> balancing.
>>>>>
>>>>> You can write your own load balancing
>>>>> logic
>>>>> replacing the
>>>>> built-in one,
>>>>> which will switch to power saving at a
>>>>> given time.
>>>>> Once a
>>>>> host has no
>>>>> running VMs, your balance logic can
>>>>> switch it into
>>>>> S3 state
>>>>> (sleep), and
>>>>> when needed or in a given time use
>>>>> wake-on-lan to
>>>>> resume all
>>>>> suspended hosts.
>>>>>
>>>>> If you want we can guide you through it
>>>>> post 3.3
>>>>> release.
>>>>>
>>>>> Doron
>>>>>
>>>>> | tis 2013-08-20 klockan 17:19 -0400
>>>>> skrev Itamar
>>>>> Heim:
>>>>> |
>>>>> |
>>>>> | earlier in the year we did a survey for
>>>>> feature
>>>>> requests /
>>>>> improvements
>>>>> | / etc.
>>>>> |
>>>>> | since a lot of things were added, and
>>>>> priorities
>>>>> usually
>>>>> change, I'd
>>>>> | like to ask again for "what do you need
>>>>> the most
>>>>> from
>>>>> oVirt / what are
>>>>> | your pain points" next?
>>>>> |
>>>>> | below[1] I've listed my understanding
>>>>> of what
>>>>> already
>>>>> went in from
>>>>> | previous survey requests (to various
>>>>> degrees of
>>>>> coverage).
>>>>> |
>>>>> | Thanks,
>>>>> | Itamar
>>>>> |
>>>>> | [1] from the top 12
>>>>> | V Allow disk resize
>>>>> | V Integrate Nagios/Zabbix monitoring -
>>>>> via a ui
>>>>> plugin
>>>>> | V Highly Available engine - via hosted
>>>>> engine[2]
>>>>> | V Open vSwitch integration - via
>>>>> neutron integration
>>>>> | X Allow cloning VMs without template
>>>>> | ? Enable hypervisor upgrade/updates
>>>>> through
>>>>> engine[3]
>>>>> | V Allow engine on an oVirt hosted VM
>>>>> - via
>>>>> hosted engine[2]
>>>>> | V Enable guest configuration (root
>>>>> password, SSH
>>>>> keys,
>>>>> network) via
>>>>> | guest agent in engine - via
>>>>> cloud-init
>>>>> | X Integrate v2v into engine
>>>>> | ? Bond/extend ovirtmgmt with a second
>>>>> network for
>>>>> HA/increased
>>>>> | bandwidth[4]
>>>>> | X Integrate scheduling of snapshots
>>>>> and VM
>>>>> export for
>>>>> backups in
>>>>> | engine[5]
>>>>> | V Spice – support Google Chrome - via
>>>>> mime based
>>>>> launch
>>>>> |
>>>>> |
>>>>> | Other items mentioned in previous
>>>>> survey which
>>>>> should be
>>>>> covered
>>>>> by now:
>>>>> | - Fix timeout when adding local host
>>>>> during
>>>>> all-in-one
>>>>> configuration
>>>>> | - Fix engine set-up when SELinux is
>>>>> disabled
>>>>> | - Provide packages for el6 (CentOS,
>>>>> Red Hat
>>>>> Enterprise Linux)
>>>>> | - Allow multiple VMs to be deployed
>>>>> from the same
>>>>> template at the same
>>>>> | time
>>>>> | - ISO domains on local/GlusterS
>>>>> | - Show IP addresses in Virtual
>>>>> Machines->Network
>>>>> Interfaces
>>>>> | - OpenStack Quantum support (now called
>>>>> Neutron)
>>>>> | - noVNC support
>>>>> | - Support spice.html5 and websocket
>>>>> proxy
>>>>> | - Add other guest OSes to list
>>>>> | - Port oVirt guest agent to Ubuntu[6]
>>>>> | - SLA - Allow resource time-sharing
>>>>> | - Spice - Mac client (via mime based
>>>>> launch)
>>>>> | - Spice - port XPI plug-in to Windows
>>>>> (not sure
>>>>> this will
>>>>> happen, but
>>>>> | mime based launch allows using
>>>>> firefox now)
>>>>> | - Spice - client for Ubuntu/Debian
>>>>> (should be
>>>>> covered via
>>>>> mime based
>>>>> | launch)
>>>>> |
>>>>> |
>>>>> | [2] hosted engine is in active
>>>>> development, but not
>>>>> released yet.
>>>>> | [3] host update is supported, but
>>>>> not for
>>>>> general yum update.
>>>>> | [4] a lot of improvements were done
>>>>> in this
>>>>> space, but
>>>>> i'm not sure if
>>>>> | they cover this exact use case
>>>>> | [5] backup api is now being pushed to
>>>>> master, and
>>>>> orchestration of
>>>>> | backups should probably happen via
>>>>> 3rd part
>>>>> backup
>>>>> vendors?
>>>>> | [6] I'm not sure packaging exists yet,
>>>>> but ubuntu is
>>>>> covered for the
>>>>> | basic functionality of the guest
>>>>> agent.
>>>>> |
>>>>> _____________________________________________________
>>>>>
>>>>> | Users mailing list Users(a)ovirt.org
>>>>> <mailto:Users@ovirt.org>
>>>>> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>
>>>>> <mailto:Users@ovirt.org
>>>>> <mailto:Users@ovirt.org> <mailto:Users@ovirt.org
>>>>> <mailto:Users@ovirt.org>>>
>>>>> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>
>>>>> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>
>>>>> <mailto:Users@ovirt.org
>>>>> <mailto:Users@ovirt.org> <mailto:Users@ovirt.org
>>>>> <mailto:Users@ovirt.org>>>>
>>>>>
>>>>> |
>>>>> http://lists.ovirt.org/______mailman/listinfo/users
>>>>> <http://lists.ovirt.org/____mailman/listinfo/users>
>>>>> <http://lists.ovirt.org/____mailman/listinfo/users
>>>>> <http://lists.ovirt.org/__mailman/listinfo/users>>
>>>>>
>>>>>
>>>>>
>>>>> <http://lists.ovirt.org/____mailman/listinfo/users
>>>>> <http://lists.ovirt.org/__mailman/listinfo/users>
>>>>> <http://lists.ovirt.org/__mailman/listinfo/users
>>>>> <http://lists.ovirt.org/mailman/listinfo/users>>>
>>>>> |
>>>>> |
>>>>> | --
>>>>> |
>>>>> | Med Vänliga Hälsningar
>>>>> |
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------______--------------------------__--__--__-------------------
>>>>>
>>>>>
>>>>>
>>>>> | Karli Sjöberg
>>>>> | Swedish University of Agricultural
>>>>> Sciences
>>>>> | Box 7079 (Visiting Address
>>>>> Kronåsvägen 8)
>>>>> | S-750 07 Uppsala, Sweden
>>>>> | Phone: +46-(0)18-67 15 66
>>>>> | karli.sjoberg(a)slu.se
>>>>> <mailto:karli.sjoberg@slu.se>
>>>>> <mailto:karli.sjoberg@slu.se
>>>>> <mailto:karli.sjoberg@slu.se>> <mailto:karli.sjoberg@slu.se
>>>>> <mailto:karli.sjoberg@slu.se>
>>>>> <mailto:karli.sjoberg@slu.se
>>>>> <mailto:karli.sjoberg@slu.se>>>
>>>>> <mailto:karli.sjoberg@slu.se
>>>>> <mailto:karli.sjoberg@slu.se>
>>>>> <mailto:karli.sjoberg@slu.se
>>>>> <mailto:karli.sjoberg@slu.se>> <mailto:karli.sjoberg@slu.se
>>>>> <mailto:karli.sjoberg@slu.se>
>>>>> <mailto:karli.sjoberg@slu.se
>>>>> <mailto:karli.sjoberg@slu.se>>>__>
>>>>> |
>>>>> |
>>>>> _____________________________________________________
>>>>>
>>>>>
>>>>> | Users mailing list
>>>>> | Users(a)ovirt.org
>>>>> <mailto:Users@ovirt.org> <mailto:Users@ovirt.org
>>>>> <mailto:Users@ovirt.org>>
>>>>> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>
>>>>> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>>
>>>>> <mailto:Users@ovirt.org
>>>>> <mailto:Users@ovirt.org> <mailto:Users@ovirt.org
>>>>> <mailto:Users@ovirt.org>>
>>>>> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>
>>>>> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>>>
>>>>>
>>>>> |
>>>>> http://lists.ovirt.org/______mailman/listinfo/users
>>>>> <http://lists.ovirt.org/____mailman/listinfo/users>
>>>>> <http://lists.ovirt.org/____mailman/listinfo/users
>>>>> <http://lists.ovirt.org/__mailman/listinfo/users>>
>>>>>
>>>>> <http://lists.ovirt.org/____mailman/listinfo/users
>>>>> <http://lists.ovirt.org/__mailman/listinfo/users>
>>>>> <http://lists.ovirt.org/__mailman/listinfo/users
>>>>> <http://lists.ovirt.org/mailman/listinfo/users>>>
>>>>> |
>>>>>
>>>>> _____________________________________________________
>>>>>
>>>>> Users mailing list
>>>>> Users(a)ovirt.org <mailto:Users@ovirt.org> <mailto:Users@ovirt.org
>>>>> <mailto:Users@ovirt.org>> <mailto:Users@ovirt.org
>>>>> <mailto:Users@ovirt.org>
>>>>> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>>
>>>>> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>
>>>>> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>
>>>>> <mailto:Users@ovirt.org
>>>>> <mailto:Users@ovirt.org> <mailto:Users@ovirt.org
>>>>> <mailto:Users@ovirt.org>>>>
>>>>>
>>>>> http://lists.ovirt.org/______mailman/listinfo/users
>>>>> <http://lists.ovirt.org/____mailman/listinfo/users>
>>>>> <http://lists.ovirt.org/____mailman/listinfo/users
>>>>> <http://lists.ovirt.org/__mailman/listinfo/users>>
>>>>>
>>>>> <http://lists.ovirt.org/____mailman/listinfo/users
>>>>> <http://lists.ovirt.org/__mailman/listinfo/users>
>>>>> <http://lists.ovirt.org/__mailman/listinfo/users
>>>>> <http://lists.ovirt.org/mailman/listinfo/users>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _____________________________________________________
>>>>>
>>>>>
>>>>> Users mailing list
>>>>> Users(a)ovirt.org <mailto:Users@ovirt.org> <mailto:Users@ovirt.org
>>>>> <mailto:Users@ovirt.org>> <mailto:Users@ovirt.org
>>>>> <mailto:Users@ovirt.org>
>>>>> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>>
>>>>> http://lists.ovirt.org/______mailman/listinfo/users
>>>>> <http://lists.ovirt.org/____mailman/listinfo/users>
>>>>> <http://lists.ovirt.org/____mailman/listinfo/users
>>>>> <http://lists.ovirt.org/__mailman/listinfo/users>>
>>>>>
>>>>> <http://lists.ovirt.org/____mailman/listinfo/users
>>>>> <http://lists.ovirt.org/__mailman/listinfo/users>
>>>>> <http://lists.ovirt.org/__mailman/listinfo/users
>>>>> <http://lists.ovirt.org/mailman/listinfo/users>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users(a)ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>> Hello,
>>>
>>> I dont have Ubuntu in Operating system picker in new VM creating dialog.
>>> Iam using oVirt 3.3RC.
>>
>> Roy - didn't this one make 3.3? i suggest backporting it to 3.3.1 if didn't and possible:
>> http://gerrit.ovirt.org/#/c/16680/
>
> it didn't make it
> probably also Ie508a8828caedf4cb8fdf971e14139404f7dded3 (core: osinfo - Remove unassigned and streamline all ids with the REST ids.)
>
>>
>>> Someone wrote that there is working ovirt-agent
>>> for Ubuntu, but I can not find any info about it. Is there a deb package
>>> somewhere or howto about deploying it?
>>
>> not sure if anyone packed the .deb, but the guest agent is supposed to be there.
>> Vinzenz?
>
> it is supposed to work, but we don't have the build environment to produce something regularly
> build it yourself, if you can, it should work just fine…or maybe Zhou Zheng Sheng can help with building it
>
> Tahnks,
> michal
>
Ubuntu packaging scripts are already in oVirt guest agent upstream. I
can build the package and put it to launchpad.net under my PPA. Once
it's ready I'll reply this mail again, then you can use apt-get to
install it. I think we can also setup an Ubuntu repository on ovirt.org
for the users. I'm now working on VDSM packaging, in a near future we
will have to find a place to host all the .deb packages. My PPA is just
a temporary place, ovirt.org is a better place.
>>
>>>
>>> I would suggest another feature (maybe it is covered by external
>>> providers). Network NAT for VMs (with buildin DHCP).
>>>
>>> Thank you.
>>> _______________________________________________
>>> Users mailing list
>>> Users(a)ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
--
Thanks and best regards!
Zhou Zheng Sheng / 周征晟
E-mail: zhshzhou(a)linux.vnet.ibm.com
Telephone: 86-10-82454397
11 years, 3 months