cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrija Panic <andrija.pa...@gmail.com>
Subject Re: Templates for Apache Cloudstack
Date Thu, 21 Feb 2019 18:24:36 GMT
Good stuff Lucian, thanks.

On Thu, 21 Feb 2019 at 17:30, Nux! <nux@li.nux.ro> 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!" <nux@li.nux.ro>
> > To: "asender" <asender@testlabs.com.au>
> > Cc: "users" <users@cloudstack.apache.org>
> > 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" <asender@testlabs.com.au>
> >> To: "users" <users@cloudstack.apache.org>
> >> Cc: "Nux!" <nux@li.nux.ro>
> >> 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" <asender@testlabs.com.au>
> >>>> To: "users" <users@cloudstack.apache.org>
> >>>> Cc: "Andrija Panic" <andrija.panic@gmail.com>
> >>>> 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, <asender@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: asender@testlabs.com.au
> >>>>>> >> To: "users" <users@cloudstack.apache.org>
> >>>>>> >> Cc: "Nux!" <nux@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!" <nux@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: asender@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
>


-- 

Andrija Panić

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message