ONAP members,

Hi, stay on kubernetes 1.8.4 - dont use stable 1.9.0 yet - it just came out of 
RC - as there are problems generating secrets for authenticated docker 
registries in this release we need to get fixed first before we upgrade to 1.9 
(the upgrade from 1.7 to 1.8 looks good so far)
updating jiras/mails
https://wiki.onap.org/display/DW/ONAP+on+Kubernetes#ONAPonKubernetes-InstallKubectl
https://wiki.onap.org/display/DW/3.+Set+Up+the+Undercloud#id-3.SetUptheUndercloud-Installkubectl
The CNCF Kubernetes project and ourselves work together - 
https://github.com/kubernetes/kubernetes/issues/57528 and 
https://jira.onap.org/browse/OOM-522

Officially supported ONAP Kubernetes install version
curl -LO 
https://storage.googleapis.com/kubernetes-release/release/v1.8.4/bin/linux/amd64/kubectl

Downgrade procedure for those that ran the stable.txt download version of the 
Kubernetes curl - for 1.9.0 to 1.8.4 - in the last 6 days

-        Rerun the kubernetes part of the bootstrap install with v1.8.4, all 
the way to the ~/.kube/config token

curl -LO 
https://storage.googleapis.com/kubernetes-release/release/v1.8.4/bin/linux/amd64/kubectl

chmod +x ./kubectl

sudo mv ./kubectl /usr/local/bin/kubectl

vi ~/.kube/config

Going forward
The script and wiki instructions are modified to pull only v1.8.4 not vStable

Myself and a couple others had this issue only on new machines/VMs that did not 
have populated docker repos yet including Huabing, some SDNC team, a DevOps - 
when Gordon and I worked together we narrowed it down to secret generation in 
kubectl - Mike mentioned a week ago that we should be stabilizing on Kubernetes 
1.8 as 1.9 has a lot of changes - so this is the first issue with the new K8S 
release out of RC.  Stay on 1.8.4 as the CD server runs this fine until we 
validate 1.8.6

We will address the formal upgrade from 1.8 to 1.9 for Kubernetes in story 
https://jira.onap.org/browse/OOM-535

   When installing OOM via the steps in the wiki or via the provided rancher 
bootstrap script there - verify you are running Kubernetes 1.8.4 (1.8.6 came 
out 2 hours ago but we still need to test it on SDNC) (any 1.8.4- version).
   6 days ago Kubernetes 1.9.0 was marked stable - so using the script up to a 
couple hours ago you would be running a version that just came out of RC and 
has issues with the kubectl secret command required to authenticate with 
secured nexus docker repositories.
   If you use 1.9.0 you will see ImageBackoff exceptions for nexus3 repo docker 
pulls.  With 1.8.4 you will be OK on either the master or amsterdam branches.

The following
https://git.onap.org/oom/tree/kubernetes/oneclick/createAll.bash
fails to create the secret properly

cmd=`echo kubectl --namespace $1-$2 create secret docker-registry $3 
--docker-server=$4 --docker-username=$5 --docker-password=$6 --docker-email=$7`



note: 1.9.0 was released 6 days ago

https://github.com/kubernetes/kubernetes/releases/tag/v1.9.0

Good version check

ubuntu@ip-172-31-83-79:~$ kubectl version

Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.4", 
GitCommit:"9befc2b8928a9426501d3bf62f72849d5cbcd5a3", GitTreeState:"clean", 
BuildDate:"2017-11-20T05:28:34Z", GoVersion:"go1.8.3", Compiler:"gc", 
Platform:"linux/amd64"}

Server Version: version.Info{Major:"1", Minor:"7+", 
GitVersion:"v1.7.7-rancher1", 
GitCommit:"a1ea37c6f6d21f315a07631b17b9537881e1986a", GitTreeState:"clean", 
BuildDate:"2017-10-02T21:33:08Z", GoVersion:"go1.8.3", Compiler:"gc", 
Platform:"linux/amd64"}
Verifying 1.8.6 on lab.onap.info running master:20171221:1700 - stick to 1.8.4 
for now




Michael O'Brien
Amdocs Technology
16135955268
55268
[amdocs-a]

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer 
<https://www.amdocs.com/about/email-disclaimer>
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to