[ovirt-users] RHEVM3.3 java SDK on RHEV3.6

2016-11-06 Thread Tejesh M
Hi All, I'm facing an issue in invoking Cloudinit while customization in RHEV 3.6 using RHEV Java SDK 3.6. Below link says we need to explicitly call *use_cloud_init=True*, but i'm not sure how to pass this value as parameter while creating VM.

Re: [Users] Cloud-init for Windows

2014-04-08 Thread Tejesh M
]. A component or setting specified in the answer file does not exist. On Tue, Apr 8, 2014 at 12:32 PM, Omer Frenkel ofren...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: Itamar Heim ih...@redhat.com Cc: users@oVirt.org users@ovirt.org Sent: Monday, April 7

Re: [Users] Cloud-init for Windows

2014-04-08 Thread Tejesh M
resolved the first issue.. Now i'm able to add Payload via JavaSDK also. need help on the 2 issue. On Tue, Apr 8, 2014 at 4:36 PM, Tejesh M tejes...@gmail.com wrote: Hi, When i tried the above solution, i face few challanges: 1. I'm able to add VMPayload via CURL, but not via JavaSDK. 2

Re: [Users] Cloud-init for Windows

2014-04-07 Thread Tejesh M
at 3:52 PM, Itamar Heim ih...@redhat.com wrote: On 03/27/2014 06:18 AM, Tejesh M wrote: Can you guide me on sysprep with sample code sysprep file? just launch a windows VM, look at the generated sysprep file we pass to the VM via the floppy disk. then pass it as a payload as-is. then try

[Users] Cloud-init for Windows

2014-03-27 Thread Tejesh M
Hi All, I was doing google to see if i can set Hostname,Password IP details for Windows server from RHEV-M. I got to know that we can create VM Payload send that to Windows VM (installed with Cloud-init) Refer this link http://www.cloudbase.it/cloud-init-for-windows-instances/#comment-9411

Re: [Users] Cloud-init for Windows

2014-03-27 Thread Tejesh M
Can you guide me on sysprep with sample code sysprep file? On Thu, Mar 27, 2014 at 3:16 PM, Itamar Heim ih...@redhat.com wrote: On 03/27/2014 05:33 AM, Tejesh M wrote: Hi All, I was doing google to see if i can set Hostname,Password IP details for Windows server from RHEV-M. I got

[Users] Clone VM from another VM - API

2014-03-18 Thread Tejesh M
Hi Is that possible to Clone a VM from another VM without taking a Snapshot through Java SDK? -- Thanks Regards Tejesh ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

[Users] Attach floppy as [sysprep] to VM - API

2014-03-17 Thread Tejesh M
Hi, I want to attach floppy as [sysprep] to windows VM in the Run once via API. can you help? I want to do sysprep on windows 2008 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Re: [Users] Delete Detach Logical Network

2014-03-13 Thread Tejesh M
Thanks Moti. On Tue, Mar 11, 2014 at 4:27 PM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: Moti Asayag masa...@redhat.com Cc: users@oVirt.org users@ovirt.org Sent: Tuesday, March 11, 2014 8:53:15 AM Subject: Re: Delete

Re: [Users] Delete Detach Logical Network

2014-03-11 Thread Tejesh M
); nic.delete(); i want to unmap the logical network which is mapped to eth1. *Result*: code : 400 reason: Bad Request detail: Invalid Bonding definition On Mon, Mar 10, 2014 at 6:54 PM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com

[Users] Delete Detach Logical Network

2014-03-10 Thread Tejesh M
Hi, I'm able to delete the logical network but this logical network after deletion shows as unmanaged network in Setup Host Networks against the hostnic. I tried with this code to detach the logical network. *Code 1:* HostNIC nic = api.getHosts().get(rhevhost).getHostNics().get(eth1); Action

Re: [Users] Delete Detach Logical Network

2014-03-10 Thread Tejesh M
Hi Moti, rhevhost is the Host name logical network is sent as variable nw_name, in the code 1. On Mon, Mar 10, 2014 at 6:54 PM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: Moti Asayag masa...@redhat.com, users@oVirt.org

[Users] Clone a Template using API

2014-03-05 Thread Tejesh M
Hi, While creating VM from Template via Web Admin portal, the default provisioning is Clone. But while doing the same via API its is doing Thin provisioning. Can someone share there view. org.ovirt.engine.sdk.entities.Template templateData = new Template();

[Users] Ubuntu 13.04 cloud-init issue

2014-03-05 Thread Tejesh M
Hi, I have deployed guest ubuntu 13.04 installed cloud-init 0.7.2 on it. But it seems it has a bug setting Network address auto lo eth0 (this line is missing) iface eth0 inet *none* address 172.29.250.13 netmask 255.255.255.0 gateway 172.29.250.1 so it is not brining up the eth0 I tried

Re: [Users] Clone a Template using API

2014-03-05 Thread Tejesh M
Thanks Moti. On Wed, Mar 5, 2014 at 7:06 PM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: users@oVirt.org users@ovirt.org, Moti Asayag masa...@redhat.com Sent: Wednesday, March 5, 2014 1:01:18 PM Subject: Clone a Template

[Users] Increase core or socker for vCPU

2014-03-04 Thread Tejesh M
Hi, I have a basic doubt, while increasing vCPU for a VM in RHEV-M, do we need to increase core or sockets? For instance, if someone asks for 2vCPU then should i make it 2 socket x 1 core or 1 socket x 2 core.. I do understand that it depends on application too to choose. but i'm asking in

Re: [Users] Creating Logical Network issue - API

2014-03-03 Thread Tejesh M
().get(vmName).getNics().get(nic1).update(); On Mon, Feb 24, 2014 at 5:23 PM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: Moti Asayag masa...@redhat.com Cc: users@oVirt.org users@ovirt.org Sent: Monday, February 24, 2014 1:18

Re: [Users] Creating Logical Network issue - API

2014-03-03 Thread Tejesh M
Ok got it.. I just observed that my setup network is not getting saved, after attaching my logical network to host nic. On Mon, Mar 3, 2014 at 7:34 PM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: Moti Asayag masa...@redhat.com

Re: [Users] Creating Logical Network issue - API

2014-03-03 Thread Tejesh M
Thanks alot. On Mon, Mar 3, 2014 at 8:14 PM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: Moti Asayag masa...@redhat.com Cc: users@oVirt.org users@ovirt.org Sent: Monday, March 3, 2014 4:36:32 PM Subject: Re: [Users

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-24 Thread Tejesh M
Thanks. It worked. On Fri, Feb 21, 2014 at 4:25 PM, Juan Hernandez jhern...@redhat.com wrote: On 02/21/2014 08:13 AM, Tejesh M wrote: When i try to execute with the ovirt sdk 3.3.3 and do operations on RHEV-M 3.3, it fails with below error This happens because the oVirt SDK

Re: [Users] Creating Logical Network issue - API

2014-02-24 Thread Tejesh M
Can you tel me how do i assign Logical Network(s) to one of the Physical Nic on the Host. On Fri, Feb 21, 2014 at 1:37 PM, Moti Asayag masa...@redhat.com wrote: h - Original Message - From: Tejesh M tejes...@gmail.com To: users@oVirt.org users@ovirt.org Sent: Thursday, February

Re: [Users] Creating Logical Network issue - API

2014-02-24 Thread Tejesh M
).setNetwork(api.getNetworks().get(nw_name)); //hst.getHostNics().get(eth1).setCheckConnectivity(true); //hst.getHostNics().get(eth1).setOverrideConfiguration(true); hst.getHostNics().get(eth1).update(); On Mon, Feb 24, 2014 at 2:30 PM, Tejesh M tejes...@gmail.com wrote: Can

Re: [Users] Creating Logical Network issue - API

2014-02-24 Thread Tejesh M
Thanks alot.. Will try and let you know the feedback. On Mon, Feb 24, 2014 at 5:23 PM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: Moti Asayag masa...@redhat.com Cc: users@oVirt.org users@ovirt.org Sent: Monday, February 24

Re: [Users] Creating Logical Network issue - API

2014-02-21 Thread Tejesh M
. On Fri, Feb 21, 2014 at 1:37 PM, Moti Asayag masa...@redhat.com wrote: h - Original Message - From: Tejesh M tejes...@gmail.com To: users@oVirt.org users@ovirt.org Sent: Thursday, February 20, 2014 11:48:56 AM Subject: [Users] Creating Logical Network issue - API Hi , I'm

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Tejesh M
(vmDataForStart); // Send the request to start the VM to the server: api.getVMs().get(vmName).start(actionData); On Thu, Feb 20, 2014 at 1:39 PM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: Moti Asayag masa

[Users] Creating Logical Network issue - API

2014-02-20 Thread Tejesh M
Hi , I'm trying to create Logical Network and assign it to cluster want to bond this to one of the Network Interface on Host. so that i can isolate my VM from other networks. The issue is even if i set Cluster while creating Logical Network, it is not setting the cluster. In Web Admin it is in

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Tejesh M
I'm using rhevm 3.3 java sdk,which doesn't have NetworkConfiguration class. On 20 Feb 2014 20:58, Juan Hernandez jhern...@redhat.com wrote: On 02/20/2014 10:40 AM, Tejesh M wrote: I wrote this code to assign IP address to VM interface eth0, but not luck. Also, have attached debug log

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Tejesh M
Also, any workaround to assign ip? On 20 Feb 2014 04:11, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: users@oVirt.org users@ovirt.org Sent: Wednesday, February 19, 2014 3:24:40 PM Subject: [Users] Fwd: Sample code for setting

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Tejesh M
, Juan Hernandez jhern...@redhat.comwrote: On 02/20/2014 05:56 PM, Tejesh M wrote: Ok. Will it take long time for that sdk to release? No, it should be released soon. Meanwhile you may want to use the latest ovirt 3.3 Java SDK, it is almost identical to the RHEV-M Jaa SDK. If you

[Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-19 Thread Tejesh M
Hi, Can someone share me sample java code for assigning IP address for VM on eth0 through Java SDK via CloudInit ? *Something Like this but in Java:* network_configuration nics nic nameeth0/name boot_protocolSTATIC/boot_protocol network

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-19 Thread Tejesh M
I'm not getting below class: import org.ovirt.engine.sdk.entities.*NetworkConfiguration*; On Thu, Feb 20, 2014 at 4:11 AM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: users@oVirt.org users@ovirt.org Sent: Wednesday, February

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 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 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

[Users] Unable to Remove Template, if VM exists.

2014-02-18 Thread Tejesh M
Hi All, I'm not able to Delete Template, if the VM is exists which is deployed from that Template. How can i delete Template leaving the VM as is? Thanks Regards, Tejesh ___ Users mailing list Users@ovirt.org

Re: [Users] Unable to Remove Template, if VM exists.

2014-02-18 Thread Tejesh M
Tried google and got the answer http://lists.ovirt.org/pipermail/users/2013-March/013576.html On Wed, Feb 19, 2014 at 11:52 AM, Tejesh M tejes...@gmail.com wrote: Hi All, I'm not able to Delete Template, if the VM is exists which is deployed from that Template. How can i delete Template

Re: [Users] Unable to Remove Template, if VM exists.

2014-02-18 Thread Tejesh M
Thanks alot. On Wed, Feb 19, 2014 at 12:04 PM, Karli Sjöberg karli.sjob...@slu.sewrote: On Wed, 2014-02-19 at 11:52 +0530, Tejesh M wrote: Hi All, I'm not able to Delete Template, if the VM is exists which is deployed from that Template. How can i delete Template leaving the VM

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

2014-02-17 Thread Tejesh M
: 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-17 Thread Tejesh M
: 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

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-14 Thread Tejesh M
for cloud-init. Do i need to update the RHEV-M? On Fri, Feb 14, 2014 at 3:06 PM, Juan Hernandez jhern...@redhat.com wrote: On 02/14/2014 10:30 AM, Tejesh M wrote: Hi, There is no option in Initial Run to set root password other stuff. Have attached screenshots debug output. Is there any

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 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

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

2014-02-13 Thread Tejesh M
package in RHEV-M also in Template. Please suggest. On Thu, Feb 13, 2014 at 7:31 PM, Juan Hernandez jhern...@redhat.com wrote: On 02/13/2014 02:39 PM, Tejesh M wrote: Hi All, Thanks alot. I have created one VM with minimal installation installed cloud-init package. And, converted

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

2014-02-13 Thread Tejesh M
20:32, Juan Hernandez jhern...@redhat.com wrote: On 02/13/2014 03:59 PM, Shahar Havivi wrote: On 13.02.14 20:17, Tejesh M wrote: 1. The Version is RHEV-M 3.3 Cloud-init is cloud-init-0.6.3-0.12.bzr532.el6.noarch 2. In Webadmin, i don't find any option to set Cloud-init data's. I checked