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

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 rhevm-3.3.0-0.46.el6ev.noarch rhevm-sdk-java-javadoc-1.0.0.29-0.1.el6ev.noarch rhevm-image-uploader-3.3.1-2.el6ev.noarch rhevm-setup-plugins-3.3.0-4.el6ev.noarch rhevm-cli-3.3.0.13-1.el6ev.noarch rhevm-log-collector-3.3.1-5.el6ev.noarch rhevm-dependencies-3.3.5-1.el6ev.noarch rhevm-spice-client-x64-msi-3.3-8.el6_5.noarch rhevm-tools-3.3.0-0.46.el6ev.noarch rhevm-sdk-python-3.3.0.21-1.el6ev.noarch rhevm-iso-uploader-3.3.0-2.el6ev.noarch rhevm-websocket-proxy-3.3.0-0.46.el6ev.noarch rhevm-backend-3.3.0-0.46.el6ev.noarch rhevm-spice-client-x64-cab-3.3-8.el6_5.noarch rhevm-userportal-3.3.0-0.46.el6ev.noarch rhevm-dwh-3.3.0-29.el6ev.noarch rhevm-dbscripts-3.3.0-0.46.el6ev.noarch rhevm-reports-3.3.0-28.el6ev.noarch rhevm-sdk-java-1.0.0.29-0.1.el6ev.noarch rhevm-doc-3.3.0-3.el6eng.noarch rhevm-webadmin-portal-3.3.0-0.46.el6ev.noarch rhevm-spice-client-x86-cab-3.3-8.el6_5.noarch
Ok, you are using RHEV-M 3.3, that is correct, it has support for cloud-init. The only reason I can think of that prevents using the cloud-init options in 3.3 is that the operating system isn't defined as a Linux variant. Select the VM, click the "Edit" button and make sure to select a Linux operating system in the "Operating System" list. The closer to the actual operating system the better. Then try again "Run Once". To avoid making this for every VM you create, you should do the change in the template as well. By the way, please reply to the list, there may be other people interested in your same issue. -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

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 Hostname & Root Password, in the startup screen of VM, it show the error as attached screenshot. On Fri, Feb 14, 2014 at 5:09 PM, Juan Hernandez <jhernand@redhat.com> wrote:
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 rhevm-3.3.0-0.46.el6ev.noarch rhevm-sdk-java-javadoc-1.0.0.29-0.1.el6ev.noarch rhevm-image-uploader-3.3.1-2.el6ev.noarch rhevm-setup-plugins-3.3.0-4.el6ev.noarch rhevm-cli-3.3.0.13-1.el6ev.noarch rhevm-log-collector-3.3.1-5.el6ev.noarch rhevm-dependencies-3.3.5-1.el6ev.noarch rhevm-spice-client-x64-msi-3.3-8.el6_5.noarch rhevm-tools-3.3.0-0.46.el6ev.noarch rhevm-sdk-python-3.3.0.21-1.el6ev.noarch rhevm-iso-uploader-3.3.0-2.el6ev.noarch rhevm-websocket-proxy-3.3.0-0.46.el6ev.noarch rhevm-backend-3.3.0-0.46.el6ev.noarch rhevm-spice-client-x64-cab-3.3-8.el6_5.noarch rhevm-userportal-3.3.0-0.46.el6ev.noarch rhevm-dwh-3.3.0-29.el6ev.noarch rhevm-dbscripts-3.3.0-0.46.el6ev.noarch rhevm-reports-3.3.0-28.el6ev.noarch rhevm-sdk-java-1.0.0.29-0.1.el6ev.noarch rhevm-doc-3.3.0-3.el6eng.noarch rhevm-webadmin-portal-3.3.0-0.46.el6ev.noarch rhevm-spice-client-x86-cab-3.3-8.el6_5.noarch
Ok, you are using RHEV-M 3.3, that is correct, it has support for cloud-init. The only reason I can think of that prevents using the cloud-init options in 3.3 is that the operating system isn't defined as a Linux variant. Select the VM, click the "Edit" button and make sure to select a Linux operating system in the "Operating System" list. The closer to the actual operating system the better. Then try again "Run Once".
To avoid making this for every VM you create, you should do the change in the template as well.
By the way, please reply to the list, there may be other people interested in your same issue.
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid - C.I.F. B82657941 - Red Hat S.L.
-- Thanks & Regards Tejesh

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 Hostname & Root Password, in the startup screen of VM, it show the error as attached screenshot. It's looks like a cloud-init error, Can you post the log file from the guest which suppose to be at: /var/log/cloud-init.log
On Fri, Feb 14, 2014 at 5:09 PM, Juan Hernandez <jhernand@redhat.com> wrote:
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 rhevm-3.3.0-0.46.el6ev.noarch rhevm-sdk-java-javadoc-1.0.0.29-0.1.el6ev.noarch rhevm-image-uploader-3.3.1-2.el6ev.noarch rhevm-setup-plugins-3.3.0-4.el6ev.noarch rhevm-cli-3.3.0.13-1.el6ev.noarch rhevm-log-collector-3.3.1-5.el6ev.noarch rhevm-dependencies-3.3.5-1.el6ev.noarch rhevm-spice-client-x64-msi-3.3-8.el6_5.noarch rhevm-tools-3.3.0-0.46.el6ev.noarch rhevm-sdk-python-3.3.0.21-1.el6ev.noarch rhevm-iso-uploader-3.3.0-2.el6ev.noarch rhevm-websocket-proxy-3.3.0-0.46.el6ev.noarch rhevm-backend-3.3.0-0.46.el6ev.noarch rhevm-spice-client-x64-cab-3.3-8.el6_5.noarch rhevm-userportal-3.3.0-0.46.el6ev.noarch rhevm-dwh-3.3.0-29.el6ev.noarch rhevm-dbscripts-3.3.0-0.46.el6ev.noarch rhevm-reports-3.3.0-28.el6ev.noarch rhevm-sdk-java-1.0.0.29-0.1.el6ev.noarch rhevm-doc-3.3.0-3.el6eng.noarch rhevm-webadmin-portal-3.3.0-0.46.el6ev.noarch rhevm-spice-client-x86-cab-3.3-8.el6_5.noarch
Ok, you are using RHEV-M 3.3, that is correct, it has support for cloud-init. The only reason I can think of that prevents using the cloud-init options in 3.3 is that the operating system isn't defined as a Linux variant. Select the VM, click the "Edit" button and make sure to select a Linux operating system in the "Operating System" list. The closer to the actual operating system the better. Then try again "Run Once".
To avoid making this for every VM you create, you should do the change in the template as well.
By the way, please reply to the list, there may be other people interested in your same issue.
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid - C.I.F. B82657941 - Red Hat S.L.
-- Thanks & Regards Tejesh

Thanks. Have attached the log file. On Fri, Feb 14, 2014 at 6:46 PM, Shahar Havivi <shaharh@redhat.com> wrote:
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 Hostname & Root Password, in the startup screen of VM, it show the error as attached screenshot. It's looks like a cloud-init error, Can you post the log file from the guest which suppose to be at: /var/log/cloud-init.log
On Fri, Feb 14, 2014 at 5:09 PM, Juan Hernandez <jhernand@redhat.com>
wrote:
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 rhevm-3.3.0-0.46.el6ev.noarch rhevm-sdk-java-javadoc-1.0.0.29-0.1.el6ev.noarch rhevm-image-uploader-3.3.1-2.el6ev.noarch rhevm-setup-plugins-3.3.0-4.el6ev.noarch rhevm-cli-3.3.0.13-1.el6ev.noarch rhevm-log-collector-3.3.1-5.el6ev.noarch rhevm-dependencies-3.3.5-1.el6ev.noarch rhevm-spice-client-x64-msi-3.3-8.el6_5.noarch rhevm-tools-3.3.0-0.46.el6ev.noarch rhevm-sdk-python-3.3.0.21-1.el6ev.noarch rhevm-iso-uploader-3.3.0-2.el6ev.noarch rhevm-websocket-proxy-3.3.0-0.46.el6ev.noarch rhevm-backend-3.3.0-0.46.el6ev.noarch rhevm-spice-client-x64-cab-3.3-8.el6_5.noarch rhevm-userportal-3.3.0-0.46.el6ev.noarch rhevm-dwh-3.3.0-29.el6ev.noarch rhevm-dbscripts-3.3.0-0.46.el6ev.noarch rhevm-reports-3.3.0-28.el6ev.noarch rhevm-sdk-java-1.0.0.29-0.1.el6ev.noarch rhevm-doc-3.3.0-3.el6eng.noarch rhevm-webadmin-portal-3.3.0-0.46.el6ev.noarch rhevm-spice-client-x86-cab-3.3-8.el6_5.noarch
Ok, you are using RHEV-M 3.3, that is correct, it has support for cloud-init. The only reason I can think of that prevents using the cloud-init options in 3.3 is that the operating system isn't defined as a Linux variant. Select the VM, click the "Edit" button and make sure
to
select a Linux operating system in the "Operating System" list. The closer to the actual operating system the better. Then try again "Run Once".
To avoid making this for every VM you create, you should do the change in the template as well.
By the way, please reply to the list, there may be other people interested in your same issue.
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid - C.I.F. B82657941 - Red Hat S.L.
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh

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 like Hostname & Root Password, in the startup screen of VM, it show the error as attached screenshot.
The messages in that screen shot mean that cloud-init is trying to locate its configuration via the network instead of inside the CDROM. So this probably means that the CDROM isn't attached correctly to the VM. Please try to find the options of the qemu-kvm command as I described in a previous mail.
On Fri, Feb 14, 2014 at 5:09 PM, Juan Hernandez <jhernand@redhat.com <mailto:jhernand@redhat.com>> wrote:
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 > rhevm-3.3.0-0.46.el6ev.noarch > rhevm-sdk-java-javadoc-1.0.0.29-0.1.el6ev.noarch > rhevm-image-uploader-3.3.1-2.el6ev.noarch > rhevm-setup-plugins-3.3.0-4.el6ev.noarch > rhevm-cli-3.3.0.13-1.el6ev.noarch > rhevm-log-collector-3.3.1-5.el6ev.noarch > rhevm-dependencies-3.3.5-1.el6ev.noarch > rhevm-spice-client-x64-msi-3.3-8.el6_5.noarch > rhevm-tools-3.3.0-0.46.el6ev.noarch > rhevm-sdk-python-3.3.0.21-1.el6ev.noarch > rhevm-iso-uploader-3.3.0-2.el6ev.noarch > rhevm-websocket-proxy-3.3.0-0.46.el6ev.noarch > rhevm-backend-3.3.0-0.46.el6ev.noarch > rhevm-spice-client-x64-cab-3.3-8.el6_5.noarch > rhevm-userportal-3.3.0-0.46.el6ev.noarch > rhevm-dwh-3.3.0-29.el6ev.noarch > rhevm-dbscripts-3.3.0-0.46.el6ev.noarch > rhevm-reports-3.3.0-28.el6ev.noarch > rhevm-sdk-java-1.0.0.29-0.1.el6ev.noarch > rhevm-doc-3.3.0-3.el6eng.noarch > rhevm-webadmin-portal-3.3.0-0.46.el6ev.noarch > rhevm-spice-client-x86-cab-3.3-8.el6_5.noarch >
Ok, you are using RHEV-M 3.3, that is correct, it has support for cloud-init. The only reason I can think of that prevents using the cloud-init options in 3.3 is that the operating system isn't defined as a Linux variant. Select the VM, click the "Edit" button and make sure to select a Linux operating system in the "Operating System" list. The closer to the actual operating system the better. Then try again "Run Once".
To avoid making this for every VM you create, you should do the change in the template as well.
By the way, please reply to the list, there may be other people interested in your same issue.
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
-- Thanks & Regards Tejesh
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

CDROM is attached, but it is mounting the default iso from ISO Domain. On Fri, Feb 14, 2014 at 6:54 PM, Juan Hernandez <jhernand@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 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 Hostname & Root Password, in the startup screen of VM, it show the error as attached screenshot.
The messages in that screen shot mean that cloud-init is trying to locate its configuration via the network instead of inside the CDROM. So this probably means that the CDROM isn't attached correctly to the VM. Please try to find the options of the qemu-kvm command as I described in a previous mail.
On Fri, Feb 14, 2014 at 5:09 PM, Juan Hernandez <jhernand@redhat.com <mailto:jhernand@redhat.com>> wrote:
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 > rhevm-3.3.0-0.46.el6ev.noarch > rhevm-sdk-java-javadoc-1.0.0.29-0.1.el6ev.noarch > rhevm-image-uploader-3.3.1-2.el6ev.noarch > rhevm-setup-plugins-3.3.0-4.el6ev.noarch > rhevm-cli-3.3.0.13-1.el6ev.noarch > rhevm-log-collector-3.3.1-5.el6ev.noarch > rhevm-dependencies-3.3.5-1.el6ev.noarch > rhevm-spice-client-x64-msi-3.3-8.el6_5.noarch > rhevm-tools-3.3.0-0.46.el6ev.noarch > rhevm-sdk-python-3.3.0.21-1.el6ev.noarch > rhevm-iso-uploader-3.3.0-2.el6ev.noarch > rhevm-websocket-proxy-3.3.0-0.46.el6ev.noarch > rhevm-backend-3.3.0-0.46.el6ev.noarch > rhevm-spice-client-x64-cab-3.3-8.el6_5.noarch > rhevm-userportal-3.3.0-0.46.el6ev.noarch > rhevm-dwh-3.3.0-29.el6ev.noarch > rhevm-dbscripts-3.3.0-0.46.el6ev.noarch > rhevm-reports-3.3.0-28.el6ev.noarch > rhevm-sdk-java-1.0.0.29-0.1.el6ev.noarch > rhevm-doc-3.3.0-3.el6eng.noarch > rhevm-webadmin-portal-3.3.0-0.46.el6ev.noarch > rhevm-spice-client-x86-cab-3.3-8.el6_5.noarch >
Ok, you are using RHEV-M 3.3, that is correct, it has support for cloud-init. The only reason I can think of that prevents using the cloud-init options in 3.3 is that the operating system isn't defined
as
a Linux variant. Select the VM, click the "Edit" button and make
sure to
select a Linux operating system in the "Operating System" list. The closer to the actual operating system the better. Then try again "Run Once".
To avoid making this for every VM you create, you should do the
change
in the template as well.
By the way, please reply to the list, there may be other people interested in your same issue.
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid - C.I.F. B82657941 - Red Hat S.L.
-- Thanks & Regards Tejesh
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid - C.I.F. B82657941 - Red Hat S.L.
-- Thanks & Regards Tejesh

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 VM you can just put the ISO domain in maintenance, just for testing this. What version of the hypervisor are you using?
On Fri, Feb 14, 2014 at 6:54 PM, Juan Hernandez <jhernand@redhat.com <mailto:jhernand@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 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 Hostname > & Root Password, in the startup screen of VM, it show the error as > attached screenshot. > >
The messages in that screen shot mean that cloud-init is trying to locate its configuration via the network instead of inside the CDROM. So this probably means that the CDROM isn't attached correctly to the VM. Please try to find the options of the qemu-kvm command as I described in a previous mail.
> > > On Fri, Feb 14, 2014 at 5:09 PM, Juan Hernandez <jhernand@redhat.com <mailto:jhernand@redhat.com> > <mailto:jhernand@redhat.com <mailto:jhernand@redhat.com>>> wrote: > > 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 > > rhevm-3.3.0-0.46.el6ev.noarch > > rhevm-sdk-java-javadoc-1.0.0.29-0.1.el6ev.noarch > > rhevm-image-uploader-3.3.1-2.el6ev.noarch > > rhevm-setup-plugins-3.3.0-4.el6ev.noarch > > rhevm-cli-3.3.0.13-1.el6ev.noarch > > rhevm-log-collector-3.3.1-5.el6ev.noarch > > rhevm-dependencies-3.3.5-1.el6ev.noarch > > rhevm-spice-client-x64-msi-3.3-8.el6_5.noarch > > rhevm-tools-3.3.0-0.46.el6ev.noarch > > rhevm-sdk-python-3.3.0.21-1.el6ev.noarch > > rhevm-iso-uploader-3.3.0-2.el6ev.noarch > > rhevm-websocket-proxy-3.3.0-0.46.el6ev.noarch > > rhevm-backend-3.3.0-0.46.el6ev.noarch > > rhevm-spice-client-x64-cab-3.3-8.el6_5.noarch > > rhevm-userportal-3.3.0-0.46.el6ev.noarch > > rhevm-dwh-3.3.0-29.el6ev.noarch > > rhevm-dbscripts-3.3.0-0.46.el6ev.noarch > > rhevm-reports-3.3.0-28.el6ev.noarch > > rhevm-sdk-java-1.0.0.29-0.1.el6ev.noarch > > rhevm-doc-3.3.0-3.el6eng.noarch > > rhevm-webadmin-portal-3.3.0-0.46.el6ev.noarch > > rhevm-spice-client-x86-cab-3.3-8.el6_5.noarch > > > > Ok, you are using RHEV-M 3.3, that is correct, it has support for > cloud-init. The only reason I can think of that prevents using the > cloud-init options in 3.3 is that the operating system isn't defined as > a Linux variant. Select the VM, click the "Edit" button and make sure to > select a Linux operating system in the "Operating System" list. The > closer to the actual operating system the better. Then try again > "Run Once". > > To avoid making this for every VM you create, you should do the change > in the template as well. > > By the way, please reply to the list, there may be other people > interested in your same issue. >
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

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 <jhernand@redhat.com> wrote:
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 VM you can just put the ISO domain in maintenance, just for testing this.
What version of the hypervisor are you using?
On Fri, Feb 14, 2014 at 6:54 PM, Juan Hernandez <jhernand@redhat.com <mailto:jhernand@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 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 Hostname > & Root Password, in the startup screen of VM, it show the error as > attached screenshot. > >
The messages in that screen shot mean that cloud-init is trying to locate its configuration via the network instead of inside the
CDROM. So
this probably means that the CDROM isn't attached correctly to the
VM.
Please try to find the options of the qemu-kvm command as I
described in
a previous mail.
> > > On Fri, Feb 14, 2014 at 5:09 PM, Juan Hernandez <jhernand@redhat.com <mailto:jhernand@redhat.com> > <mailto:jhernand@redhat.com <mailto:jhernand@redhat.com>>> wrote: > > 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 > > rhevm-3.3.0-0.46.el6ev.noarch > > rhevm-sdk-java-javadoc-1.0.0.29-0.1.el6ev.noarch > > rhevm-image-uploader-3.3.1-2.el6ev.noarch > > rhevm-setup-plugins-3.3.0-4.el6ev.noarch > > rhevm-cli-3.3.0.13-1.el6ev.noarch > > rhevm-log-collector-3.3.1-5.el6ev.noarch > > rhevm-dependencies-3.3.5-1.el6ev.noarch > > rhevm-spice-client-x64-msi-3.3-8.el6_5.noarch > > rhevm-tools-3.3.0-0.46.el6ev.noarch > > rhevm-sdk-python-3.3.0.21-1.el6ev.noarch > > rhevm-iso-uploader-3.3.0-2.el6ev.noarch > > rhevm-websocket-proxy-3.3.0-0.46.el6ev.noarch > > rhevm-backend-3.3.0-0.46.el6ev.noarch > > rhevm-spice-client-x64-cab-3.3-8.el6_5.noarch > > rhevm-userportal-3.3.0-0.46.el6ev.noarch > > rhevm-dwh-3.3.0-29.el6ev.noarch > > rhevm-dbscripts-3.3.0-0.46.el6ev.noarch > > rhevm-reports-3.3.0-28.el6ev.noarch > > rhevm-sdk-java-1.0.0.29-0.1.el6ev.noarch > > rhevm-doc-3.3.0-3.el6eng.noarch > > rhevm-webadmin-portal-3.3.0-0.46.el6ev.noarch > > rhevm-spice-client-x86-cab-3.3-8.el6_5.noarch > > > > Ok, you are using RHEV-M 3.3, that is correct, it has support
for
> cloud-init. The only reason I can think of that prevents using
the
> cloud-init options in 3.3 is that the operating system isn't defined as > a Linux variant. Select the VM, click the "Edit" button and make sure to > select a Linux operating system in the "Operating System" list. The > closer to the actual operating system the better. Then try
again
> "Run Once". > > To avoid making this for every VM you create, you should do the change > in the template as well. > > By the way, please reply to the list, there may be other people > interested in your same issue. >
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid - C.I.F. B82657941 - Red Hat S.L.
-- Thanks & Regards Tejesh

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 the command line of the qemu-kvm process created when you start the VM. We will also probably need to look at the VDSM log file. It is in the hypervisor, in /var/log/vdsm/vdsm.log.
On Fri, Feb 14, 2014 at 7:29 PM, Juan Hernandez <jhernand@redhat.com <mailto:jhernand@redhat.com>> wrote:
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 VM you can just put the ISO domain in maintenance, just for testing this.
What version of the hypervisor are you using?
> > On Fri, Feb 14, 2014 at 6:54 PM, Juan Hernandez <jhernand@redhat.com <mailto:jhernand@redhat.com> > <mailto:jhernand@redhat.com <mailto:jhernand@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 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 > Hostname > > & Root Password, in the startup screen of VM, it show the error as > > attached screenshot. > > > > > > The messages in that screen shot mean that cloud-init is trying to > locate its configuration via the network instead of inside the CDROM. So > this probably means that the CDROM isn't attached correctly to the VM. > Please try to find the options of the qemu-kvm command as I described in > a previous mail. > > > > > > > On Fri, Feb 14, 2014 at 5:09 PM, Juan Hernandez > <jhernand@redhat.com <mailto:jhernand@redhat.com> <mailto:jhernand@redhat.com <mailto:jhernand@redhat.com>> > > <mailto:jhernand@redhat.com <mailto:jhernand@redhat.com> <mailto:jhernand@redhat.com <mailto:jhernand@redhat.com>>>> wrote: > > > > 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 > > > rhevm-3.3.0-0.46.el6ev.noarch > > > rhevm-sdk-java-javadoc-1.0.0.29-0.1.el6ev.noarch > > > rhevm-image-uploader-3.3.1-2.el6ev.noarch > > > rhevm-setup-plugins-3.3.0-4.el6ev.noarch > > > rhevm-cli-3.3.0.13-1.el6ev.noarch > > > rhevm-log-collector-3.3.1-5.el6ev.noarch > > > rhevm-dependencies-3.3.5-1.el6ev.noarch > > > rhevm-spice-client-x64-msi-3.3-8.el6_5.noarch > > > rhevm-tools-3.3.0-0.46.el6ev.noarch > > > rhevm-sdk-python-3.3.0.21-1.el6ev.noarch > > > rhevm-iso-uploader-3.3.0-2.el6ev.noarch > > > rhevm-websocket-proxy-3.3.0-0.46.el6ev.noarch > > > rhevm-backend-3.3.0-0.46.el6ev.noarch > > > rhevm-spice-client-x64-cab-3.3-8.el6_5.noarch > > > rhevm-userportal-3.3.0-0.46.el6ev.noarch > > > rhevm-dwh-3.3.0-29.el6ev.noarch > > > rhevm-dbscripts-3.3.0-0.46.el6ev.noarch > > > rhevm-reports-3.3.0-28.el6ev.noarch > > > rhevm-sdk-java-1.0.0.29-0.1.el6ev.noarch > > > rhevm-doc-3.3.0-3.el6eng.noarch > > > rhevm-webadmin-portal-3.3.0-0.46.el6ev.noarch > > > rhevm-spice-client-x86-cab-3.3-8.el6_5.noarch > > > > > > > Ok, you are using RHEV-M 3.3, that is correct, it has support for > > cloud-init. The only reason I can think of that prevents using the > > cloud-init options in 3.3 is that the operating system isn't > defined as > > a Linux variant. Select the VM, click the "Edit" button and > make sure to > > select a Linux operating system in the "Operating System" > list. The > > closer to the actual operating system the better. Then try again > > "Run Once". > > > > To avoid making this for every VM you create, you should do > the change > > in the template as well. > > > > By the way, please reply to the list, there may be other people > > interested in your same issue. > >
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
-- Thanks & Regards Tejesh
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

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? sounds liek a bug? Tejesh - which version of cloud-init in the guest?

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 'other linux' doesn't have cloud-init? sounds liek a bug? This is version 3.3 and it suppose to enable cloud-init in 'other linux' (but not 'other os') The new version 3.4 have cloud-init for any os that is not windows ie including 'other-os' Tejesh - which version of cloud-init in the guest?

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 <iheim@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 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? sounds liek a bug? Tejesh - which version of cloud-init in the guest?
-- Thanks & Regards Tejesh

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 <iheim@redhat.com <mailto:iheim@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 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? sounds liek a bug? Tejesh - which version of cloud-init in the guest?
-- Thanks & Regards Tejesh

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 <iheim@redhat.com> wrote:
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 <iheim@redhat.com <mailto:iheim@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 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? sounds liek a bug? Tejesh - which version of cloud-init in the guest?
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh

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 17.02.14 18:25, Tejesh M wrote: try more then 8 characters with upper lower numbers and symbols :)
On Mon, Feb 17, 2014 at 11:50 AM, Itamar Heim <iheim@redhat.com> wrote:
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 <iheim@redhat.com <mailto:iheim@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 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? sounds liek a bug? Tejesh - which version of cloud-init in the guest?
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh

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 <shaharh@redhat.com> wrote:
Thanks.. thats solved the issue. but now when i try to login with
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 17.02.14 18:25, Tejesh M wrote: password try more then 8 characters with upper lower numbers and symbols :)
On Mon, Feb 17, 2014 at 11:50 AM, Itamar Heim <iheim@redhat.com> wrote:
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 <iheim@redhat.com <mailto:iheim@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 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? sounds liek a bug? Tejesh - which version of cloud-init in the guest?
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh

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 ovirt supports. but that's not cloud-init. iirc, there is some cloud-init compatibility package for windows
On Mon, Feb 17, 2014 at 7:42 PM, Shahar Havivi <shaharh@redhat.com <mailto:shaharh@redhat.com>> wrote:
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 lower numbers and symbols :) > > > > > On Mon, Feb 17, 2014 at 11:50 AM, Itamar Heim <iheim@redhat.com <mailto:iheim@redhat.com>> wrote: > > > 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 <iheim@redhat.com <mailto:iheim@redhat.com> > >> <mailto:iheim@redhat.com <mailto:iheim@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 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? sounds > >> liek a bug? > >> Tejesh - which version of cloud-init in the guest? > >> > >> > >> > >> > >> -- > >> Thanks & Regards > >> Tejesh > >> > > > > > > > -- > Thanks & Regards > Tejesh
-- Thanks & Regards Tejesh

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 <iheim@redhat.com> wrote:
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 ovirt supports. but that's not cloud-init. iirc, there is some cloud-init compatibility package for windows
On Mon, Feb 17, 2014 at 7:42 PM, Shahar Havivi <shaharh@redhat.com <mailto:shaharh@redhat.com>> wrote:
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 lower numbers and symbols :) > > > > > On Mon, Feb 17, 2014 at 11:50 AM, Itamar Heim <iheim@redhat.com <mailto:iheim@redhat.com>> wrote: > > > 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 <iheim@redhat.com <mailto:iheim@redhat.com> > >> <mailto:iheim@redhat.com <mailto:iheim@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 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? sounds > >> liek a bug? > >> Tejesh - which version of cloud-init in the guest? > >> > >> > >> > >> > >> -- > >> Thanks & Regards > >> Tejesh > >> > > > > > > > -- > Thanks & Regards > Tejesh
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh

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 see the credentials under the "Initial Run".
On Tue, Feb 18, 2014 at 1:01 PM, Itamar Heim <iheim@redhat.com> wrote:
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 ovirt supports. but that's not cloud-init. iirc, there is some cloud-init compatibility package for windows
On Mon, Feb 17, 2014 at 7:42 PM, Shahar Havivi <shaharh@redhat.com <mailto:shaharh@redhat.com>> wrote:
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 lower numbers and symbols :) > > > > > On Mon, Feb 17, 2014 at 11:50 AM, Itamar Heim <iheim@redhat.com <mailto:iheim@redhat.com>> wrote: > > > 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 <iheim@redhat.com <mailto:iheim@redhat.com> > >> <mailto:iheim@redhat.com <mailto:iheim@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 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? sounds > >> liek a bug? > >> Tejesh - which version of cloud-init in the guest? > >> > >> > >> > >> > >> -- > >> Thanks & Regards > >> Tejesh > >> > > > > > > > -- > Thanks & Regards > Tejesh
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh

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 <shaharh@redhat.com> wrote:
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 see the credentials under the "Initial Run".
On Tue, Feb 18, 2014 at 1:01 PM, Itamar Heim <iheim@redhat.com> wrote:
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 ovirt supports. but that's not cloud-init. iirc, there is some cloud-init compatibility package for windows
On Mon, Feb 17, 2014 at 7:42 PM, Shahar Havivi <shaharh@redhat.com <mailto:shaharh@redhat.com>> wrote:
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 lower numbers and symbols :) > > > > > On Mon, Feb 17, 2014 at 11:50 AM, Itamar Heim <
iheim@redhat.com
<mailto:iheim@redhat.com>> wrote: > > > 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 <
iheim@redhat.com
<mailto:iheim@redhat.com> > >> <mailto:iheim@redhat.com <mailto:iheim@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
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?
sounds > >> liek a bug? > >> Tejesh - which version of cloud-init in the guest? > >> > >> > >> > >> > >> -- > >> Thanks & Regards > >> Tejesh > >> > > > > > > > -- > Thanks & Regards > Tejesh
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh

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 <shaharh@redhat.com> wrote:
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 see the credentials under the "Initial Run".
On Tue, Feb 18, 2014 at 1:01 PM, Itamar Heim <iheim@redhat.com> wrote:
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 ovirt supports. but that's not cloud-init. iirc, there is some cloud-init compatibility package for windows
On Mon, Feb 17, 2014 at 7:42 PM, Shahar Havivi <shaharh@redhat.com <mailto:shaharh@redhat.com>> wrote:
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 lower numbers and symbols :) > > > > > On Mon, Feb 17, 2014 at 11:50 AM, Itamar Heim <
iheim@redhat.com
<mailto:iheim@redhat.com>> wrote: > > > 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 <
iheim@redhat.com
<mailto:iheim@redhat.com> > >> <mailto:iheim@redhat.com <mailto:iheim@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
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?
sounds > >> liek a bug? > >> Tejesh - which version of cloud-init in the guest? > >> > >> > >> > >> > >> -- > >> Thanks & Regards > >> Tejesh > >> > > > > > > > -- > Thanks & Regards > Tejesh
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh

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 <shaharh@redhat.com> wrote:
Yes, I tried that, it asks for Domain Name and Username & Password for
On 18.02.14 17:27, Tejesh M wrote: 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 <shaharh@redhat.com>
wrote:
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 see the credentials under the "Initial Run".
On Tue, Feb 18, 2014 at 1:01 PM, Itamar Heim <iheim@redhat.com>
wrote:
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 ovirt supports. but that's not cloud-init. iirc, there is some cloud-init compatibility package for windows
On Mon, Feb 17, 2014 at 7:42 PM, Shahar Havivi <
shaharh@redhat.com
<mailto:shaharh@redhat.com>> wrote:
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 lower numbers and symbols :) > > > > > On Mon, Feb 17, 2014 at 11:50 AM, Itamar Heim < iheim@redhat.com <mailto:iheim@redhat.com>> wrote: > > > 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 < iheim@redhat.com <mailto:iheim@redhat.com> > >> <mailto:iheim@redhat.com <mailto:iheim@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 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? sounds > >> liek a bug? > >> Tejesh - which version of cloud-init in the guest? > >> > >> > >> > >> > >> -- > >> Thanks & Regards > >> Tejesh > >> > > > > > > > -- > Thanks & Regards > Tejesh
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh

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
On 18.02.14 17:56, Tejesh M wrote: the body: do a PUT method to: http://[HOST]:[PORT]/api/vms/[VM-GUID]/start The body of the method: <action> <vm> <domain> <user_name>.. </user_name> <password>... </password> </domain> </vm> </action> This is suppose to be the equivalent to to RunOnce For more fields and option look at the rsdl file: http://[HOST]:[PORT]/api?rsdl
On Tue, Feb 18, 2014 at 5:45 PM, Shahar Havivi <shaharh@redhat.com> wrote:
Yes, I tried that, it asks for Domain Name and Username & Password for
On 18.02.14 17:27, Tejesh M wrote: 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 <shaharh@redhat.com>
wrote:
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 see the credentials under the "Initial Run".
On Tue, Feb 18, 2014 at 1:01 PM, Itamar Heim <iheim@redhat.com>
wrote:
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 ovirt supports. but that's not cloud-init. iirc, there is some cloud-init compatibility package for windows
> > > > On Mon, Feb 17, 2014 at 7:42 PM, Shahar Havivi < shaharh@redhat.com > <mailto:shaharh@redhat.com>> wrote: > > 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 lower numbers and symbols :) > > > > > > > > > > On Mon, Feb 17, 2014 at 11:50 AM, Itamar Heim < iheim@redhat.com > <mailto:iheim@redhat.com>> wrote: > > > > > 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 < iheim@redhat.com > <mailto:iheim@redhat.com> > > >> <mailto:iheim@redhat.com <mailto:iheim@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 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? > sounds > > >> liek a bug? > > >> Tejesh - which version of cloud-init in the guest? > > >> > > >> > > >> > > >> > > >> -- > > >> Thanks & Regards > > >> Tejesh > > >> > > > > > > > > > > > > -- > > Thanks & Regards > > Tejesh > > > > > -- > Thanks & Regards > Tejesh >
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh

On 02/18/2014 04:55 PM, Shahar Havivi 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
On 18.02.14 17:56, Tejesh M wrote: the body: do a PUT method to: http://[HOST]:[PORT]/api/vms/[VM-GUID]/start
The body of the method: <action> <vm> <domain> <user_name>.. </user_name> <password>... </password> </domain> </vm> </action>
that's for the user/password to join the domain, not to set the admin password of the machine. Tejesh - you can set this password for all machines via the config though. but for per-machine, you'd need to: 1. open an RFE. 2. workaround: pass the entire syspref.inf file as a floppy payload (hmmm, i can't remember if we support floppy payload or not)
This is suppose to be the equivalent to to RunOnce For more fields and option look at the rsdl file: http://[HOST]:[PORT]/api?rsdl
On Tue, Feb 18, 2014 at 5:45 PM, Shahar Havivi <shaharh@redhat.com> wrote:
Yes, I tried that, it asks for Domain Name and Username & Password for
On 18.02.14 17:27, Tejesh M wrote: 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 <shaharh@redhat.com>
wrote:
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 see the credentials under the "Initial Run".
On Tue, Feb 18, 2014 at 1:01 PM, Itamar Heim <iheim@redhat.com>
wrote:
> 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 ovirt supports. > but that's not cloud-init. > iirc, there is some cloud-init compatibility package for windows > > >> >> >> >> On Mon, Feb 17, 2014 at 7:42 PM, Shahar Havivi < shaharh@redhat.com >> <mailto:shaharh@redhat.com>> wrote: >> >> 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 lower numbers and symbols :) >> > >> > >> > >> > >> > On Mon, Feb 17, 2014 at 11:50 AM, Itamar Heim < iheim@redhat.com >> <mailto:iheim@redhat.com>> wrote: >> > >> > > 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 < iheim@redhat.com >> <mailto:iheim@redhat.com> >> > >> <mailto:iheim@redhat.com <mailto:iheim@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 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? >> sounds >> > >> liek a bug? >> > >> Tejesh - which version of cloud-init in the guest? >> > >> >> > >> >> > >> >> > >> >> > >> -- >> > >> Thanks & Regards >> > >> Tejesh >> > >> >> > > >> > > >> > >> > >> > -- >> > Thanks & Regards >> > Tejesh >> >> >> >> >> -- >> Thanks & Regards >> Tejesh >> > >
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh
-- Thanks & Regards Tejesh
participants (4)
-
Itamar Heim
-
Juan Hernandez
-
Shahar Havivi
-
Tejesh M