Hi Andrei,

Thanks for sharing, we'll see what to do about QA/testing links coming up in 
Google results. If you read the link, it's not from our official docs website 
(docs.cloudstack.apache.org). This is from this pull request which hasn't been 
merged yet: https://github.com/apache/cloudstack-documentation/pull/215

I'll pass your feedback to the PR's author.


Regards.

________________________________
From: Andrei Mikhailovsky <and...@arhont.com.INVALID>
Sent: Friday, November 26, 2021 17:28
To: dev <dev@cloudstack.apache.org>
Subject: Re: ACS 4.16 documentation issue/error

Hi Rohit,

this is the link where I've found the guides:

http://qa.cloudstack.cloud/docs/WIP-PROOFING/pr/215/adminguide/templates/_cloud_init.html#linux-with-cloud-init

I got the above link from google when I was searching for cloud-init and 
cloudstack templates or something like that.

Sorry, I am not a contributor/developer. Perhaps one of the dev people who are 
doing the templates/documentation could double check the guides and make the 
necessary correction. I've tested it only on Ubuntu Server 20.04 LTS and found 
the problem.

Andrei


 

----- Original Message -----
> From: "Rohit Yadav" <rohit.ya...@shapeblue.com>
> To: "dev" <dev@cloudstack.apache.org>
> Sent: Friday, 26 November, 2021 09:33:46
> Subject: Re: ACS 4.16 documentation issue/error

> Hi Andrei,
>
> Thanks for sharing. Can you share which page/link you found the error, the
> cloud-init docs I found were at:
> https://docs.cloudstack.apache.org/en/latest/adminguide/virtual_machines/user-data.html#using-cloud-init
>
> You may also raise a pull request and propose changes at
> https://github.com/apache/cloudstack-documentation
>
>
> Regards.
>
> ________________________________
> From: Andrei Mikhailovsky <and...@arhont.com.INVALID>
> Sent: Thursday, November 25, 2021 16:25
> To: dev <dev@cloudstack.apache.org>
> Subject: ACS 4.16 documentation issue/error
>
> Hello everyone.
>
> I've been following the Cloud-init integration guides in the ACS 4.16
> documentation and noticed a problem with Ubuntu Server 20.04 LTS. In
> particular, the section "Specify the managed user" shows:
>
> system_info : default_user : name : cloud - user lock_passwd : false # disable
> user password login - true/false sudo : [ \ "ALL=(ALL) ALL \" ]       # User
> permissions disable_root : 0 # root remote login is 0 - enabled, 1 - disabled
> ssh_pwauth : 1 # password login is 0 - disabled, 1- enabled
>
> Adding this produces an error message when trying to use sudo. The error 
> message
> is:
>
> $ sudo su
>>>> /etc/sudoers.d/90-cloud-init-users: syntax error near line 4 <<<
> sudo: parse error in /etc/sudoers.d/90-cloud-init-users near line 4
> sudo: no valid sudoers sources found, quitting
> sudo: unable to initialize policy plugin
>
> Removing the "\" in
> sudo : [ \ "ALL=(ALL) ALL \" ]
> seem to fix the problem for me.
>
> Could you please test this part again to make sure the users are producing
> working templates after following the instructions.
>
> Thanks
>
> Andrei

Reply via email to