It looked like dockerd was messed up. I was not able to restart the rancher 
server. In fact it said that no such container existed.

I had no choice but to restart docker itself. Everything seems to be working 
now.

I tried the following commands:

kubectl version
helm ls
kubectl -n onap get pods

and they all are working fine.

Thanks,
-- K i r a n

From: [email protected] [mailto:[email protected]] On 
Behalf Of Ukponmwan, Itohan
Sent: Thursday, October 25, 2018 10:54 AM
To: [email protected]; [email protected]
Subject: Re: [onap-discuss] Issues with Tiller (Cannot Connect to Tiller)

Thanks Steve. Is it possible to run these commands without doing a new install 
or does this have to be integrated into the ONAP install. I ask because when I 
try to run the first command, I see the same kubectl error (The connection to 
the server 10.12.5.195:8080 was refused - did you specify the right host or 
port?) I have seen with other kubectl commands.

Thanks,
Itohan
From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Steve Siani
Sent: Thursday, October 25, 2018 10:44 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [onap-discuss] Issues with Tiller (Cannot Connect to Tiller)

Hi Itohan,

I have also faced this issue when installing ONAP recently.

The problem comes from the fact that there is no service account for the Tiller 
service.

To solve this issue, you just need to create a Kubernetes service account for 
Tiller and init helm. See the command bellow
$kubectl --namespace kube-system create serviceaccount tiller
$kubectl create clusterrolebinding tiller --clusterrole cluster-admin 
--serviceaccount=kube-system:tiller
$helm init --service-account tiller --upgrade

Regards,
Steve


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13317): https://lists.onap.org/g/onap-discuss/message/13317
Mute This Topic: https://lists.onap.org/mt/27623611/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to