RE: instance password management

2015-08-28 Thread STEENBLIK Jason
You're entirely right. After thinking longer about your suggestion I gave 
cloud-init a closer look and it was polling the VR for the password. Thanks for 
the help.

-Jason

-Original Message-
From: Erik Weber [mailto:terbol...@gmail.com] 
Sent: 28 August 2015 14:34
To: users@cloudstack.apache.org
Subject: Re: instance password management

cloud-init could still be querying the password-server. tail the log on the VR 
during VM startup and you'll see how many times it's queried.

--
Erik

On Fri, Aug 28, 2015 at 2:32 PM, STEENBLIK Jason < jason.steenb...@leonteq.com> 
wrote:

> Thanks Erik. I am using cloud-init but not for password management. 
> I'm still using the init script.
>
>
> -Original Message-
> From: Erik Weber [mailto:terbol...@gmail.com]
> Sent: 28 August 2015 14:29
> To: users@cloudstack.apache.org
> Subject: Re: instance password management
>
> Could be this if you have cloud-init installed:
> https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1440263
>
> --
> Erik
>
>
> On Fri, Aug 28, 2015 at 2:23 PM, STEENBLIK Jason < 
> jason.steenb...@leonteq.com> wrote:
>
> > Hello,
> > I have a template with password management enabled and the 
> > cloud-set-guest-password properly setup. It all seems to work 
> > however it only works once at deployment. Is that the way it's supposed to 
> > work?
> > Should I be able to change the password again and again or is this 
> > meant just to generate a password once?
> >
> > If I attempt to change the password for an existing instance the 
> > cloud-set-guest-password script returns with 'VM has already saved a 
> > password from the password server.' The output returned from the VR 
> > is 'saved_password' which unfortunately is in line with the script's return.
> >
> > I'm running 4.3.2 by the way.
> >
> > Many thanks in advance,
> >
> > Jason
> >
> >
> >
> > === The Leonteq Mail Gateway made the following annotation 
> > ===
> >
> > This e-mail is confidential. If you are not the intended recipient, 
> > you should
> >
> > not copy it, re-transmit it, use it or disclose its contents, but 
> > should
> >
> > return it to the sender immediately and delete the copy from your system.
> >
> > Leonteq Securities is not responsible for, nor endorses, any 
> > opinion,
> >
> > recommendation, conclusion, solicitation, offer or agreement or any
> >
> > information contained in this communication.
> >
> > Leonteq Securities cannot accept any responsibility for the accuracy 
> > or
> >
> > completeness of this message as it has been transmitted over a 
> > public network.
> >
> > If you suspect that the message may have been intercepted or 
> > amended, please
> >
> > call the sender. Should you require any further information, please
> contact
> >
> > the Compliance Manager on complia...@leonteq.com > complia...@leonteq.com>.
> >
> >
> >
> >
> >
> ==
> 
> >
>


Re: instance password management

2015-08-28 Thread Erik Weber
cloud-init could still be querying the password-server. tail the log on the
VR during VM startup and you'll see how many times it's queried.

-- 
Erik

On Fri, Aug 28, 2015 at 2:32 PM, STEENBLIK Jason <
jason.steenb...@leonteq.com> wrote:

> Thanks Erik. I am using cloud-init but not for password management. I'm
> still using the init script.
>
>
> -Original Message-
> From: Erik Weber [mailto:terbol...@gmail.com]
> Sent: 28 August 2015 14:29
> To: users@cloudstack.apache.org
> Subject: Re: instance password management
>
> Could be this if you have cloud-init installed:
> https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1440263
>
> --
> Erik
>
>
> On Fri, Aug 28, 2015 at 2:23 PM, STEENBLIK Jason <
> jason.steenb...@leonteq.com> wrote:
>
> > Hello,
> > I have a template with password management enabled and the
> > cloud-set-guest-password properly setup. It all seems to work however it
> > only works once at deployment. Is that the way it's supposed to work?
> > Should I be able to change the password again and again or is this meant
> > just to generate a password once?
> >
> > If I attempt to change the password for an existing instance the
> > cloud-set-guest-password script returns with 'VM has already saved a
> > password from the password server.' The output returned from the VR is
> > 'saved_password' which unfortunately is in line with the script's return.
> >
> > I'm running 4.3.2 by the way.
> >
> > Many thanks in advance,
> >
> > Jason
> >
> >
> >
> > === The Leonteq Mail Gateway made the following annotation
> > ===
> >
> > This e-mail is confidential. If you are not the intended recipient, you
> > should
> >
> > not copy it, re-transmit it, use it or disclose its contents, but should
> >
> > return it to the sender immediately and delete the copy from your system.
> >
> > Leonteq Securities is not responsible for, nor endorses, any opinion,
> >
> > recommendation, conclusion, solicitation, offer or agreement or any
> >
> > information contained in this communication.
> >
> > Leonteq Securities cannot accept any responsibility for the accuracy or
> >
> > completeness of this message as it has been transmitted over a public
> > network.
> >
> > If you suspect that the message may have been intercepted or amended,
> > please
> >
> > call the sender. Should you require any further information, please
> contact
> >
> > the Compliance Manager on complia...@leonteq.com > complia...@leonteq.com>.
> >
> >
> >
> >
> >
> ==
> >
>


RE: instance password management

2015-08-28 Thread STEENBLIK Jason
Thanks Erik. I am using cloud-init but not for password management. I'm still 
using the init script.


-Original Message-
From: Erik Weber [mailto:terbol...@gmail.com] 
Sent: 28 August 2015 14:29
To: users@cloudstack.apache.org
Subject: Re: instance password management

Could be this if you have cloud-init installed:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1440263

-- 
Erik


On Fri, Aug 28, 2015 at 2:23 PM, STEENBLIK Jason <
jason.steenb...@leonteq.com> wrote:

> Hello,
> I have a template with password management enabled and the
> cloud-set-guest-password properly setup. It all seems to work however it
> only works once at deployment. Is that the way it's supposed to work?
> Should I be able to change the password again and again or is this meant
> just to generate a password once?
>
> If I attempt to change the password for an existing instance the
> cloud-set-guest-password script returns with 'VM has already saved a
> password from the password server.' The output returned from the VR is
> 'saved_password' which unfortunately is in line with the script's return.
>
> I'm running 4.3.2 by the way.
>
> Many thanks in advance,
>
> Jason
>
>
>
> === The Leonteq Mail Gateway made the following annotation
> ===
>
> This e-mail is confidential. If you are not the intended recipient, you
> should
>
> not copy it, re-transmit it, use it or disclose its contents, but should
>
> return it to the sender immediately and delete the copy from your system.
>
> Leonteq Securities is not responsible for, nor endorses, any opinion,
>
> recommendation, conclusion, solicitation, offer or agreement or any
>
> information contained in this communication.
>
> Leonteq Securities cannot accept any responsibility for the accuracy or
>
> completeness of this message as it has been transmitted over a public
> network.
>
> If you suspect that the message may have been intercepted or amended,
> please
>
> call the sender. Should you require any further information, please contact
>
> the Compliance Manager on complia...@leonteq.com complia...@leonteq.com>.
>
>
>
>
> ==
>


RE: instance password management

2015-08-28 Thread Vadim Kimlaychuk
Hello Jaso,

If I remember correctly - you can reset password when instance is not 
running. Then you need to switch VM on and during start-up, script will get 
password from VR. You can do this cycle as many times as you want.  

Vadim.

-Original Message-
From: STEENBLIK Jason [mailto:jason.steenb...@leonteq.com] 
Sent: Friday, August 28, 2015 3:24 PM
To: users@cloudstack.apache.org
Subject: instance password management

Hello,
I have a template with password management enabled and the 
cloud-set-guest-password properly setup. It all seems to work however it only 
works once at deployment. Is that the way it's supposed to work? Should I be 
able to change the password again and again or is this meant just to generate a 
password once?

If I attempt to change the password for an existing instance the 
cloud-set-guest-password script returns with 'VM has already saved a password 
from the password server.' The output returned from the VR is 'saved_password' 
which unfortunately is in line with the script's return.

I'm running 4.3.2 by the way.

Many thanks in advance,

Jason



=== The Leonteq Mail Gateway made the following annotation ===

This e-mail is confidential. If you are not the intended recipient, you should

not copy it, re-transmit it, use it or disclose its contents, but should

return it to the sender immediately and delete the copy from your system.

Leonteq Securities is not responsible for, nor endorses, any opinion,

recommendation, conclusion, solicitation, offer or agreement or any

information contained in this communication.

Leonteq Securities cannot accept any responsibility for the accuracy or

completeness of this message as it has been transmitted over a public network.

If you suspect that the message may have been intercepted or amended, please

call the sender. Should you require any further information, please contact

the Compliance Manager on complia...@leonteq.com.



==


Re: instance password management

2015-08-28 Thread Erik Weber
Could be this if you have cloud-init installed:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1440263

-- 
Erik


On Fri, Aug 28, 2015 at 2:23 PM, STEENBLIK Jason <
jason.steenb...@leonteq.com> wrote:

> Hello,
> I have a template with password management enabled and the
> cloud-set-guest-password properly setup. It all seems to work however it
> only works once at deployment. Is that the way it's supposed to work?
> Should I be able to change the password again and again or is this meant
> just to generate a password once?
>
> If I attempt to change the password for an existing instance the
> cloud-set-guest-password script returns with 'VM has already saved a
> password from the password server.' The output returned from the VR is
> 'saved_password' which unfortunately is in line with the script's return.
>
> I'm running 4.3.2 by the way.
>
> Many thanks in advance,
>
> Jason
>
>
>
> === The Leonteq Mail Gateway made the following annotation
> ===
>
> This e-mail is confidential. If you are not the intended recipient, you
> should
>
> not copy it, re-transmit it, use it or disclose its contents, but should
>
> return it to the sender immediately and delete the copy from your system.
>
> Leonteq Securities is not responsible for, nor endorses, any opinion,
>
> recommendation, conclusion, solicitation, offer or agreement or any
>
> information contained in this communication.
>
> Leonteq Securities cannot accept any responsibility for the accuracy or
>
> completeness of this message as it has been transmitted over a public
> network.
>
> If you suspect that the message may have been intercepted or amended,
> please
>
> call the sender. Should you require any further information, please contact
>
> the Compliance Manager on complia...@leonteq.com complia...@leonteq.com>.
>
>
>
>
> ==
>