Export HOME, not home.  All caps.

Lusheng


-------- Original message --------
From: Guangrong Fu <[email protected]>
Date: 10/21/18 11:14 PM (GMT-05:00)
To: [email protected], [email protected]
Cc: [email protected], "VENKATESH KUMAR, VIJAY" <[email protected]>, 
[email protected], [email protected]
Subject: [onap-discuss] 答复: [oom][integration] "kubectl" commands are 
failing//答复: RE: Help is Needed on SB04


Here's the complete steps I've tried:


[cid:0047000102d7dfd902fbc05900002]


Thanks,

Guangrong





原始邮件
发件人:付光荣10144542
收件人:[email protected] <[email protected]>;
抄送人:Guangrong Fu <[email protected]>;[email protected] 
<[email protected]>;[email protected] 
<[email protected]>;[email protected] 
<[email protected]>;[email protected] <[email protected]>;
日 期 :2018年10月22日 10:22
主 题 :[oom][integration] "kubectl" commands are failing//答复: RE: Help is Needed 
on SB04

Hi there,


I'm having trouble in performing any operations related to "kubectl" in the 
open lab. Here's the screenshot of the error(s):


[cid:0047000102d7b93b055e1a4700001]


I've tried the commands under different projects (Integration-SB-04, 
Integration-OOM-Staging-Daily and Integration-OOM-Daily). The same error 
occurred in all of them. Vijay's suggestion didn't seem to work for me.


This is a little bit urgent because it's preventing me from completing the 
pairwise testing. Any help will be sincerely appreciated.


Thanks,

Guangrong






发件人:VENKATESHKUMAR,VIJAY <[email protected]>
收件人:Guangrong Fu <[email protected]>;
抄送人:付光荣10144542;
日 期 :2018年10月20日 19:17
主 题 :RE: Help is Needed on SB04
Hi Guangrong,
The error indicates issue for rancher to communicate with k8s cluster.

I just checked SB04 though and it looks k8s/kubectl are healthy; but the 
bootstrap pod you are trying to execute into though is not valid.

vv770d@pod-onap-01-vjhost:~$ ssh -i ~/onap_dev  
[email protected]<mailto:[email protected]>
ubuntu@onap-oom-rancher:~$ sudo su -
root@onap-oom-rancher:~# kubectl get pods -n onap | grep bootstrap
dev-dcaegen2-dcae-bootstrap-776cf86d49-ljqxm                      1/1       
Running   0          1d
root@onap-oom-rancher:~# kubectl exec -it -n onap 
dev-dcaegen2-dcae-bootstrap-776cf86d49-ljqxm /bin/bash
[root@dev-dcaegen2-dcae-bootstrap-776cf86d49-ljqxm /]#


In some env, it was required explicitly to set home for kubectl to work �C but 
dint need in SB04.
export home=/root

Also besides SB04, you could also check this on 
Integration-OOM-Staging-Daily/Integration-OOM-Daily environment tenant; they 
have full setup too �C but they are torn down daily.

Thanks,
Vijay

From: Guangrong Fu <[email protected]>
Sent: Friday, October 19, 2018 11:07 PM
To: VENKATESH KUMAR, VIJAY <[email protected]>
Cc: [email protected]
Subject: Re: Help is Needed on SB04

Looping myself in in case I could not access my personal mailbox on Gmail.

Guangrong Fu 
<[email protected]<mailto:[email protected]>>于2018年10月20日周六 上午11:05写道:
Hi Vijay,

Since I have no access to the DCAE project in the open lab, I tried to do 
something in SB04. But when I executed "kubectl" command, errors prompted.

Such as:

root@onap-oom-rancher:~# kubectl get pod -n onap
error: couldn't get version/kind; json parse error: json: cannot unmarshal 
string into Go value of type struct { APIVersion string 
"json:\"apiVersion,omitempty\""; Kind string "json:\"kind,omitempty\"" }

root@onap-oom-rancher:~# kubectl exec -it -n onap 
dev-dcaegen2-dcae-bootstrap-776cf86d49-mxzq6 /bin/bash
error: serializer for text/html doesn't exist

etc.

Do you have any experience in this? I am contacting Stephen Gooch for help, but 
he didn't respond.

Thanks,
Guangrong




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

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

Reply via email to