cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Gomez <tioc...@gmail.com>
Subject Re: cloud-set-guest-password working with systemctl
Date Tue, 12 Sep 2017 11:45:54 GMT
OMG! This information is Gold for me, I'm crying now, so many years using
clodustack without know this...

Thanks a lot.



Atentamente,
Sebastián Gómez

On Fri, Sep 8, 2017 at 9:14 AM, S. Brüseke - proIO GmbH <
s.brueseke@proio.com> wrote:

> Hi Sebastian,
>
> if you want you can take a look at our preseed and sysprep configs:
> https://gitlab.proio.com/s.brueseke/megonacloudtemplates
>
> You can also find ready templates here: http://openvm.eu/.
>
> Thanks again to Nux. :-)
>
> Mit freundlichen Grüßen / With kind regards,
>
> Swen
>
> -----Ursprüngliche Nachricht-----
> Von: Sebastian Gomez [mailto:tiochan@gmail.com]
> Gesendet: Donnerstag, 7. September 2017 20:52
> An: users@cloudstack.apache.org
> Betreff: Re: cloud-set-guest-password working with systemctl
>
> Could you share them, please?
>
> Yes, I agree, perhaps our doc needs an update.
>
>
> Thanks in advanced.
>
>
>
> Atentamente,
> Sebastián Gómez
>
> On Thu, Sep 7, 2017 at 12:38 PM, Pierre-Luc Dion <pdion891@apache.org>
> wrote:
>
> > Hi,
> >
> > On my side we use cloud-init in all our Linux templates. We got it to
> > work for password, password-reset, sshkey and sshkey-reset. It also
> > support user-data, and provide an easy way to manage a different user
> than root.
> >
> > I think our community documentation need an update on this topic...
> >
> > Cheers,
> >
> > Le 28 août 2017 5:29 PM, "Sebastian Gomez" <tiochan@gmail.com> a écrit :
> >
> > I had the same problem like Marc and I could not resolve it on Ubuntu
> > 16.04.
> > I followed the cloudstack steps to set it up, but the script is not
> > running well on our environment.
> >
> > If I execute the script from command line, it works fine. During the
> > boot process, there is any problem on systemd and DHCP conjunction,
> > and VR is not reachable to reply this request.
> >
> > On the other hand, I found many different versions of this OLD script,
> > and I remember that we had to use other community version also for
> > Ubuntu 14.04. I noticed that this is a very old script, and has not
> > been modified for years.
> > As you proposed, I'm trying to do it via cloud-init. Just landed from
> > holidays I will finish this integration.
> >
> > To do a so simply task like setting up a simple template is becoming a
> > nightmare, so *I would like to know how people *is setting Ubuntu
> > templates up?
> > - SSL key pairs? would be a good way, but Cloudstack 4.9.2 does not
> > allow to manage SSL key pairs using the GUI, only via API, so this is
> > not a way for not advanced users.
> > - Default user/password?
> >
> >
> > I can't believe that we are the only two buddies with this problem.
> >
> >
> >
> > Regards.
> >
> >
> >
> >
> > Atentamente,
> > Sebastián Gómez
> >
> > On Mon, Aug 7, 2017 at 3:36 PM, Pierre-Luc Dion <pdion@cloudops.com>
> > wrote:
> >
> > > Has Syed is saying its most likely because of systemd. Have you try
> > > to
> > use
> > > cloud-init? It work well but need some tuning for password and
> > > sshkey reset...
> > >
> > >
> > >
> > > Le 7 août 2017 09:33, "Syed Ahmed" <sahmed@cloudops.com> a écrit :
> > >
> > >> Hi,
> > >>
> > >> Is the password server mentioned in the logs 192.168.155.1 reachable?
> > The
> > >> password server is hosted on the VR. Sometimes, restarting the
> > >> network will reboot the VR and fix this. If not let us know, we'll
> > >> help you out.
> > >>
> > >> Thanks,
> > >> -Syed
> > >>
> > >> On Fri, Aug 4, 2017 at 9:33 AM, Marc Poll Garcia <
> > >> marc.poll.garcia@upcnet.es
> > >> > wrote:
> > >>
> > >> > Hello everyone,
> > >> >
> > >> > last days we are experiencing some issues on our "Ubuntu 16.04"
> > >> template,
> > >> > created step by step following this tutorial:
> > >> >
> > >> > http://docs.cloudstack.apache.org/projects/cloudstack-
> > >> > administration/en/4.8/templates/_create_linux.html
> > >> >
> > >> > It is happening on "Ubuntu 16.04.2 LTS \n \l" system and
> > >> > "CloudStack 4.9.2.0" version.
> > >> >
> > >> >
> > >> > Unfortunately we detected that some of the features we had, no
> > >> > longer
> > >> work,
> > >> > such as the changing password one.
> > >> >
> > >> > After several test and reviewing it more deeply, i see that it
> > >> > works "intermittently" and the service sometimes does not start on
> boot:
> > >> >
> > >> > /etc/init.d/cloud-set-guest-password status ●
> > >> > cloud-set-guest-password.service - LSB: Init file for Password
> > >> Download
> > >> > Client
> > >> >    Loaded: loaded (/etc/init.d/cloud-set-guest-password; bad;
> > >> > vendor
> > >> > preset: enabled)
> > >> >    Active: *failed* (Result: exit-code) since Thu 2017-08-03
> > >> > 16:09:09
> > >> CEST;
> > >> > 39min ago
> > >> >      Docs: man:systemd-sysv-generator(8)
> > >> >
> > >> > Aug 03 16:08:58 Ubuntu16PassKO systemd[1]: Starting LSB: Init
> > >> > file for Password Download Client...
> > >> > Aug 03 16:08:58 Ubuntu16PassKO cloud-set-guest-password[1062]:  *
> > >> Starting
> > >> > cloud cloud-set-guest-password
> > >> > Aug 03 16:09:09 Ubuntu16PassKO cloud[1252]: DHCP file
> > >> > (/var/lib/dhcp/dhclient-ens160.leases) exists. No need to restart
> > >> > dhclient.
> > >> > Aug 03 16:09:09 Ubuntu16PassKO cloud[1256]: Using DHCP lease from
> > >> > /var/lib/dhcp/dhclient-ens160.leases
> > >> > Aug 03 16:09:09 Ubuntu16PassKO cloud[1263]: Found password server
> > >> > IP
> > >> > 192.168.155.1 in /var/lib/dhcp/dhclient-ens160.leases
> > >> > Aug 03 16:09:09 Ubuntu16PassKO cloud[1264]: Sending request to
> > password
> > >> > server at 192.168.155.1
> > >> > Aug 03 16:09:09 Ubuntu16PassKO systemd[1]:
> > >> > cloud-set-guest-password.service: *Control process exited,
> > code=exited
> > >> > status=4*
> > >> > Aug 03 16:09:09 Ubuntu16PassKO systemd[1]: *Failed to start LSB:
> > >> > *Init
> > >> file
> > >> > for Password Download Client.
> > >> > Aug 03 16:09:09 Ubuntu16PassKO systemd[1]:
> > >> > cloud-set-guest-password.service: Unit entered failed state.
> > >> > Aug 03 16:09:09 Ubuntu16PassKO systemd[1]:
> > >> > cloud-set-guest-password.service: Failed with result 'exit-code'.
> > >> >
> > >> >
> > >> > LSB part from the script:
> > >> >
> > >> > root@Uprovav1:~# head -n20 /etc/init.d/cloud-set-guest-password
> > >> >
> > >> > #!/bin/bash
> > >> >
> > >> > #
> > >> >
> > >> > # Init file for Password Download Client
> > >> >
> > >> > #
> > >> >
> > >> > ### BEGIN INIT INFO
> > >> >
> > >> > # Provides:             cloud-set-guest-password
> > >> >
> > >> > # Required-Start:       $local_fs $syslog $network
> > >> >
> > >> > # Required-Stop:        $local_fs $syslog $network
> > >> >
> > >> > # Default-Start:        2 3 4 5
> > >> >
> > >> > # Default-Stop:         0 1 6
> > >> >
> > >> > # Short-Description:    Init file for Password Download Client
> > >> >
> > >> > ### END INIT INFO
> > >> >
> > >> >
> > >> > Is it happening to anyone else? Is there another compatible
> > >> > version
> > from
> > >> > this script?
> > >> >
> > >> > Or maybe we have to adapt it to the new "systemctl"
> > >> >
> > >> > Thanks in advance.
> > >> >
> > >> > --
> > >> > Marc Poll Garcia
> > >> > Technology Infrastructure . Àrea de Serveis TIC
> > >> > Telèfon:  93.405.43.57
> > >> >
> > >> > [image: UPCnet]
> > >> >
> > >> > ----------------------------------------------------------
> > >> > Aquest correu electrònic pot contenir informació confidencial o
> > >> legalment
> > >> > protegida i està exclusivament dirigit a la persona o entitat
> > >> destinatària.
> > >> > Si vostè no és el destinatari final o persona encarregada de
> > >> recollir-lo,
> > >> > no està autoritzat a llegir-lo, retenir-lo, modificar-lo,
> > distribuir-lo,
> > >> > copiar-lo ni a revelar el seu contingut. Si ha rebut aquest
> > >> > correu electrònic per error, li preguem que informi al remitent i
> > >> > elimini del
> > >> seu
> > >> > sistema el missatge i el material annex que pugui contenir.
> > >> > Gràcies per la seva col.laboració.
> > >> > ----------------------------------------------------------
> > >> >
> > >> > *** Si us plau, no m'imprimeixis. Vull seguir sent digital ***
> > >> > *** Por favor, no me imprimas. Quiero seguir siendo digital ***
> > >> > *** Please, don't print me. I want to remain digital ***
> > >> > ----------------------------------------------------------
> > >> >
> > >>
> > >
> >
>
>
> - proIO GmbH -
> Geschäftsführer: Swen Brüseke
> Sitz der Gesellschaft: Frankfurt am Main
>
> USt-IdNr. DE 267 075 918
> Registergericht: Frankfurt am Main - HRB 86239
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten haben,
> informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind
> nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this e-mail in
> error) please notify
> the sender immediately and destroy this e-mail.
> Any unauthorized copying, disclosure or distribution of the material in
> this e-mail is strictly forbidden.
>
>
>

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