Thank you, Brian. Lusheng figured out a way for me early today. I’ll try this 
approach tomorrow. Best Regards,Guangrong 


 


原始邮件
 
 




发件人:bf1936<[email protected]>



收件人:onap-discuss<[email protected]>;付光荣10144542;helen.chen<[email protected]>;mike.elliott<[email protected]>;



抄送人:steven20027<[email protected]>;vv770d<[email protected]>;gildas.lanilis<[email protected]>;



日期:2018-10-22 20:45:17



主题:Re: [onap-discuss] 答复: [oom][integration] "kubectl" commands are 
failing//答复: RE: Help is Needed on SB04



 
 
 
 
Guangrong,




 



 

 
Not sure what the difference is but its working for me .




 



 

 
Only think I noticed is you are doing “sudo -s” instead of “sudo su”




 



 

 
The .helm configuration is under /root so I think you need to use “sudo su”.




 



 

 
If I just do sudo -s I get the same error as you. If I do sudo su I get the 
correct behavoir.




 



 

 
Brian




 



 

 



 

 
*** System restart required ***




 
Last login: Mon Oct 22 07:13:22 2018 from 10.12.25.157




 
ubuntu@onap-oom-rancher:~$ sudo su




 
root@onap-oom-rancher:/home/ubuntu# kubectl -n onap get pod | grep boot




 
dev-dcaegen2-dcae-bootstrap-776cf86d49-ljqxm                      1/1       
Running   0          3d




 
root@onap-oom-rancher:/home/ubuntu# kubectl get pod -n onap | grep boot




 
dev-dcaegen2-dcae-bootstrap-776cf86d49-ljqxm                      1/1       
Running   0          3d




 



 

 
From: [email protected] <[email protected]> On Behalf Of 
Guangrong Fu
 Sent: Sunday, October 21, 2018 11:15 PM
 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:



  



 



  



 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):



  



 



  



 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]




 
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 – 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 – 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]>于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 (#13173): https://lists.onap.org/g/onap-discuss/message/13173
Mute This Topic: https://lists.onap.org/mt/27485002/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to