Hi

Thanks for the fast response.
@Lucian: It did work right after installation for me (did setup hostname etc. 
correctly) only this PW stuff is causing issues.
@Simon: I also believe that it's caused by MS Windows. I'll check the policies 
and ask the Cloudbase-init community. If I find something I will post it here.

The template itself is build by packer (and the module from jetbrains-infra 
called packer-builder-vsphere).

Regards
Liridon

-----Original Message-----
From: simon.voel...@zv.fraunhofer.de<mailto:simon.voel...@zv.fraunhofer.de>
Reply-To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
Subject: Re: Creating Windows Server 2019 templates with cloudbase init
Date: Tue, 14 Jan 2020 13:28:33 +0000


Hi,


I believe that having to set a new password after it has been reset is supposed 
to be a feature from Microsoft’s side. I’ve also noticed that login through RDP 
is disabled until a new password has been set. So far I haven’t been able to 
get it to work completely. (mainly due to time constraints)


Regards


Simon Völker


Fraunhofer-Gesellschaft e.V.

Schloss Birlinghoven

53754 Sankt Augustin

Telefon: +49 2241 14-2311

E-mail:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>




Am 14.01.2020 um 14:20 schrieb

<mailto:n...@li.nux.ro>

n...@li.nux.ro

<mailto:

<mailto:n...@li.nux.ro>

n...@li.nux.ro

>:


Hi,


This could be a bug (or undocumented feature, ahem) with cloudbase-init.

Despite efforts I never got it to work reliably in the past, not sure about now.

Have you tried using CloudInstanceManager.msi for setting the password? It 
still works for me.


What I do is set up the template with a sysprep and unattend.xml where I also 
set a default password (perhaps this is what stops it from asking for new user 
pass), then on first boots CloudInstanceManager sets up the password without 
problems and resets work, too. SG zone btw.


Lucian


On 2020-01-14 12:53, Ismaili, Liridon (SWISS TXT) wrote:

Hi Simon

We are also building some new windows templates and would like to use

cloudbase-init as you do.

I get the same behavior as you did describe (after password reset it

requires to setup a new password). How did you workaround this? I

expect this to be a policy issue but would like to ask before I search

to long as you had the same issue.

Regards

Liridon

-----Original Message-----

From:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

><mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

Reply-To:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

<mailto:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

><mailto:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>

To:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

<mailto:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

><mailto:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>

Subject: Re: Creating Windows Server 2019 templates with cloudbase init

Date: Mon, 09 Sep 2019 07:54:02 +0000

Hi,

we are using cloudplatform 4.11 which is based on cloudstack 4.10.

Regards

Simon Völker

Fraunhofer-Gesellschaft e.V.

Schloss Birlinghoven

53754 Sankt Augustin

Telefon: +49 2241 14-2311

E-mail:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


Am 06.09.2019 um 15:34 schrieb Andrija Panic <

<mailto:

<mailto:andrija.pa...@gmail.com>

andrija.pa...@gmail.com

>

<mailto:andrija.pa...@gmail.com>

andrija.pa...@gmail.com


<mailto:

<mailto:

<mailto:andrija.pa...@gmail.com>

andrija.pa...@gmail.com

>

<mailto:andrija.pa...@gmail.com>

andrija.pa...@gmail.com


:

That sounds like something that was happening on ACS 4.8.

Which version are you running?

Andrija

On Fri, 6 Sep 2019 at 14:50, <

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


<mailto:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


wrote:

Hi,

I’ve checked that and found something peculiar: The password is retrieved

from the VPR if I do a password reset, reboot and reboot again. However,

upon first login with the password generated by the reset, Windows requires

a new password to be set. The password shows up in the passwords file on

the vpr, but isn’t replaced by password=saved, it simply disappears when

retrieved.

Regards

Simon Völker

Fraunhofer-Gesellschaft e.V.

Schloss Birlinghoven

53754 Sankt Augustin

Telefon: +49 2241 14-2311

E-mail:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


<mailto:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


<mailto:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


<mailto:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


Am 06.09.2019 um 11:23 schrieb Andrija Panic <

<mailto:

<mailto:andrija.pa...@gmail.com>

andrija.pa...@gmail.com

>

<mailto:andrija.pa...@gmail.com>

andrija.pa...@gmail.com


<mailto:

<mailto:

<mailto:andrija.pa...@gmail.com>

andrija.pa...@gmail.com

>

<mailto:andrija.pa...@gmail.com>

andrija.pa...@gmail.com


<mailto:

<mailto:

<mailto:andrija.pa...@gmail.com>

andrija.pa...@gmail.com

>

<mailto:andrija.pa...@gmail.com>

andrija.pa...@gmail.com


:

Hi Simon,

I assume that the cloudbased-init runs BEFORE the user has to set pass via

Windows, thus overwriting the pass that ACS has previously set?

Does rebooting the VM actually sets the new pass (from ACS), that was

generated previously? You can actually check inside the VR

/var/cache/cloud/password-<IP-ADDRESS-HERE> file - this file will contain

the actual pass if it has NOT been fetched by the VM - or if it says

"password=saved" - this means it was already fetched by the VM.

Andrija

On Fri, 6 Sep 2019 at 10:47, <

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


<mailto:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


<mailto:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


<mailto:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


wrote:

Hi,

I am currently doing a new batch of our templates. So far we’ve been using

Cloudbase-init for our Microsoft Server 2016 templates. Now with the 2019

version, instead of setting the password that cloudstack provides, the user

has to set a password on first startup. Does someone have experience with

Cloudbase-init and Windows Server 2019 or has faced the same issue?

Regards

Simon Völker

Fraunhofer-Gesellschaft e.V.

Schloss Birlinghoven

53754 Sankt Augustin

Telefon: +49 2241 14-2311

E-mail:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


<mailto:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


<mailto:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


<mailto:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


<mailto:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


<mailto:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


<mailto:

<mailto:

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de

>

<mailto:simon.voel...@zv.fraunhofer.de>

simon.voel...@zv.fraunhofer.de


--

Andrija Panić

--

Andrija Panić

Reply via email to