ACS 4.16 documentation issue/error

2021-11-25 Thread Andrei Mikhailovsky
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 


[GitHub] [cloudstack-kubernetes-provider] fermosan opened a new issue #36: Interoperability with https://istio.io/

2021-11-25 Thread GitBox


fermosan opened a new issue #36:
URL: https://github.com/apache/cloudstack-kubernetes-provider/issues/36


   Hello,
   
   first of all great work @davidjumani :) 
   
   The loadbalancer is not detected by istio.
   
   kubect-n istio-system get svcem
   NAME   TYPE   CLUSTER-IP  EXTERNAL-IP   PORT(S)  
AGE
   istio-ingressgateway   LoadBalancer   10.109.153.58
15021:32526/TCP,80:32428/TCP,443:30718/TCP   59m
   
   kubectl version
   Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.3", 
GitCommit:"ca643a4d1f7bfe34773c74f79527be4afd95bf39", GitTreeState:"clean", 
BuildDate:"2021-07-15T21:04:39Z", GoVersion:"go1.16.6", Compiler:"gc", 
Platform:"linux/amd64"}
   
   Currently deployed with istio-1.12.0. 
   
   I am not sure about the requirements for making it work at this point but 
anyone thought about it ?
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-go] psycofdj commented on pull request #21: handle type compatibilty for 4.x baseline

2021-11-25 Thread GitBox


psycofdj commented on pull request #21:
URL: https://github.com/apache/cloudstack-go/pull/21#issuecomment-979297926


   rebased for conflicts


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-go] davidjumani commented on pull request #21: handle type compatibilty for 4.x baseline

2021-11-25 Thread GitBox


davidjumani commented on pull request #21:
URL: https://github.com/apache/cloudstack-go/pull/21#issuecomment-979744899


   I'm not for this since it introduces a new type it can break existing 
integrations
   `cannot use resp.HostsMetrics[1].Managementserverid (type cloudstack.CSLong) 
as type string in assignment`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-go] davidjumani edited a comment on pull request #21: handle type compatibilty for 4.x baseline

2021-11-25 Thread GitBox


davidjumani edited a comment on pull request #21:
URL: https://github.com/apache/cloudstack-go/pull/21#issuecomment-979744899


   I'm not for this approach since it introduces a new type it can break 
existing integrations
   `cannot use resp.HostsMetrics[1].Managementserverid (type cloudstack.CSLong) 
as type string in assignment`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-go] rhtyd commented on pull request #21: handle type compatibilty for 4.x baseline

2021-11-25 Thread GitBox


rhtyd commented on pull request #21:
URL: https://github.com/apache/cloudstack-go/pull/21#issuecomment-979746440


   Can we do something like PL has done recently
   
https://github.com/apache/cloudstack-go/commit/d0a8e7d2a3623d00911b71b5e9ce514487658d6e
 @davidjumani review and propose a PR to fix the issue and maintain 
compatibility? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org