Re: Templates for Apache Cloudstack

2019-02-21 Thread Andrija Panic
Good stuff Lucian, thanks.

On Thu, 21 Feb 2019 at 17:30, Nux!  wrote:

> Hi,
>
> I have discovered where the problem lies. Cloud-init has finally caught up
> with Cloudstack, we can call the set-password module at every boot now.
> So to get everything working we need to:
> 1. get rid of custom scripts for password
> 2. replace "set-passwords" with "[set-passwords, always]" in
> /etc/cloud/cloud.cfg
>
> I have started new build jobs for Ubuntu 18.04 Xen and KVM with the fix
> and will correct the other templates in the next few days.
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
> > From: "Nux!" 
> > To: "asender" 
> > Cc: "users" 
> > Sent: Wednesday, 20 February, 2019 09:31:41
> > Subject: Re: Templates for Apache Cloudstack
>
> > Thanks for testing.
> > Machinina uses just a simple script to retrieve and change the password,
> all the
> > other templates use cloud-init which sometimes gets in the way ...
> >
> > I'll try to find where the problem is, when I do I'll get back to the
> list.
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
> > - Original Message -
> >> From: "asender" 
> >> To: "users" 
> >> Cc: "Nux!" 
> >> Sent: Tuesday, 19 February, 2019 21:41:37
> >> Subject: Re: Templates for Apache Cloudstack
> >
> >> Hi Nux,
> >>
> >> That spin appears to be fine (macchinina-xen.vhd) - I can reset password
> >> multiple times and it changes as expected. I believe this is just a
> >> template issue.
> >>
> >> All other templates appear to exhibit the issue though.
> >>
> >> -AS.
> >>
> >> On 2019-02-19 23:53, Nux! wrote:
> >>> Asender,
> >>>
> >>> Access to the lab sounds good, I'm in an unfortunate situation where I
> >>> actually don't have access to ACS anymore to test ...
> >>>
> >>> Actually, before that, can you give this a try?
> >>> http://dl.openvm.eu/cloudstack/macchinina/x86_64/
> >>>
> >>> This template has not changed in a long time and it always sort of
> >>> worked. If on KVM you can add it as virtio (not scsi) and password
> >>> enabled.
> >>>
> >>> Regards
> >>>
> >>> --
> >>> Sent from the Delta quadrant using Borg technology!
> >>>
> >>> Nux!
> >>> www.nux.ro
> >>>
> >>> - Original Message -
> >>>> From: "asender" 
> >>>> To: "users" 
> >>>> Cc: "Andrija Panic" 
> >>>> Sent: Tuesday, 19 February, 2019 02:59:55
> >>>> Subject: Re: Templates for Apache Cloudstack
> >>>
> >>>> Hi Andrija,
> >>>>
> >>>> Thanks for your response! I am on version 4.11.2. Virtual router is
> >>>> behaving...
> >>>>
> >>>> This seems to be a problem with the specific templates, I just wanted
> >>>> someone to double check the templates to see if they have the same
> >>>> issue.
> >>>>
> >>>> I think Nux will need to check all of them. :( If you want access to
> >>>> my
> >>>> lab Nux send me a separate email.
> >>>>
> >>>> -Adrian Sender
> >>>>
> >>>> On 2019-02-19 09:52, Andrija Panic wrote:
> >>>>> Hi,
> >>>>>
> >>>>> since you have logged in first time with password that CloudStack
> >>>>> gave
> >>>>> you,
> >>>>> that should mean that templates are OK - i.e. VM did fetch for that
> >>>>> first
> >>>>> time the pass from VR and set it locally for ROOT user.
> >>>>>
> >>>>> What version of ACS are you using ?
> >>>>>
> >>>>> Try to troubleshoot/check inside VR file similar to
> >>>>> /var/cache/cloud/password-192.168.1.1 (this 192.168.1.1 being the VR
> >>>>> interface / gateway IP of the network where VMs exist). If VM has
> >>>>> successfully fetched the pass from VR (from this file), than it
> >>>>> should
> >>>>> write a line like "192.168.1.10=saved_password"

Re: Templates for Apache Cloudstack

2019-02-21 Thread Nux!
Hi,

I have discovered where the problem lies. Cloud-init has finally caught up with 
Cloudstack, we can call the set-password module at every boot now.
So to get everything working we need to:
1. get rid of custom scripts for password
2. replace "set-passwords" with "[set-passwords, always]" in 
/etc/cloud/cloud.cfg

I have started new build jobs for Ubuntu 18.04 Xen and KVM with the fix and 
will correct the other templates in the next few days.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Nux!" 
> To: "asender" 
> Cc: "users" 
> Sent: Wednesday, 20 February, 2019 09:31:41
> Subject: Re: Templates for Apache Cloudstack

> Thanks for testing.
> Machinina uses just a simple script to retrieve and change the password, all 
> the
> other templates use cloud-init which sometimes gets in the way ...
> 
> I'll try to find where the problem is, when I do I'll get back to the list.
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> - Original Message -
>> From: "asender" 
>> To: "users" 
>> Cc: "Nux!" 
>> Sent: Tuesday, 19 February, 2019 21:41:37
>> Subject: Re: Templates for Apache Cloudstack
> 
>> Hi Nux,
>> 
>> That spin appears to be fine (macchinina-xen.vhd) - I can reset password
>> multiple times and it changes as expected. I believe this is just a
>> template issue.
>> 
>> All other templates appear to exhibit the issue though.
>> 
>> -AS.
>> 
>> On 2019-02-19 23:53, Nux! wrote:
>>> Asender,
>>> 
>>> Access to the lab sounds good, I'm in an unfortunate situation where I
>>> actually don't have access to ACS anymore to test ...
>>> 
>>> Actually, before that, can you give this a try?
>>> http://dl.openvm.eu/cloudstack/macchinina/x86_64/
>>> 
>>> This template has not changed in a long time and it always sort of
>>> worked. If on KVM you can add it as virtio (not scsi) and password
>>> enabled.
>>> 
>>> Regards
>>> 
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>> 
>>> Nux!
>>> www.nux.ro
>>> 
>>> - Original Message -
>>>> From: "asender" 
>>>> To: "users" 
>>>> Cc: "Andrija Panic" 
>>>> Sent: Tuesday, 19 February, 2019 02:59:55
>>>> Subject: Re: Templates for Apache Cloudstack
>>> 
>>>> Hi Andrija,
>>>> 
>>>> Thanks for your response! I am on version 4.11.2. Virtual router is
>>>> behaving...
>>>> 
>>>> This seems to be a problem with the specific templates, I just wanted
>>>> someone to double check the templates to see if they have the same
>>>> issue.
>>>> 
>>>> I think Nux will need to check all of them. :( If you want access to
>>>> my
>>>> lab Nux send me a separate email.
>>>> 
>>>> -Adrian Sender
>>>> 
>>>> On 2019-02-19 09:52, Andrija Panic wrote:
>>>>> Hi,
>>>>> 
>>>>> since you have logged in first time with password that CloudStack
>>>>> gave
>>>>> you,
>>>>> that should mean that templates are OK - i.e. VM did fetch for that
>>>>> first
>>>>> time the pass from VR and set it locally for ROOT user.
>>>>> 
>>>>> What version of ACS are you using ?
>>>>> 
>>>>> Try to troubleshoot/check inside VR file similar to
>>>>> /var/cache/cloud/password-192.168.1.1 (this 192.168.1.1 being the VR
>>>>> interface / gateway IP of the network where VMs exist). If VM has
>>>>> successfully fetched the pass from VR (from this file), than it
>>>>> should
>>>>> write a line like "192.168.1.10=saved_password" inside that file - if
>>>>> not,
>>>>> if password is still present inside, that means VM did not fetch the
>>>>> pass -
>>>>> and then you can troubleshoot inside the VM itself (not sure if Nux's
>>>>> templates use password reset script or cloud-init)
>>>>> 
>>>>> In some of previous CloudStack versions, you would need to do another
>>>>> round
>>>>> of VM reboots to actually fetch the password (i.e. don't repeat the
>>>>> reset
>>>>> pro

Re: Templates for Apache Cloudstack

2019-02-20 Thread Nux!
Thanks for testing.
Machinina uses just a simple script to retrieve and change the password, all 
the other templates use cloud-init which sometimes gets in the way ... 

I'll try to find where the problem is, when I do I'll get back to the list.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "asender" 
> To: "users" 
> Cc: "Nux!" 
> Sent: Tuesday, 19 February, 2019 21:41:37
> Subject: Re: Templates for Apache Cloudstack

> Hi Nux,
> 
> That spin appears to be fine (macchinina-xen.vhd) - I can reset password
> multiple times and it changes as expected. I believe this is just a
> template issue.
> 
> All other templates appear to exhibit the issue though.
> 
> -AS.
> 
> On 2019-02-19 23:53, Nux! wrote:
>> Asender,
>> 
>> Access to the lab sounds good, I'm in an unfortunate situation where I
>> actually don't have access to ACS anymore to test ...
>> 
>> Actually, before that, can you give this a try?
>> http://dl.openvm.eu/cloudstack/macchinina/x86_64/
>> 
>> This template has not changed in a long time and it always sort of
>> worked. If on KVM you can add it as virtio (not scsi) and password
>> enabled.
>> 
>> Regards
>> 
>> --
>> Sent from the Delta quadrant using Borg technology!
>> 
>> Nux!
>> www.nux.ro
>> 
>> - Original Message -
>>> From: "asender" 
>>> To: "users" 
>>> Cc: "Andrija Panic" 
>>> Sent: Tuesday, 19 February, 2019 02:59:55
>>> Subject: Re: Templates for Apache Cloudstack
>> 
>>> Hi Andrija,
>>> 
>>> Thanks for your response! I am on version 4.11.2. Virtual router is
>>> behaving...
>>> 
>>> This seems to be a problem with the specific templates, I just wanted
>>> someone to double check the templates to see if they have the same
>>> issue.
>>> 
>>> I think Nux will need to check all of them. :( If you want access to
>>> my
>>> lab Nux send me a separate email.
>>> 
>>> -Adrian Sender
>>> 
>>> On 2019-02-19 09:52, Andrija Panic wrote:
>>>> Hi,
>>>> 
>>>> since you have logged in first time with password that CloudStack
>>>> gave
>>>> you,
>>>> that should mean that templates are OK - i.e. VM did fetch for that
>>>> first
>>>> time the pass from VR and set it locally for ROOT user.
>>>> 
>>>> What version of ACS are you using ?
>>>> 
>>>> Try to troubleshoot/check inside VR file similar to
>>>> /var/cache/cloud/password-192.168.1.1 (this 192.168.1.1 being the VR
>>>> interface / gateway IP of the network where VMs exist). If VM has
>>>> successfully fetched the pass from VR (from this file), than it
>>>> should
>>>> write a line like "192.168.1.10=saved_password" inside that file - if
>>>> not,
>>>> if password is still present inside, that means VM did not fetch the
>>>> pass -
>>>> and then you can troubleshoot inside the VM itself (not sure if Nux's
>>>> templates use password reset script or cloud-init)
>>>> 
>>>> In some of previous CloudStack versions, you would need to do another
>>>> round
>>>> of VM reboots to actually fetch the password (i.e. don't repeat the
>>>> reset
>>>> procedure, just simply restart the VM/OS).
>>>> 
>>>> Best
>>>> Andrija
>>>> 
>>>> On Mon, 18 Feb 2019 at 23:00,  wrote:
>>>> 
>>>>> Hi Nux!
>>>>> 
>>>>> I have noticed the same problem with all the templates.
>>>>> 
>>>>> -AS.
>>>>> 
>>>>> On 2019-02-18 19:36, Nux! wrote:
>>>>> > Hi,
>>>>> >
>>>>> > Have you noticed the same problem with the Ubuntu ones?
>>>>> >
>>>>> > --
>>>>> > Sent from the Delta quadrant using Borg technology!
>>>>> >
>>>>> > Nux!
>>>>> > www.nux.ro
>>>>> >
>>>>> > - Original Message -
>>>>> >> From: asen...@testlabs.com.au
>>>>> >> To: "users" 
>>>>> >> Cc: "Nux!" 
>>>>> >> Sent: Monday, 18 February, 2019 02:54:41
>>>>> >> Subject: Re: Templates for A

Re: Templates for Apache Cloudstack

2019-02-19 Thread asender

Hi Nux,

That spin appears to be fine (macchinina-xen.vhd) - I can reset password 
multiple times and it changes as expected. I believe this is just a 
template issue.


All other templates appear to exhibit the issue though.

-AS.

On 2019-02-19 23:53, Nux! wrote:

Asender,

Access to the lab sounds good, I'm in an unfortunate situation where I
actually don't have access to ACS anymore to test ...

Actually, before that, can you give this a try?
http://dl.openvm.eu/cloudstack/macchinina/x86_64/

This template has not changed in a long time and it always sort of
worked. If on KVM you can add it as virtio (not scsi) and password
enabled.

Regards

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -

From: "asender" 
To: "users" 
Cc: "Andrija Panic" 
Sent: Tuesday, 19 February, 2019 02:59:55
Subject: Re: Templates for Apache Cloudstack



Hi Andrija,

Thanks for your response! I am on version 4.11.2. Virtual router is
behaving...

This seems to be a problem with the specific templates, I just wanted
someone to double check the templates to see if they have the same
issue.

I think Nux will need to check all of them. :( If you want access to 
my

lab Nux send me a separate email.

-Adrian Sender

On 2019-02-19 09:52, Andrija Panic wrote:

Hi,

since you have logged in first time with password that CloudStack 
gave

you,
that should mean that templates are OK - i.e. VM did fetch for that
first
time the pass from VR and set it locally for ROOT user.

What version of ACS are you using ?

Try to troubleshoot/check inside VR file similar to
/var/cache/cloud/password-192.168.1.1 (this 192.168.1.1 being the VR
interface / gateway IP of the network where VMs exist). If VM has
successfully fetched the pass from VR (from this file), than it 
should

write a line like "192.168.1.10=saved_password" inside that file - if
not,
if password is still present inside, that means VM did not fetch the
pass -
and then you can troubleshoot inside the VM itself (not sure if Nux's
templates use password reset script or cloud-init)

In some of previous CloudStack versions, you would need to do another
round
of VM reboots to actually fetch the password (i.e. don't repeat the
reset
procedure, just simply restart the VM/OS).

Best
Andrija

On Mon, 18 Feb 2019 at 23:00,  wrote:


Hi Nux!

I have noticed the same problem with all the templates.

-AS.

On 2019-02-18 19:36, Nux! wrote:
> Hi,
>
> Have you noticed the same problem with the Ubuntu ones?
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
>> From: asen...@testlabs.com.au
>> To: "users" 
>> Cc: "Nux!" 
>> Sent: Monday, 18 February, 2019 02:54:41
>> Subject: Re: Templates for Apache Cloudstack
>
>> Hi Guys,
>>
>> Could someone double check Nux's templates for me, note the username
>> for
>> centos is "centos"
>>
>> 1. Download centos xenserver vhd template to cloudstack
>> http://dl.openvm.eu/cloudstack/centos/x86_64/centos-7-xen.vhd.bz2
>> 2. Deploy the template with password option set.
>> 3. Login with password provided by cloudstack (first login works)
>> 4. Turn off VM and reset password.
>> 5. Try to login again with the new password. (password still remains
>> same as old password, cannot login with new password)
>>
>> -Adrian Sender
>>
>>
>>
>>
>> On 2019-02-12 19:52, Nux! wrote:
>>> Hi,
>>>
>>> Can you give this a try? Let me know if it works as expected or not,
>>> thanks.
>>>
>>> http://dl.openvm.eu/cloudstack/ubuntu/x86_64/ubuntu-18.04-xen.vhd.bz2
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>> - Original Message -
>>>> From: "Nux!" 
>>>> To: "users" 
>>>> Sent: Thursday, 7 February, 2019 09:15:51
>>>> Subject: Re: Templates for Apache Cloudstack
>>>
>>>> Hello Adrian,
>>>>
>>>> I can have a go at it when I get some time these days.
>>>>
>>>> --
>>>> Sent from the Delta quadrant using Borg technology!
>>>>
>>>> Nux!
>>>> www.nux.ro
>>>>
>>>> - Original Message -
>>>>> From: asen...@testlabs.com.au
>>>>> To: "users" 
>>>>> Sent: Thursday, 7 February, 2019 00:04:40
>>>>> Subject: Templates for Apache Cloudstack
>>>>
>>>>> Hi All.
>>>>>
>>>>> Would it be possible to get the templates updated from
>>>>> http://dl.openvm.eu/cloudstack/
>>>>>
>>>>> I would like to see a ubuntu18 vhd for xenserver if possible :)
>>>>>
>>>>> Does anyone else have vhd public templates for xenserver ?
>>>>>
>>>>> Thank You.
>>>>>
>> >> > Adrian Sender


Re: Templates for Apache Cloudstack

2019-02-19 Thread Nux!
Asender,

Access to the lab sounds good, I'm in an unfortunate situation where I actually 
don't have access to ACS anymore to test ...

Actually, before that, can you give this a try? 
http://dl.openvm.eu/cloudstack/macchinina/x86_64/

This template has not changed in a long time and it always sort of worked. If 
on KVM you can add it as virtio (not scsi) and password enabled.

Regards

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "asender" 
> To: "users" 
> Cc: "Andrija Panic" 
> Sent: Tuesday, 19 February, 2019 02:59:55
> Subject: Re: Templates for Apache Cloudstack

> Hi Andrija,
> 
> Thanks for your response! I am on version 4.11.2. Virtual router is
> behaving...
> 
> This seems to be a problem with the specific templates, I just wanted
> someone to double check the templates to see if they have the same
> issue.
> 
> I think Nux will need to check all of them. :( If you want access to my
> lab Nux send me a separate email.
> 
> -Adrian Sender
> 
> On 2019-02-19 09:52, Andrija Panic wrote:
>> Hi,
>> 
>> since you have logged in first time with password that CloudStack gave
>> you,
>> that should mean that templates are OK - i.e. VM did fetch for that
>> first
>> time the pass from VR and set it locally for ROOT user.
>> 
>> What version of ACS are you using ?
>> 
>> Try to troubleshoot/check inside VR file similar to
>> /var/cache/cloud/password-192.168.1.1 (this 192.168.1.1 being the VR
>> interface / gateway IP of the network where VMs exist). If VM has
>> successfully fetched the pass from VR (from this file), than it should
>> write a line like "192.168.1.10=saved_password" inside that file - if
>> not,
>> if password is still present inside, that means VM did not fetch the
>> pass -
>> and then you can troubleshoot inside the VM itself (not sure if Nux's
>> templates use password reset script or cloud-init)
>> 
>> In some of previous CloudStack versions, you would need to do another
>> round
>> of VM reboots to actually fetch the password (i.e. don't repeat the
>> reset
>> procedure, just simply restart the VM/OS).
>> 
>> Best
>> Andrija
>> 
>> On Mon, 18 Feb 2019 at 23:00,  wrote:
>> 
>>> Hi Nux!
>>> 
>>> I have noticed the same problem with all the templates.
>>> 
>>> -AS.
>>> 
>>> On 2019-02-18 19:36, Nux! wrote:
>>> > Hi,
>>> >
>>> > Have you noticed the same problem with the Ubuntu ones?
>>> >
>>> > --
>>> > Sent from the Delta quadrant using Borg technology!
>>> >
>>> > Nux!
>>> > www.nux.ro
>>> >
>>> > - Original Message -
>>> >> From: asen...@testlabs.com.au
>>> >> To: "users" 
>>> >> Cc: "Nux!" 
>>> >> Sent: Monday, 18 February, 2019 02:54:41
>>> >> Subject: Re: Templates for Apache Cloudstack
>>> >
>>> >> Hi Guys,
>>> >>
>>> >> Could someone double check Nux's templates for me, note the username
>>> >> for
>>> >> centos is "centos"
>>> >>
>>> >> 1. Download centos xenserver vhd template to cloudstack
>>> >> http://dl.openvm.eu/cloudstack/centos/x86_64/centos-7-xen.vhd.bz2
>>> >> 2. Deploy the template with password option set.
>>> >> 3. Login with password provided by cloudstack (first login works)
>>> >> 4. Turn off VM and reset password.
>>> >> 5. Try to login again with the new password. (password still remains
>>> >> same as old password, cannot login with new password)
>>> >>
>>> >> -Adrian Sender
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> On 2019-02-12 19:52, Nux! wrote:
>>> >>> Hi,
>>> >>>
>>> >>> Can you give this a try? Let me know if it works as expected or not,
>>> >>> thanks.
>>> >>>
>>> >>> http://dl.openvm.eu/cloudstack/ubuntu/x86_64/ubuntu-18.04-xen.vhd.bz2
>>> >>>
>>> >>> --
>>> >>> Sent from the Delta quadrant using Borg technology!
>>> >>>
>>> >>> Nux!
>>> >>> www.nux.ro
>>> >>>
>>> >>> - Original Message -
>>> >>>> From: "Nux!" 
>>> >>>> To: "users" 
>>> >>>> Sent: Thursday, 7 February, 2019 09:15:51
>>> >>>> Subject: Re: Templates for Apache Cloudstack
>>> >>>
>>> >>>> Hello Adrian,
>>> >>>>
>>> >>>> I can have a go at it when I get some time these days.
>>> >>>>
>>> >>>> --
>>> >>>> Sent from the Delta quadrant using Borg technology!
>>> >>>>
>>> >>>> Nux!
>>> >>>> www.nux.ro
>>> >>>>
>>> >>>> - Original Message -
>>> >>>>> From: asen...@testlabs.com.au
>>> >>>>> To: "users" 
>>> >>>>> Sent: Thursday, 7 February, 2019 00:04:40
>>> >>>>> Subject: Templates for Apache Cloudstack
>>> >>>>
>>> >>>>> Hi All.
>>> >>>>>
>>> >>>>> Would it be possible to get the templates updated from
>>> >>>>> http://dl.openvm.eu/cloudstack/
>>> >>>>>
>>> >>>>> I would like to see a ubuntu18 vhd for xenserver if possible :)
>>> >>>>>
>>> >>>>> Does anyone else have vhd public templates for xenserver ?
>>> >>>>>
>>> >>>>> Thank You.
>>> >>>>>
>>> >> >> > Adrian Sender


Re: Templates for Apache Cloudstack

2019-02-19 Thread Dag Sonstebo
The behaviour sounds similar to an issue we fixed in 4.9 - where the password 
would be set once, user changed it, rebooted and found it had been reset back 
to the original password again.

Our fix PR was https://github.com/apache/cloudstack/pull/2084 - but it looks 
like this was reverted for some unknown reason - hence it could be this is a 
regression?

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue
 

On 19/02/2019, 03:00, "asen...@testlabs.com.au"  
wrote:

Hi Andrija,

Thanks for your response! I am on version 4.11.2. Virtual router is 
behaving...

This seems to be a problem with the specific templates, I just wanted 
someone to double check the templates to see if they have the same 
issue.

I think Nux will need to check all of them. :( If you want access to my 
lab Nux send me a separate email.

-Adrian Sender

On 2019-02-19 09:52, Andrija Panic wrote:
> Hi,
> 
> since you have logged in first time with password that CloudStack gave 
> you,
> that should mean that templates are OK - i.e. VM did fetch for that 
> first
> time the pass from VR and set it locally for ROOT user.
> 
> What version of ACS are you using ?
> 
> Try to troubleshoot/check inside VR file similar to
> /var/cache/cloud/password-192.168.1.1 (this 192.168.1.1 being the VR
> interface / gateway IP of the network where VMs exist). If VM has
> successfully fetched the pass from VR (from this file), than it should
> write a line like "192.168.1.10=saved_password" inside that file - if 
> not,
> if password is still present inside, that means VM did not fetch the 
> pass -
> and then you can troubleshoot inside the VM itself (not sure if Nux's
> templates use password reset script or cloud-init)
> 
> In some of previous CloudStack versions, you would need to do another 
> round
> of VM reboots to actually fetch the password (i.e. don't repeat the 
> reset
> procedure, just simply restart the VM/OS).
> 
> Best
> Andrija
> 

dag.sonst...@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 

> On Mon, 18 Feb 2019 at 23:00,  wrote:
> 
>> Hi Nux!
>> 
>> I have noticed the same problem with all the templates.
>> 
>> -AS.
>> 
>> On 2019-02-18 19:36, Nux! wrote:
>> > Hi,
>> >
>> > Have you noticed the same problem with the Ubuntu ones?
>> >
>> > --
>> > Sent from the Delta quadrant using Borg technology!
>> >
>> > Nux!
>> > www.nux.ro
>> >
>> > - Original Message -
>> >> From: asen...@testlabs.com.au
>> >> To: "users" 
>> >> Cc: "Nux!" 
>> >> Sent: Monday, 18 February, 2019 02:54:41
>> >> Subject: Re: Templates for Apache Cloudstack
>> >
>> >> Hi Guys,
>> >>
>> >> Could someone double check Nux's templates for me, note the username
>> >> for
>> >> centos is "centos"
>> >>
>> >> 1. Download centos xenserver vhd template to cloudstack
>> >> http://dl.openvm.eu/cloudstack/centos/x86_64/centos-7-xen.vhd.bz2
>> >> 2. Deploy the template with password option set.
>> >> 3. Login with password provided by cloudstack (first login works)
>> >> 4. Turn off VM and reset password.
>> >> 5. Try to login again with the new password. (password still remains
>> >> same as old password, cannot login with new password)
>> >>
>> >> -Adrian Sender
>> >>
>> >>
>> >>
>> >>
    >> >> On 2019-02-12 19:52, Nux! wrote:
>> >>> Hi,
>> >>>
>> >>> Can you give this a try? Let me know if it works as expected or not,
>> >>> thanks.
>> >>>
>> >>> http://dl.openvm.eu/cloudstack/ubuntu/x86_64/ubuntu-18.04-xen.vhd.bz2
>> >>>
>> >>> --
>> >>> Sent from the Delta quadrant using Borg technology!
>> >>>
>> >>> Nux!
>> >>> www.nux.ro
>> >>>
>> >>> - Original Message -
>> >>>> From: "Nux!" 
>> >>>> To: "users" 
>> >>>> Sent: Thursday, 

Re: Templates for Apache Cloudstack

2019-02-18 Thread asender

Hi Andrija,

Thanks for your response! I am on version 4.11.2. Virtual router is 
behaving...


This seems to be a problem with the specific templates, I just wanted 
someone to double check the templates to see if they have the same 
issue.


I think Nux will need to check all of them. :( If you want access to my 
lab Nux send me a separate email.


-Adrian Sender

On 2019-02-19 09:52, Andrija Panic wrote:

Hi,

since you have logged in first time with password that CloudStack gave 
you,
that should mean that templates are OK - i.e. VM did fetch for that 
first

time the pass from VR and set it locally for ROOT user.

What version of ACS are you using ?

Try to troubleshoot/check inside VR file similar to
/var/cache/cloud/password-192.168.1.1 (this 192.168.1.1 being the VR
interface / gateway IP of the network where VMs exist). If VM has
successfully fetched the pass from VR (from this file), than it should
write a line like "192.168.1.10=saved_password" inside that file - if 
not,
if password is still present inside, that means VM did not fetch the 
pass -

and then you can troubleshoot inside the VM itself (not sure if Nux's
templates use password reset script or cloud-init)

In some of previous CloudStack versions, you would need to do another 
round
of VM reboots to actually fetch the password (i.e. don't repeat the 
reset

procedure, just simply restart the VM/OS).

Best
Andrija

On Mon, 18 Feb 2019 at 23:00,  wrote:


Hi Nux!

I have noticed the same problem with all the templates.

-AS.

On 2019-02-18 19:36, Nux! wrote:
> Hi,
>
> Have you noticed the same problem with the Ubuntu ones?
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
>> From: asen...@testlabs.com.au
>> To: "users" 
>> Cc: "Nux!" 
>> Sent: Monday, 18 February, 2019 02:54:41
>> Subject: Re: Templates for Apache Cloudstack
>
>> Hi Guys,
>>
>> Could someone double check Nux's templates for me, note the username
>> for
>> centos is "centos"
>>
>> 1. Download centos xenserver vhd template to cloudstack
>> http://dl.openvm.eu/cloudstack/centos/x86_64/centos-7-xen.vhd.bz2
>> 2. Deploy the template with password option set.
>> 3. Login with password provided by cloudstack (first login works)
>> 4. Turn off VM and reset password.
>> 5. Try to login again with the new password. (password still remains
>> same as old password, cannot login with new password)
>>
>> -Adrian Sender
>>
>>
>>
>>
>> On 2019-02-12 19:52, Nux! wrote:
>>> Hi,
>>>
>>> Can you give this a try? Let me know if it works as expected or not,
>>> thanks.
>>>
>>> http://dl.openvm.eu/cloudstack/ubuntu/x86_64/ubuntu-18.04-xen.vhd.bz2
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>> - Original Message -
>>>> From: "Nux!" 
>>>> To: "users" 
>>>> Sent: Thursday, 7 February, 2019 09:15:51
>>>> Subject: Re: Templates for Apache Cloudstack
>>>
>>>> Hello Adrian,
>>>>
>>>> I can have a go at it when I get some time these days.
>>>>
>>>> --
>>>> Sent from the Delta quadrant using Borg technology!
>>>>
>>>> Nux!
>>>> www.nux.ro
>>>>
>>>> - Original Message -
>>>>> From: asen...@testlabs.com.au
>>>>> To: "users" 
>>>>> Sent: Thursday, 7 February, 2019 00:04:40
>>>>> Subject: Templates for Apache Cloudstack
>>>>
>>>>> Hi All.
>>>>>
>>>>> Would it be possible to get the templates updated from
>>>>> http://dl.openvm.eu/cloudstack/
>>>>>
>>>>> I would like to see a ubuntu18 vhd for xenserver if possible :)
>>>>>
>>>>> Does anyone else have vhd public templates for xenserver ?
>>>>>
>>>>> Thank You.
>>>>>
>> >> > Adrian Sender



Re: Templates for Apache Cloudstack

2019-02-18 Thread Andrija Panic
Hi,

since you have logged in first time with password that CloudStack gave you,
that should mean that templates are OK - i.e. VM did fetch for that first
time the pass from VR and set it locally for ROOT user.

What version of ACS are you using ?

Try to troubleshoot/check inside VR file similar to
/var/cache/cloud/password-192.168.1.1 (this 192.168.1.1 being the VR
interface / gateway IP of the network where VMs exist). If VM has
successfully fetched the pass from VR (from this file), than it should
write a line like "192.168.1.10=saved_password" inside that file - if not,
if password is still present inside, that means VM did not fetch the pass -
and then you can troubleshoot inside the VM itself (not sure if Nux's
templates use password reset script or cloud-init)

In some of previous CloudStack versions, you would need to do another round
of VM reboots to actually fetch the password (i.e. don't repeat the reset
procedure, just simply restart the VM/OS).

Best
Andrija

On Mon, 18 Feb 2019 at 23:00,  wrote:

> Hi Nux!
>
> I have noticed the same problem with all the templates.
>
> -AS.
>
> On 2019-02-18 19:36, Nux! wrote:
> > Hi,
> >
> > Have you noticed the same problem with the Ubuntu ones?
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
> > - Original Message -
> >> From: asen...@testlabs.com.au
> >> To: "users" 
> >> Cc: "Nux!" 
> >> Sent: Monday, 18 February, 2019 02:54:41
> >> Subject: Re: Templates for Apache Cloudstack
> >
> >> Hi Guys,
> >>
> >> Could someone double check Nux's templates for me, note the username
> >> for
> >> centos is "centos"
> >>
> >> 1. Download centos xenserver vhd template to cloudstack
> >> http://dl.openvm.eu/cloudstack/centos/x86_64/centos-7-xen.vhd.bz2
> >> 2. Deploy the template with password option set.
> >> 3. Login with password provided by cloudstack (first login works)
> >> 4. Turn off VM and reset password.
> >> 5. Try to login again with the new password. (password still remains
> >> same as old password, cannot login with new password)
> >>
> >> -Adrian Sender
> >>
> >>
> >>
> >>
> >> On 2019-02-12 19:52, Nux! wrote:
> >>> Hi,
> >>>
> >>> Can you give this a try? Let me know if it works as expected or not,
> >>> thanks.
> >>>
> >>> http://dl.openvm.eu/cloudstack/ubuntu/x86_64/ubuntu-18.04-xen.vhd.bz2
> >>>
> >>> --
> >>> Sent from the Delta quadrant using Borg technology!
> >>>
> >>> Nux!
> >>> www.nux.ro
> >>>
> >>> - Original Message -
> >>>> From: "Nux!" 
> >>>> To: "users" 
> >>>> Sent: Thursday, 7 February, 2019 09:15:51
> >>>> Subject: Re: Templates for Apache Cloudstack
> >>>
> >>>> Hello Adrian,
> >>>>
> >>>> I can have a go at it when I get some time these days.
> >>>>
> >>>> --
> >>>> Sent from the Delta quadrant using Borg technology!
> >>>>
> >>>> Nux!
> >>>> www.nux.ro
> >>>>
> >>>> - Original Message -
> >>>>> From: asen...@testlabs.com.au
> >>>>> To: "users" 
> >>>>> Sent: Thursday, 7 February, 2019 00:04:40
> >>>>> Subject: Templates for Apache Cloudstack
> >>>>
> >>>>> Hi All.
> >>>>>
> >>>>> Would it be possible to get the templates updated from
> >>>>> http://dl.openvm.eu/cloudstack/
> >>>>>
> >>>>> I would like to see a ubuntu18 vhd for xenserver if possible :)
> >>>>>
> >>>>> Does anyone else have vhd public templates for xenserver ?
> >>>>>
> >>>>> Thank You.
> >>>>>
> >> >> > Adrian Sender
>


-- 

Andrija Panić


Re: Templates for Apache Cloudstack

2019-02-18 Thread asender

Hi Nux!

I have noticed the same problem with all the templates.

-AS.

On 2019-02-18 19:36, Nux! wrote:

Hi,

Have you noticed the same problem with the Ubuntu ones?

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -

From: asen...@testlabs.com.au
To: "users" 
Cc: "Nux!" 
Sent: Monday, 18 February, 2019 02:54:41
Subject: Re: Templates for Apache Cloudstack



Hi Guys,

Could someone double check Nux's templates for me, note the username 
for

centos is "centos"

1. Download centos xenserver vhd template to cloudstack
http://dl.openvm.eu/cloudstack/centos/x86_64/centos-7-xen.vhd.bz2
2. Deploy the template with password option set.
3. Login with password provided by cloudstack (first login works)
4. Turn off VM and reset password.
5. Try to login again with the new password. (password still remains
same as old password, cannot login with new password)

-Adrian Sender




On 2019-02-12 19:52, Nux! wrote:

Hi,

Can you give this a try? Let me know if it works as expected or not,
thanks.

http://dl.openvm.eu/cloudstack/ubuntu/x86_64/ubuntu-18.04-xen.vhd.bz2

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -

From: "Nux!" 
To: "users" 
Sent: Thursday, 7 February, 2019 09:15:51
Subject: Re: Templates for Apache Cloudstack



Hello Adrian,

I can have a go at it when I get some time these days.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -

From: asen...@testlabs.com.au
To: "users" 
Sent: Thursday, 7 February, 2019 00:04:40
Subject: Templates for Apache Cloudstack



Hi All.

Would it be possible to get the templates updated from
http://dl.openvm.eu/cloudstack/

I would like to see a ubuntu18 vhd for xenserver if possible :)

Does anyone else have vhd public templates for xenserver ?

Thank You.


>> > Adrian Sender


Re: Templates for Apache Cloudstack

2019-02-18 Thread Nux!
Hi,

Have you noticed the same problem with the Ubuntu ones?

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: asen...@testlabs.com.au
> To: "users" 
> Cc: "Nux!" 
> Sent: Monday, 18 February, 2019 02:54:41
> Subject: Re: Templates for Apache Cloudstack

> Hi Guys,
> 
> Could someone double check Nux's templates for me, note the username for
> centos is "centos"
> 
> 1. Download centos xenserver vhd template to cloudstack
> http://dl.openvm.eu/cloudstack/centos/x86_64/centos-7-xen.vhd.bz2
> 2. Deploy the template with password option set.
> 3. Login with password provided by cloudstack (first login works)
> 4. Turn off VM and reset password.
> 5. Try to login again with the new password. (password still remains
> same as old password, cannot login with new password)
> 
> -Adrian Sender
> 
> 
> 
> 
> On 2019-02-12 19:52, Nux! wrote:
>> Hi,
>> 
>> Can you give this a try? Let me know if it works as expected or not,
>> thanks.
>> 
>> http://dl.openvm.eu/cloudstack/ubuntu/x86_64/ubuntu-18.04-xen.vhd.bz2
>> 
>> --
>> Sent from the Delta quadrant using Borg technology!
>> 
>> Nux!
>> www.nux.ro
>> 
>> - Original Message -
>>> From: "Nux!" 
>>> To: "users" 
>>> Sent: Thursday, 7 February, 2019 09:15:51
>>> Subject: Re: Templates for Apache Cloudstack
>> 
>>> Hello Adrian,
>>> 
>>> I can have a go at it when I get some time these days.
>>> 
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>> 
>>> Nux!
>>> www.nux.ro
>>> 
>>> - Original Message -
>>>> From: asen...@testlabs.com.au
>>>> To: "users" 
>>>> Sent: Thursday, 7 February, 2019 00:04:40
>>>> Subject: Templates for Apache Cloudstack
>>> 
>>>> Hi All.
>>>> 
>>>> Would it be possible to get the templates updated from
>>>> http://dl.openvm.eu/cloudstack/
>>>> 
>>>> I would like to see a ubuntu18 vhd for xenserver if possible :)
>>>> 
>>>> Does anyone else have vhd public templates for xenserver ?
>>>> 
>>>> Thank You.
>>>> 
> >> > Adrian Sender


Re: Templates for Apache Cloudstack

2019-02-17 Thread Boris Stoyanov
Hi,

have you added password management to your templates?

please have a look on this article: 
http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.8/templates/_password.html

Regards,
Bobby.


boris.stoya...@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 

On 18 Feb 2019, at 4:54, 
asen...@testlabs.com.au<mailto:asen...@testlabs.com.au> wrote:

Hi Guys,

Could someone double check Nux's templates for me, note the username for centos 
is "centos"

1. Download centos xenserver vhd template to cloudstack 
http://dl.openvm.eu/cloudstack/centos/x86_64/centos-7-xen.vhd.bz2
2. Deploy the template with password option set.
3. Login with password provided by cloudstack (first login works)
4. Turn off VM and reset password.
5. Try to login again with the new password. (password still remains same as 
old password, cannot login with new password)

-Adrian Sender




On 2019-02-12 19:52, Nux! wrote:
Hi,
Can you give this a try? Let me know if it works as expected or not, thanks.
http://dl.openvm.eu/cloudstack/ubuntu/x86_64/ubuntu-18.04-xen.vhd.bz2
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
- Original Message -
From: "Nux!" 
To: "users" 
Sent: Thursday, 7 February, 2019 09:15:51
Subject: Re: Templates for Apache Cloudstack
Hello Adrian,
I can have a go at it when I get some time these days.
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
- Original Message -
From: asen...@testlabs.com.au
To: "users" 
Sent: Thursday, 7 February, 2019 00:04:40
Subject: Templates for Apache Cloudstack
Hi All.
Would it be possible to get the templates updated from
http://dl.openvm.eu/cloudstack/
I would like to see a ubuntu18 vhd for xenserver if possible :)
Does anyone else have vhd public templates for xenserver ?
Thank You.
> Adrian Sender



Re: Templates for Apache Cloudstack

2019-02-17 Thread asender

Hi Guys,

Could someone double check Nux's templates for me, note the username for 
centos is "centos"


1. Download centos xenserver vhd template to cloudstack 
http://dl.openvm.eu/cloudstack/centos/x86_64/centos-7-xen.vhd.bz2

2. Deploy the template with password option set.
3. Login with password provided by cloudstack (first login works)
4. Turn off VM and reset password.
5. Try to login again with the new password. (password still remains 
same as old password, cannot login with new password)


-Adrian Sender




On 2019-02-12 19:52, Nux! wrote:

Hi,

Can you give this a try? Let me know if it works as expected or not, 
thanks.


http://dl.openvm.eu/cloudstack/ubuntu/x86_64/ubuntu-18.04-xen.vhd.bz2

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -

From: "Nux!" 
To: "users" 
Sent: Thursday, 7 February, 2019 09:15:51
Subject: Re: Templates for Apache Cloudstack



Hello Adrian,

I can have a go at it when I get some time these days.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -

From: asen...@testlabs.com.au
To: "users" 
Sent: Thursday, 7 February, 2019 00:04:40
Subject: Templates for Apache Cloudstack



Hi All.

Would it be possible to get the templates updated from
http://dl.openvm.eu/cloudstack/

I would like to see a ubuntu18 vhd for xenserver if possible :)

Does anyone else have vhd public templates for xenserver ?

Thank You.


> Adrian Sender


Re: Templates for Apache Cloudstack

2019-02-12 Thread Nux!
Hi,

Can you give this a try? Let me know if it works as expected or not, thanks.

http://dl.openvm.eu/cloudstack/ubuntu/x86_64/ubuntu-18.04-xen.vhd.bz2

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Nux!" 
> To: "users" 
> Sent: Thursday, 7 February, 2019 09:15:51
> Subject: Re: Templates for Apache Cloudstack

> Hello Adrian,
> 
> I can have a go at it when I get some time these days.
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> - Original Message -
>> From: asen...@testlabs.com.au
>> To: "users" 
>> Sent: Thursday, 7 February, 2019 00:04:40
>> Subject: Templates for Apache Cloudstack
> 
>> Hi All.
>> 
>> Would it be possible to get the templates updated from
>> http://dl.openvm.eu/cloudstack/
>> 
>> I would like to see a ubuntu18 vhd for xenserver if possible :)
>> 
>> Does anyone else have vhd public templates for xenserver ?
>> 
>> Thank You.
>> 
> > Adrian Sender


Re: Templates for Apache Cloudstack

2019-02-07 Thread Nux!
Hello Adrian,

I can have a go at it when I get some time these days.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: asen...@testlabs.com.au
> To: "users" 
> Sent: Thursday, 7 February, 2019 00:04:40
> Subject: Templates for Apache Cloudstack

> Hi All.
> 
> Would it be possible to get the templates updated from
> http://dl.openvm.eu/cloudstack/
> 
> I would like to see a ubuntu18 vhd for xenserver if possible :)
> 
> Does anyone else have vhd public templates for xenserver ?
> 
> Thank You.
> 
> Adrian Sender


RE: Templates for Apache Cloudstack

2019-02-07 Thread Andrija Panic
There is only one @nux 

andrija.pa...@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 


-Original Message-
From: asen...@testlabs.com.au  
Sent: 07 February 2019 01:05
To: users@cloudstack.apache.org
Subject: Templates for Apache Cloudstack

Hi All.

Would it be possible to get the templates updated from 
http://dl.openvm.eu/cloudstack/

I would like to see a ubuntu18 vhd for xenserver if possible :)

Does anyone else have vhd public templates for xenserver ?

Thank You.

Adrian Sender