RE: cloudstack reset VM password files

2018-11-09 Thread Yordan Kostov
Hey Rene and Ivan, During tests my setup was utilizing Rene scripts: - 99_CloudStack.cfg script successfully makes cloud-init to use Cloudstack data. - 80_root.cfg script was preventing cloud_init to start during boot (missing parameters error message) so I removed it and used the defaul

Re: cloudstack reset VM password files

2018-11-09 Thread Ivan Kudryavtsev
Rene, thank you for your confirmation that it works. I'll check it again, but my configuration looks like yours (haven't checked line by line) and password reset doesn't work with cloud-init from ubuntu apt repository. Our engineer rebuilds template delivery CI/CD pipeline now and we will have a ch

Re: cloudstack reset VM password files

2018-11-09 Thread Rene Moser
Hi again Seems no one seems to read my stuff. cloud-init is able to reset the password (similar the scripts), see https://github.com/cloud-init/cloud-init/blob/master/cloudinit/sources/DataSourceCloudStack.py#L45 WE USE IT! IT REALLY WORKS. Note that it uses the default user, e.g. for CentOS i

Re: cloudstack reset VM password files

2018-11-09 Thread Rafael Weingärtner
Hey guys, I do not know how cloud-init is supposed to work regarding passwords, but I recall having similar issues with SSH keys. After having a key deployed, cloud-init would not update the key, if it was changed in ACS/OpenStack (it has been almost two years that I tested this, so I am not sure i

RE: cloudstack reset VM password files

2018-11-09 Thread Yordan Kostov
Ivan, I can verify that deleting /run/cloud-init does not make the VM get another root password on the next boot (after changing it from ACD gui). Thank you for the info, if I make it work I will let you know. Best regards, Jordan -Original Message- From: Ivan Kudryavtsev [mailto:kudry

Re: cloudstack reset VM password files

2018-11-09 Thread Ivan Kudryavtsev
Hi, Jordan. That's the question, indeed. That's why I was interested in the topic. I don't know the answer to your question. Hopefully, the best one is to change the CloudStack module, but the trick with removing 'breadcrumb' files also should work. пт, 9 нояб. 2018 г. в 13:43, Yordan Kostov : >

RE: cloudstack reset VM password files

2018-11-09 Thread Yordan Kostov
Hello Ivan, Currently working on cloud-init (for Centos 7.5) and how it can be used without the Cloudstack default scripts. I tried deleting the /run/cloud-init folder but the password is not changed. Is there any other place that should be edited/removed ? Best regards, Jorda

Re: cloudstack reset VM password files

2018-11-09 Thread Ivan Kudryavtsev
Hi, Fernando. We also use them. Just wondering if anyone managed these tasks with pure cloud-init. I know it may be forced to do every time checking by removing its tracking files from '/run/...' пт, 9 нояб. 2018 г. в 12:56, Alvarez Fernando : > Hello Ivan, > > > We use the scripts cloud-set-gues

Re: cloudstack reset VM password files

2018-11-09 Thread Alvarez Fernando
Hello Ivan, We use the scripts cloud-set-guest-password (first password and reset password) and cloud-set-guest-sshkey (use sshkey user) in Debian 8, Debian 9, Centos 6 - RHEL6 and Centos 7 - RHEL 7 and works fine!. if you need them I can give them to you. You must put this 2 files in /etc/in

Re: cloudstack reset VM password files

2018-11-09 Thread Ivan Kudryavtsev
Hello, colleagues. Can cloud-init reset password as well? AFAIK initially it runs once for the password, root volume resizes, keys which is fine for initial deployment, but is not good for resetting the credentials. ср, 7 нояб. 2018 г. в 4:58, Yordan Kostov : > Thank you Simon and Andrija :). >

Re: urgent: Unable to apply firewall rules on router

2018-11-09 Thread Rafael Weingärtner
Did you check the logs in the affected router? On Fri, Nov 9, 2018 at 9:28 AM Ugo Vasi wrote: > Hi Glenn, > I tried to restart the manager but nothing changed. Note that this > behavior only occurs on this router, the others work regularly. > As soon as possible restart the router and see what h

Re: urgent: Unable to apply firewall rules on router

2018-11-09 Thread Ugo Vasi
Hi Glenn, I tried to restart the manager but nothing changed. Note that this behavior only occurs on this router, the others work regularly. As soon as possible restart the router and see what happens. Thanks Il 08/11/18 19:36, Glenn Wagner ha scritto: Hi Ugo, Have you tried to just restart

Re: VR corrupted when adding many guest network to VPC

2018-11-09 Thread Andrija Panic
afaik, if ti's the same stuff - then it's here: https://issues.apache.org/jira/browse/CLOUDSTACK- cheers On Fri, 9 Nov 2018 at 06:00, Ivan X Yue wrote: > We are using CloudStack 4.9.3.1. We are using advance networking, and > create VPC network with multiple guest networks. Each guest net