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" <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, <asen...@testlabs.com.au> 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" <users@cloudstack.apache.org>
    >> >> Cc: "Nux!" <n...@li.nux.ro>
    >> >> 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!" <n...@li.nux.ro>
    >> >>>> To: "users" <users@cloudstack.apache.org>
    >> >>>> 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" <users@cloudstack.apache.org>
    >> >>>>> 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
    >> 
    

Reply via email to