Cloud Instance Manager only sets password after reboot on Windows 2012 R2

2015-06-02 Thread Jeff Hair
Hi,

We're building a Windows 2012 template on KVM. It works fine except that it
only sets the password for the VM after rebooting it once. When the machine
first starts up, there is garbled output in the Cloud Instance Manager
logs. For example "Added DHCP server: i#x"

After rebooting the machine, Cloud Instance Manager works and the password
is set.

Also on the first boot it is trying to auto-login but failing with the
wrong password, if that helps.

Any ideas?

Thanks,

Jeff


RE: Cloud Instance Manager only sets password after reboot on Windows 2012 R2

2015-06-02 Thread Vadim Kimlaychuk
Hello Jeff,

Actually to reset password you need to power-off VM first. Then after 
start-up it picks up new password from VR.  
   If you create VM from password-enabled template then you should 
get it immediately upon VM start-up. 

Whether Windows have to log-in automatically or not -- depends on 
windows OS settings. This issue seems does not belong to Cloudstack or KVM 
hypervisor. Check your template OS.

I don't see any problems related to CS  here. 

Vadim.

-Original Message-
From: Jeff Hair [mailto:j...@greenqloud.com] 
Sent: Tuesday, June 02, 2015 12:57 PM
To: users@cloudstack.apache.org
Subject: Cloud Instance Manager only sets password after reboot on Windows 2012 
R2

Hi,

We're building a Windows 2012 template on KVM. It works fine except that it 
only sets the password for the VM after rebooting it once. When the machine 
first starts up, there is garbled output in the Cloud Instance Manager logs. 
For example "Added DHCP server: i#x"

After rebooting the machine, Cloud Instance Manager works and the password is 
set.

Also on the first boot it is trying to auto-login but failing with the wrong 
password, if that helps.

Any ideas?

Thanks,

Jeff


Re: Cloud Instance Manager only sets password after reboot on Windows 2012 R2

2015-06-02 Thread Jeff Hair
Hi,

This is specifically for when the VM first starts up. Don't think it is
specifically a CloudStack problem, it's more of a question about how to
properly configure the Cloud Instance Manager. Basically when the machine
first starts up, it tries to auto-login (despite no registry setting for
that), but fails due to invalid password. The password to log in is the
default password from when I created the template. Cloud Instance Manager
has the garbled output I described in the first post. If I reboot the
machine, it starts up and Cloud Instance Manager works fine, and thus I can
log in with the CloudStack-set password.

On Tue, Jun 2, 2015 at 10:11 AM, Vadim Kimlaychuk  wrote:

> Hello Jeff,
>
> Actually to reset password you need to power-off VM first. Then
> after start-up it picks up new password from VR.
>If you create VM from password-enabled template then you
> should get it immediately upon VM start-up.
>
> Whether Windows have to log-in automatically or not -- depends on
> windows OS settings. This issue seems does not belong to Cloudstack or KVM
> hypervisor. Check your template OS.
>
> I don't see any problems related to CS  here.
>
> Vadim.
>
> -Original Message-
> From: Jeff Hair [mailto:j...@greenqloud.com]
> Sent: Tuesday, June 02, 2015 12:57 PM
> To: users@cloudstack.apache.org
> Subject: Cloud Instance Manager only sets password after reboot on Windows
> 2012 R2
>
> Hi,
>
> We're building a Windows 2012 template on KVM. It works fine except that
> it only sets the password for the VM after rebooting it once. When the
> machine first starts up, there is garbled output in the Cloud Instance
> Manager logs. For example "Added DHCP server: i#x"
>
> After rebooting the machine, Cloud Instance Manager works and the password
> is set.
>
> Also on the first boot it is trying to auto-login but failing with the
> wrong password, if that helps.
>
> Any ideas?
>
> Thanks,
>
> Jeff
>



-- 
*Jeff Hair*
Core Systems Developer

Tel: (+354) 415 0200
j...@greenqloud.com
www.greenqloud.com


RE: Cloud Instance Manager only sets password after reboot on Windows 2012 R2

2015-06-02 Thread Vadim Kimlaychuk
Jeff,

Try to reset password for existing VM. Will it take 2 reboots?   
There is may be a problem with Cloud Instance Manager. It is quite old 
- as I have checked at 
http://sourceforge.net/projects/cloudstack/files/Password%20Management%20Scripts/
  it is almost 4 years old. 

Vadim.

-Original Message-
From: Jeff Hair [mailto:j...@greenqloud.com] 
Sent: Tuesday, June 02, 2015 1:15 PM
To: users@cloudstack.apache.org
Subject: Re: Cloud Instance Manager only sets password after reboot on Windows 
2012 R2

Hi,

This is specifically for when the VM first starts up. Don't think it is 
specifically a CloudStack problem, it's more of a question about how to 
properly configure the Cloud Instance Manager. Basically when the machine first 
starts up, it tries to auto-login (despite no registry setting for that), but 
fails due to invalid password. The password to log in is the default password 
from when I created the template. Cloud Instance Manager has the garbled output 
I described in the first post. If I reboot the machine, it starts up and Cloud 
Instance Manager works fine, and thus I can log in with the CloudStack-set 
password.

On Tue, Jun 2, 2015 at 10:11 AM, Vadim Kimlaychuk  wrote:

> Hello Jeff,
>
> Actually to reset password you need to power-off VM first. 
> Then after start-up it picks up new password from VR.
>If you create VM from password-enabled template then 
> you should get it immediately upon VM start-up.
>
> Whether Windows have to log-in automatically or not -- depends 
> on windows OS settings. This issue seems does not belong to Cloudstack 
> or KVM hypervisor. Check your template OS.
>
> I don't see any problems related to CS  here.
>
> Vadim.
>
> -Original Message-
> From: Jeff Hair [mailto:j...@greenqloud.com]
> Sent: Tuesday, June 02, 2015 12:57 PM
> To: users@cloudstack.apache.org
> Subject: Cloud Instance Manager only sets password after reboot on 
> Windows
> 2012 R2
>
> Hi,
>
> We're building a Windows 2012 template on KVM. It works fine except 
> that it only sets the password for the VM after rebooting it once. 
> When the machine first starts up, there is garbled output in the Cloud 
> Instance Manager logs. For example "Added DHCP server: i#x"
>
> After rebooting the machine, Cloud Instance Manager works and the 
> password is set.
>
> Also on the first boot it is trying to auto-login but failing with the 
> wrong password, if that helps.
>
> Any ideas?
>
> Thanks,
>
> Jeff
>



--
*Jeff Hair*
Core Systems Developer

Tel: (+354) 415 0200
j...@greenqloud.com
www.greenqloud.com


RE: Cloud Instance Manager only sets password after reboot on Windows 2012 R2

2015-06-02 Thread Timothy Lothering
Hi Jeff,

I have seen a similar issue whereby new VMs from Template (Windows 2012 & 2012 
R2) do not have their passwords reset upon first time boot. I have not had any 
luck in getting it to work. Any advice here is highly appreciated.

Regards,

-Original Message-
From: Jeff Hair [mailto:j...@greenqloud.com] 
Sent: 02 June 2015 12:15 PM
To: users@cloudstack.apache.org
Subject: Re: Cloud Instance Manager only sets password after reboot on Windows 
2012 R2

Hi,

This is specifically for when the VM first starts up. Don't think it is 
specifically a CloudStack problem, it's more of a question about how to 
properly configure the Cloud Instance Manager. Basically when the machine first 
starts up, it tries to auto-login (despite no registry setting for that), but 
fails due to invalid password. The password to log in is the default password 
from when I created the template. Cloud Instance Manager has the garbled output 
I described in the first post. If I reboot the machine, it starts up and Cloud 
Instance Manager works fine, and thus I can log in with the CloudStack-set 
password.

On Tue, Jun 2, 2015 at 10:11 AM, Vadim Kimlaychuk  wrote:

> Hello Jeff,
>
> Actually to reset password you need to power-off VM first. 
> Then after start-up it picks up new password from VR.
>If you create VM from password-enabled template then 
> you should get it immediately upon VM start-up.
>
> Whether Windows have to log-in automatically or not -- depends 
> on windows OS settings. This issue seems does not belong to Cloudstack 
> or KVM hypervisor. Check your template OS.
>
> I don't see any problems related to CS  here.
>
> Vadim.
>
> -Original Message-
> From: Jeff Hair [mailto:j...@greenqloud.com]
> Sent: Tuesday, June 02, 2015 12:57 PM
> To: users@cloudstack.apache.org
> Subject: Cloud Instance Manager only sets password after reboot on 
> Windows
> 2012 R2
>
> Hi,
>
> We're building a Windows 2012 template on KVM. It works fine except 
> that it only sets the password for the VM after rebooting it once. 
> When the machine first starts up, there is garbled output in the Cloud 
> Instance Manager logs. For example "Added DHCP server: i#x"
>
> After rebooting the machine, Cloud Instance Manager works and the 
> password is set.
>
> Also on the first boot it is trying to auto-login but failing with the 
> wrong password, if that helps.
>
> Any ideas?
>
> Thanks,
>
> Jeff
>



--
*Jeff Hair*
Core Systems Developer

Tel: (+354) 415 0200
j...@greenqloud.com
www.greenqloud.com
Timothy Lothering
Solutions Architect
Managed Services

T: +27877415535
F: +27877415100
C: +27824904099
E: tlother...@datacentrix.co.za


DISCLAIMER NOTICE: 

Everything in this e-mail and any attachments relating to the official business 
of Datacentrix Holdings Ltd. and its subsidiaries 
('Datacentrix') is proprietary to Datacentrix. It is confidential, legally 
privileged and protected by law. Datacentrix does not 
own and endorse any other content. Views and opinions are those of the sender 
unless clearly stated as being that of Datacentrix. 
The person addressed in the e-mail is the sole authorised recipient. Please 
notify the sender immediately if it has unintentionally 
reached you and do not read, disclose or use the content in any way. 
Datacentrix cannot assure that the integrity of this communication 
has been maintained nor that it is free of errors, virus, interception or 
interference.


Re: Cloud Instance Manager only sets password after reboot on Windows 2012 R2

2015-06-02 Thread Andrija Panic
"We're building a Windows 2012 template on KVM. It works fine except that it
only sets the password for the VM after rebooting it once."

we observed this behaviour with 4.3.1/2 because when you check inside VR,
there is file /var/cache/cloud/passwords that should indicate that the
IP=password line is not present during VM boot (or at least that is the
behaviour we saw).
Meaning VR is late with password provisioning inside this file so VM doesnt
get to fetch it during first time boot...

But if you reboot the instance, in the meantime the line with IP=password
is provisioned, so simpe reboot works fine.

If instead reboot, you shutodnw VM, reset pass again, you will not be able
to fetch it again - so reseting pass is simly not the solution.

Simple VM reboot will fetch pass...


On 2 June 2015 at 12:21, Vadim Kimlaychuk  wrote:

> Jeff,
>
> Try to reset password for existing VM. Will it take 2 reboots?
> There is may be a problem with Cloud Instance Manager. It is quite
> old - as I have checked at
> http://sourceforge.net/projects/cloudstack/files/Password%20Management%20Scripts/
> it is almost 4 years old.
>
> Vadim.
>
> -Original Message-
> From: Jeff Hair [mailto:j...@greenqloud.com]
> Sent: Tuesday, June 02, 2015 1:15 PM
> To: users@cloudstack.apache.org
> Subject: Re: Cloud Instance Manager only sets password after reboot on
> Windows 2012 R2
>
> Hi,
>
> This is specifically for when the VM first starts up. Don't think it is
> specifically a CloudStack problem, it's more of a question about how to
> properly configure the Cloud Instance Manager. Basically when the machine
> first starts up, it tries to auto-login (despite no registry setting for
> that), but fails due to invalid password. The password to log in is the
> default password from when I created the template. Cloud Instance Manager
> has the garbled output I described in the first post. If I reboot the
> machine, it starts up and Cloud Instance Manager works fine, and thus I can
> log in with the CloudStack-set password.
>
> On Tue, Jun 2, 2015 at 10:11 AM, Vadim Kimlaychuk <
> vadim.kimlayc...@elion.ee
> > wrote:
>
> > Hello Jeff,
> >
> > Actually to reset password you need to power-off VM first.
> > Then after start-up it picks up new password from VR.
> >If you create VM from password-enabled template then
> > you should get it immediately upon VM start-up.
> >
> > Whether Windows have to log-in automatically or not -- depends
> > on windows OS settings. This issue seems does not belong to Cloudstack
> > or KVM hypervisor. Check your template OS.
> >
> > I don't see any problems related to CS  here.
> >
> > Vadim.
> >
> > -Original Message-
> > From: Jeff Hair [mailto:j...@greenqloud.com]
> > Sent: Tuesday, June 02, 2015 12:57 PM
> > To: users@cloudstack.apache.org
> > Subject: Cloud Instance Manager only sets password after reboot on
> > Windows
> > 2012 R2
> >
> > Hi,
> >
> > We're building a Windows 2012 template on KVM. It works fine except
> > that it only sets the password for the VM after rebooting it once.
> > When the machine first starts up, there is garbled output in the Cloud
> > Instance Manager logs. For example "Added DHCP server: i#x"
> >
> > After rebooting the machine, Cloud Instance Manager works and the
> > password is set.
> >
> > Also on the first boot it is trying to auto-login but failing with the
> > wrong password, if that helps.
> >
> > Any ideas?
> >
> > Thanks,
> >
> > Jeff
> >
>
>
>
> --
> *Jeff Hair*
> Core Systems Developer
>
> Tel: (+354) 415 0200
> j...@greenqloud.com
> www.greenqloud.com
>



-- 

Andrija Panić


Re: Cloud Instance Manager only sets password after reboot on Windows 2012 R2

2015-06-02 Thread Jeff Hair
Hi,

We confirmed that the IP=password line is in the router at the time of the
machine starting up.

On Tue, Jun 2, 2015 at 10:37 AM, Andrija Panic 
wrote:

> "We're building a Windows 2012 template on KVM. It works fine except that
> it
> only sets the password for the VM after rebooting it once."
>
> we observed this behaviour with 4.3.1/2 because when you check inside VR,
> there is file /var/cache/cloud/passwords that should indicate that the
> IP=password line is not present during VM boot (or at least that is the
> behaviour we saw).
> Meaning VR is late with password provisioning inside this file so VM doesnt
> get to fetch it during first time boot...
>
> But if you reboot the instance, in the meantime the line with IP=password
> is provisioned, so simpe reboot works fine.
>
> If instead reboot, you shutodnw VM, reset pass again, you will not be able
> to fetch it again - so reseting pass is simly not the solution.
>
> Simple VM reboot will fetch pass...
>
>
> On 2 June 2015 at 12:21, Vadim Kimlaychuk 
> wrote:
>
> > Jeff,
> >
> > Try to reset password for existing VM. Will it take 2 reboots?
> > There is may be a problem with Cloud Instance Manager. It is
> quite
> > old - as I have checked at
> >
> http://sourceforge.net/projects/cloudstack/files/Password%20Management%20Scripts/
> > it is almost 4 years old.
> >
> > Vadim.
> >
> > -Original Message-
> > From: Jeff Hair [mailto:j...@greenqloud.com]
> > Sent: Tuesday, June 02, 2015 1:15 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: Cloud Instance Manager only sets password after reboot on
> > Windows 2012 R2
> >
> > Hi,
> >
> > This is specifically for when the VM first starts up. Don't think it is
> > specifically a CloudStack problem, it's more of a question about how to
> > properly configure the Cloud Instance Manager. Basically when the machine
> > first starts up, it tries to auto-login (despite no registry setting for
> > that), but fails due to invalid password. The password to log in is the
> > default password from when I created the template. Cloud Instance Manager
> > has the garbled output I described in the first post. If I reboot the
> > machine, it starts up and Cloud Instance Manager works fine, and thus I
> can
> > log in with the CloudStack-set password.
> >
> > On Tue, Jun 2, 2015 at 10:11 AM, Vadim Kimlaychuk <
> > vadim.kimlayc...@elion.ee
> > > wrote:
> >
> > > Hello Jeff,
> > >
> > > Actually to reset password you need to power-off VM first.
> > > Then after start-up it picks up new password from VR.
> > >If you create VM from password-enabled template then
> > > you should get it immediately upon VM start-up.
> > >
> > > Whether Windows have to log-in automatically or not -- depends
> > > on windows OS settings. This issue seems does not belong to Cloudstack
> > > or KVM hypervisor. Check your template OS.
> > >
> > > I don't see any problems related to CS  here.
> > >
> > > Vadim.
> > >
> > > -Original Message-
> > > From: Jeff Hair [mailto:j...@greenqloud.com]
> > > Sent: Tuesday, June 02, 2015 12:57 PM
> > > To: users@cloudstack.apache.org
> > > Subject: Cloud Instance Manager only sets password after reboot on
> > > Windows
> > > 2012 R2
> > >
> > > Hi,
> > >
> > > We're building a Windows 2012 template on KVM. It works fine except
> > > that it only sets the password for the VM after rebooting it once.
> > > When the machine first starts up, there is garbled output in the Cloud
> > > Instance Manager logs. For example "Added DHCP server: i#x"
> > >
> > > After rebooting the machine, Cloud Instance Manager works and the
> > > password is set.
> > >
> > > Also on the first boot it is trying to auto-login but failing with the
> > > wrong password, if that helps.
> > >
> > > Any ideas?
> > >
> > > Thanks,
> > >
> > > Jeff
> > >
> >
> >
> >
> > --
> > *Jeff Hair*
> > Core Systems Developer
> >
> > Tel: (+354) 415 0200
> > j...@greenqloud.com
> > www.greenqloud.com
> >
>
>
>
> --
>
> Andrija Panić
>



-- 
*Jeff Hair*
Core Systems Developer

Tel: (+354) 415 0200
j...@greenqloud.com
www.greenqloud.com


Re: Cloud Instance Manager only sets password after reboot on Windows 2012 R2

2015-06-02 Thread Nux!
If you VM tries to autologin, then I would check the sysprep/xml it was built 
from, at least that is one of the places where this can be set.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Jeff Hair" 
> To: users@cloudstack.apache.org
> Sent: Tuesday, 2 June, 2015 11:15:23
> Subject: Re: Cloud Instance Manager only sets password after reboot on 
> Windows 2012 R2

> Hi,
> 
> This is specifically for when the VM first starts up. Don't think it is
> specifically a CloudStack problem, it's more of a question about how to
> properly configure the Cloud Instance Manager. Basically when the machine
> first starts up, it tries to auto-login (despite no registry setting for
> that), but fails due to invalid password. The password to log in is the
> default password from when I created the template. Cloud Instance Manager
> has the garbled output I described in the first post. If I reboot the
> machine, it starts up and Cloud Instance Manager works fine, and thus I can
> log in with the CloudStack-set password.
> 
> On Tue, Jun 2, 2015 at 10:11 AM, Vadim Kimlaychuk > wrote:
> 
>> Hello Jeff,
>>
>> Actually to reset password you need to power-off VM first. Then
>> after start-up it picks up new password from VR.
>>If you create VM from password-enabled template then you
>> should get it immediately upon VM start-up.
>>
>> Whether Windows have to log-in automatically or not -- depends on
>> windows OS settings. This issue seems does not belong to Cloudstack or KVM
>> hypervisor. Check your template OS.
>>
>> I don't see any problems related to CS  here.
>>
>> Vadim.
>>
>> -Original Message-----
>> From: Jeff Hair [mailto:j...@greenqloud.com]
>> Sent: Tuesday, June 02, 2015 12:57 PM
>> To: users@cloudstack.apache.org
>> Subject: Cloud Instance Manager only sets password after reboot on Windows
>> 2012 R2
>>
>> Hi,
>>
>> We're building a Windows 2012 template on KVM. It works fine except that
>> it only sets the password for the VM after rebooting it once. When the
>> machine first starts up, there is garbled output in the Cloud Instance
>> Manager logs. For example "Added DHCP server: i#x"
>>
>> After rebooting the machine, Cloud Instance Manager works and the password
>> is set.
>>
>> Also on the first boot it is trying to auto-login but failing with the
>> wrong password, if that helps.
>>
>> Any ideas?
>>
>> Thanks,
>>
>> Jeff
>>
> 
> 
> 
> --
> *Jeff Hair*
> Core Systems Developer
> 
> Tel: (+354) 415 0200
> j...@greenqloud.com
> www.greenqloud.com


Re: Cloud Instance Manager only sets password after reboot on Windows 2012 R2

2015-06-02 Thread Jeff Hair
Found an Autologin in an auto-unattended XML file that does indeed have
credentials that don't match what is in the packer JSON file. We will
change that and see if it fixes the auto login problem. Maybe by extension
it will also fix our main problem.

Thanks.

On Tue, Jun 2, 2015 at 12:06 PM, Nux!  wrote:

> If you VM tries to autologin, then I would check the sysprep/xml it was
> built from, at least that is one of the places where this can be set.
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
> > From: "Jeff Hair" 
> > To: users@cloudstack.apache.org
> > Sent: Tuesday, 2 June, 2015 11:15:23
> > Subject: Re: Cloud Instance Manager only sets password after reboot on
> Windows 2012 R2
>
> > Hi,
> >
> > This is specifically for when the VM first starts up. Don't think it is
> > specifically a CloudStack problem, it's more of a question about how to
> > properly configure the Cloud Instance Manager. Basically when the machine
> > first starts up, it tries to auto-login (despite no registry setting for
> > that), but fails due to invalid password. The password to log in is the
> > default password from when I created the template. Cloud Instance Manager
> > has the garbled output I described in the first post. If I reboot the
> > machine, it starts up and Cloud Instance Manager works fine, and thus I
> can
> > log in with the CloudStack-set password.
> >
> > On Tue, Jun 2, 2015 at 10:11 AM, Vadim Kimlaychuk <
> vadim.kimlayc...@elion.ee
> >> wrote:
> >
> >> Hello Jeff,
> >>
> >> Actually to reset password you need to power-off VM first. Then
> >> after start-up it picks up new password from VR.
> >>If you create VM from password-enabled template then you
> >> should get it immediately upon VM start-up.
> >>
> >> Whether Windows have to log-in automatically or not -- depends
> on
> >> windows OS settings. This issue seems does not belong to Cloudstack or
> KVM
> >> hypervisor. Check your template OS.
> >>
> >>     I don't see any problems related to CS  here.
> >>
> >> Vadim.
> >>
> >> -Original Message-
> >> From: Jeff Hair [mailto:j...@greenqloud.com]
> >> Sent: Tuesday, June 02, 2015 12:57 PM
> >> To: users@cloudstack.apache.org
> >> Subject: Cloud Instance Manager only sets password after reboot on
> Windows
> >> 2012 R2
> >>
> >> Hi,
> >>
> >> We're building a Windows 2012 template on KVM. It works fine except that
> >> it only sets the password for the VM after rebooting it once. When the
> >> machine first starts up, there is garbled output in the Cloud Instance
> >> Manager logs. For example "Added DHCP server: i#x"
> >>
> >> After rebooting the machine, Cloud Instance Manager works and the
> password
> >> is set.
> >>
> >> Also on the first boot it is trying to auto-login but failing with the
> >> wrong password, if that helps.
> >>
> >> Any ideas?
> >>
> >> Thanks,
> >>
> >> Jeff
> >>
> >
> >
> >
> > --
> > *Jeff Hair*
> > Core Systems Developer
> >
> > Tel: (+354) 415 0200
> > j...@greenqloud.com
> > www.greenqloud.com
>



-- 
*Jeff Hair*
Core Systems Developer

Tel: (+354) 415 0200
j...@greenqloud.com
www.greenqloud.com


Re: Cloud Instance Manager only sets password after reboot on Windows 2012 R2

2015-06-30 Thread Jeff Hair
For people who have been wondering about this, we did get the template
working. Our solution was to restart the machine one time after it boots
the first time. It's not elegant, but it works. The KVM Windows template
can be found here:
https://github.com/greenqloud/packer/tree/master/soffi-windows-2012-standard-r2

The files of note:
 - scripts/cloudstack bat
 - files/cloud-instance-manager.reg

The default password for the machine is Password123 in the beginning, but
restarting will trigger the cloud instance manager and the password update.

On Tue, Jun 2, 2015 at 10:26 AM, Timothy Lothering <
tlother...@datacentrix.co.za> wrote:

> Hi Jeff,
>
> I have seen a similar issue whereby new VMs from Template (Windows 2012 &
> 2012 R2) do not have their passwords reset upon first time boot. I have not
> had any luck in getting it to work. Any advice here is highly appreciated.
>
> Regards,
>
> -Original Message-
> From: Jeff Hair [mailto:j...@greenqloud.com]
> Sent: 02 June 2015 12:15 PM
> To: users@cloudstack.apache.org
> Subject: Re: Cloud Instance Manager only sets password after reboot on
> Windows 2012 R2
>
> Hi,
>
> This is specifically for when the VM first starts up. Don't think it is
> specifically a CloudStack problem, it's more of a question about how to
> properly configure the Cloud Instance Manager. Basically when the machine
> first starts up, it tries to auto-login (despite no registry setting for
> that), but fails due to invalid password. The password to log in is the
> default password from when I created the template. Cloud Instance Manager
> has the garbled output I described in the first post. If I reboot the
> machine, it starts up and Cloud Instance Manager works fine, and thus I can
> log in with the CloudStack-set password.
>
> On Tue, Jun 2, 2015 at 10:11 AM, Vadim Kimlaychuk <
> vadim.kimlayc...@elion.ee
> > wrote:
>
> > Hello Jeff,
> >
> > Actually to reset password you need to power-off VM first.
> > Then after start-up it picks up new password from VR.
> >If you create VM from password-enabled template then
> > you should get it immediately upon VM start-up.
> >
> > Whether Windows have to log-in automatically or not -- depends
> > on windows OS settings. This issue seems does not belong to Cloudstack
> > or KVM hypervisor. Check your template OS.
> >
> > I don't see any problems related to CS  here.
> >
> > Vadim.
> >
> > -Original Message-----
> > From: Jeff Hair [mailto:j...@greenqloud.com]
> > Sent: Tuesday, June 02, 2015 12:57 PM
> > To: users@cloudstack.apache.org
> > Subject: Cloud Instance Manager only sets password after reboot on
> > Windows
> > 2012 R2
> >
> > Hi,
> >
> > We're building a Windows 2012 template on KVM. It works fine except
> > that it only sets the password for the VM after rebooting it once.
> > When the machine first starts up, there is garbled output in the Cloud
> > Instance Manager logs. For example "Added DHCP server: i#x"
> >
> > After rebooting the machine, Cloud Instance Manager works and the
> > password is set.
> >
> > Also on the first boot it is trying to auto-login but failing with the
> > wrong password, if that helps.
> >
> > Any ideas?
> >
> > Thanks,
> >
> > Jeff
> >
>
>
>
> --
> *Jeff Hair*
> Core Systems Developer
>
> Tel: (+354) 415 0200
> j...@greenqloud.com
> www.greenqloud.com
> Timothy Lothering
> Solutions Architect
> Managed Services
>
> T: +27877415535
> F: +27877415100
> C: +27824904099
> E: tlother...@datacentrix.co.za
>
>
> DISCLAIMER NOTICE:
>
> Everything in this e-mail and any attachments relating to the official
> business of Datacentrix Holdings Ltd. and its subsidiaries
> ('Datacentrix') is proprietary to Datacentrix. It is confidential, legally
> privileged and protected by law. Datacentrix does not
> own and endorse any other content. Views and opinions are those of the
> sender unless clearly stated as being that of Datacentrix.
> The person addressed in the e-mail is the sole authorised recipient.
> Please notify the sender immediately if it has unintentionally
> reached you and do not read, disclose or use the content in any way.
> Datacentrix cannot assure that the integrity of this communication
> has been maintained nor that it is free of errors, virus, interception or
> interference.
>



-- 
*Jeff Hair*
Core Systems Developer

Tel: (+354) 415 0200
j...@greenqloud.com
www.greenqloud.com