Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-18 Thread Tejesh M
I tried sysprep through web admin, but it shows only Domain name and alternate username password. There is no option to reset Administrator Password. On Tue, Feb 18, 2014 at 1:01 PM, Itamar Heim ih...@redhat.com wrote: On 02/18/2014 07:27 AM, Tejesh M wrote: Oh did silly mistake.. didn't

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-18 Thread Shahar Havivi
On 18.02.14 17:08, Tejesh M wrote: I tried sysprep through web admin, but it shows only Domain name and alternate username password. There is no option to reset Administrator Password. Please try via the Run-Once, You need to attach Floppy in Boot Options and set it to [Sysprep] Then you will

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-18 Thread Tejesh M
Yes, I tried that, it asks for Domain Name and Username Password for that domain to join. But no option to reset the Admin password. On Tue, Feb 18, 2014 at 5:20 PM, Shahar Havivi shah...@redhat.com wrote: On 18.02.14 17:08, Tejesh M wrote: I tried sysprep through web admin, but it shows

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-18 Thread Shahar Havivi
On 18.02.14 17:27, Tejesh M wrote: Yes, I tried that, it asks for Domain Name and Username Password for that domain to join. But no option to reset the Admin password. What do you mean by reset? Do you want to have no admin password? On Tue, Feb 18, 2014 at 5:20 PM, Shahar Havivi

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-18 Thread Tejesh M
I want to assign random password for Administrator IP address through API, as we did for Linux OS using Cloud-init. On Tue, Feb 18, 2014 at 5:45 PM, Shahar Havivi shah...@redhat.com wrote: On 18.02.14 17:27, Tejesh M wrote: Yes, I tried that, it asks for Domain Name and Username Password

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-18 Thread Shahar Havivi
On 18.02.14 17:56, Tejesh M wrote: I want to assign random password for Administrator IP address through API, as we did for Linux OS using Cloud-init. You suppose to run it via the API as you run regular VM (start action) and set the values in the body: do a PUT method to:

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-18 Thread Itamar Heim
On 02/18/2014 04:55 PM, Shahar Havivi wrote: On 18.02.14 17:56, Tejesh M wrote: I want to assign random password for Administrator IP address through API, as we did for Linux OS using Cloud-init. You suppose to run it via the API as you run regular VM (start action) and set the values in the

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-17 Thread Tejesh M
Thanks.. thats solved the issue. but now when i try to login with password i set through API using cloud-init. OS (RHEL 6) is asking me to assign new password what ever i give weak or strong password, it is not accepting. On Mon, Feb 17, 2014 at 11:50 AM, Itamar Heim ih...@redhat.com wrote:

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-17 Thread Shahar Havivi
On 17.02.14 18:25, Tejesh M wrote: Thanks.. thats solved the issue. but now when i try to login with password i set through API using cloud-init. OS (RHEL 6) is asking me to assign new password what ever i give weak or strong password, it is not accepting. try more then 8 characters with upper

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-17 Thread Tejesh M
Oh did silly mistake.. didn't check above 8 characters. Its working. I want to set Adminstrator Password for windows through API. does cloud-init supports windows sysprep? or I need to install some other component? On Mon, Feb 17, 2014 at 7:42 PM, Shahar Havivi shah...@redhat.com wrote: On

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-17 Thread Itamar Heim
On 02/18/2014 07:27 AM, Tejesh M wrote: Oh did silly mistake.. didn't check above 8 characters. Its working. I want to set Adminstrator Password for windows through API. does cloud-init supports windows sysprep? or I need to install some other component? you can use windows sysprep, which

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-16 Thread Tejesh M
It's cloud-init-0.6.3-0.12.bzr532.el6.noarch.rpm installed on guest. On Fri, Feb 14, 2014 at 9:18 PM, Itamar Heim ih...@redhat.com wrote: On 02/14/2014 03:07 PM, Tejesh M wrote: Thanks, now i could see the cloud-init option in Run Once.. I did selected Other Linux instead of exact Linux

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-16 Thread Itamar Heim
On 02/17/2014 08:16 AM, Tejesh M wrote: It's cloud-init-0.6.3-0.12.bzr532.el6.noarch.rpm installed on guest. you need at least 0.7.2 iirc, its available in .el6.5 On Fri, Feb 14, 2014 at 9:18 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 02/14/2014 03:07 PM,

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-14 Thread Juan Hernandez
...@gmail.com Sent: Wednesday, February 12, 2014 11:22:20 PM Subject: Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK On 12.02.14 22:55, Itamar Heim wrote: On 02/12/2014 03:14 PM

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-14 Thread Tejesh M
...@gmail.com mailto:tejes...@gmail.com mailto:tejes...@gmail.com mailto:tejes...@gmail.com Sent: Wednesday, February 12, 2014 11:22:20 PM Subject: Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-14 Thread Juan Hernandez
mailto:tejes...@gmail.com Sent: Wednesday, February 12, 2014 11:22:20 PM Subject: Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK On 12.02.14 22:55, Itamar Heim wrote: On 02/12

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-14 Thread Juan Hernandez
mailto:tejes...@gmail.com mailto:tejes...@gmail.com Sent: Wednesday, February 12, 2014 11:22:20 PM Subject: Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK On 12.02.14

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-14 Thread Gianluca Cecchi
On Fri, Feb 14, 2014 at 11:22 AM, Juan Hernandez wrote: On 02/14/2014 11:03 AM, Tejesh M wrote: In the two screenshots which i shared earlier, in that No Cloud-Init 2.png is Run Once screenshot, it has only 4 options, i. Boot Options ii. Host iii. Display Protocol iv. Custom Properties

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-14 Thread Juan Hernandez
On 02/14/2014 12:27 PM, Tejesh M wrote: Here is the list: [root@rhevm ~]# rpm -qa 'rhevm*' rhevm-lib-3.3.0-0.46.el6ev.noarch rhevm-setup-3.3.0-0.46.el6ev.noarch rhevm-spice-client-x86-msi-3.3-8.el6_5.noarch rhevm-branding-rhev-3.3.0-1.5.el6ev.noarch rhevm-restapi-3.3.0-0.46.el6ev.noarch

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-14 Thread Shahar Havivi
On 14.02.14 18:37, Tejesh M wrote: Thanks, now i could see the cloud-init option in Run Once.. I did selected Other Linux instead of exact Linux flavor. And sorry, instead of Reply All, i clicked on Reply and sent that mail. Now, when i start VM from Run Once with Cloud-init options like

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-14 Thread Juan Hernandez
On 02/14/2014 02:07 PM, Tejesh M wrote: Thanks, now i could see the cloud-init option in Run Once.. I did selected Other Linux instead of exact Linux flavor. And sorry, instead of Reply All, i clicked on Reply and sent that mail. Now, when i start VM from Run Once with Cloud-init options

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-14 Thread Tejesh M
CDROM is attached, but it is mounting the default iso from ISO Domain. On Fri, Feb 14, 2014 at 6:54 PM, Juan Hernandez jhern...@redhat.com wrote: On 02/14/2014 02:07 PM, Tejesh M wrote: Thanks, now i could see the cloud-init option in Run Once.. I did selected Other Linux instead of exact

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-14 Thread Juan Hernandez
On 02/14/2014 02:48 PM, Tejesh M wrote: CDROM is attached, but it is mounting the default iso from ISO Domain. Do you have that default CDROM explicitly attached to the VM? If so then you need to detach it. To be absolutely sure that there isn't any CDROMs from the ISO domain attached to the

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-14 Thread Tejesh M
Tried with disabling the ISO Domain, still it is check for network instead of mount the CDROM and my RHEV version is RHEV-H 6.5-20140121.0.el6ev On Fri, Feb 14, 2014 at 7:29 PM, Juan Hernandez jhern...@redhat.com wrote: On 02/14/2014 02:48 PM, Tejesh M wrote: CDROM is attached, but it is

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-14 Thread Juan Hernandez
On 02/14/2014 03:28 PM, Tejesh M wrote: Tried with disabling the ISO Domain, still it is check for network instead of mount the CDROM and my RHEV version is RHEV-H 6.5-20140121.0.el6ev Ok, that is the same version I'm testing with. Please try to connect to the hypervisor and see what is

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-14 Thread Itamar Heim
On 02/14/2014 03:07 PM, Tejesh M wrote: Thanks, now i could see the cloud-init option in Run Once.. I did selected Other Linux instead of exact Linux flavor. And sorry, instead of Reply All, i clicked on Reply and sent that mail. shahar - any reason 'other linux' doesn't have cloud-init?

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-14 Thread Shahar Havivi
On 14.02.14 17:48, Itamar Heim wrote: On 02/14/2014 03:07 PM, Tejesh M wrote: Thanks, now i could see the cloud-init option in Run Once.. I did selected Other Linux instead of exact Linux flavor. And sorry, instead of Reply All, i clicked on Reply and sent that mail. shahar - any reason

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-13 Thread Sven Kieske
Yes, there is REST support, but for ovirt 3.4 the JSON submitted data format is incomplete, this is just documented in a BZ somewhere. So in order to pass all data successfully, you need to use XML. (especially for the root password) JSON should be supported from 3.4 but I didn't test this

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-13 Thread Sven Kieske
@ovirt.org Cc: Juan Antonio Hernandez Fernandez jhern...@redhat.com, rhevm-...@lists.fedorahosted.org, Tejesh M tejes...@gmail.com Sent: Wednesday, February 12, 2014 11:22:20 PM Subject: Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK On 12.02.14 22:55, Itamar Heim wrote: On 02/12

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-13 Thread Juan Hernandez
-...@lists.fedorahosted.org mailto:rhevm-...@lists.fedorahosted.org, Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com Sent: Wednesday, February 12, 2014 11:22:20 PM Subject: Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK On 12.02.14 22:55, Itamar

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-13 Thread Juan Hernandez
Message - From: Shahar Havivi shah...@redhat.com To: users@ovirt.org Cc: Juan Antonio Hernandez Fernandez jhern...@redhat.com, rhevm-...@lists.fedorahosted.org, Tejesh M tejes...@gmail.com Sent: Wednesday, February 12, 2014 11:22:20 PM Subject: Re: [Users] [rhevm-api] Assign IP address

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-13 Thread Tejesh M
...@gmail.com mailto:tejes...@gmail.com Sent: Wednesday, February 12, 2014 11:22:20 PM Subject: Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK On 12.02.14 22:55, Itamar Heim wrote: On 02/12/2014 03:14 PM, Tejesh M wrote: Hi

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-13 Thread Shahar Havivi
-...@lists.fedorahosted.org, Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com Sent: Wednesday, February 12, 2014 11:22:20 PM Subject: Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK On 12.02.14 22:55, Itamar Heim wrote: On 02/12/2014 03:14 PM

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-13 Thread Juan Hernandez
mailto:rhevm-...@lists.fedorahosted.org, Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com Sent: Wednesday, February 12, 2014 11:22:20 PM Subject: Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK On 12.02.14 22:55, Itamar Heim wrote: On 02/12/2014

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-13 Thread Tejesh M
Sent: Wednesday, February 12, 2014 11:22:20 PM Subject: Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK On 12.02.14 22:55, Itamar Heim wrote: On 02/12/2014 03:14 PM, Tejesh M wrote: Hi, Can anyone share sample code on how

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-12 Thread Itamar Heim
On 02/12/2014 03:14 PM, Tejesh M wrote: Hi, Can anyone share sample code on how to assign IP address to guest os changing the root password while creating VM from Template using Java SDK? -- Thanks Regards Lucky ___ rhevm-api mailing list

Re: [Users] [rhevm-api] Assign IP address to VM using Java SDK

2014-02-12 Thread Oved Ourfalli
] Assign IP address to VM using Java SDK On 12.02.14 22:55, Itamar Heim wrote: On 02/12/2014 03:14 PM, Tejesh M wrote: Hi, Can anyone share sample code on how to assign IP address to guest os changing the root password while creating VM from Template using Java SDK? Hi Tejesh, You