OpenShift app - cannot see logs using rhc as admin collaborator

老子叫甜甜 提交于 2019-12-12 20:36:10

问题


I am a collaborator on an OpenShift Online app with administrator privileges, and when I do rhc apps I can see the application, but when I do rhc tail <appname> I get Application '<appname>' not found.

Is there something I am missing?

Using rhc on Ubuntu Server 12.04.


回答1:


"rhc apps" shows me the app that I am authorized to administer as a collaborator, however "rhc app stop" says - "app not found" rhc -a app stop gave me the usage help - rhc app-stop <app> [--namespace NAME] which hinted that a namespace might be necessary for stopping an app in another domain where I am a collaborator

and rhc app-stop testappname --namespace domainname worked!




回答2:


Try appending your rhc commands with the -l option to specify a login.



来源:https://stackoverflow.com/questions/22193021/openshift-app-cannot-see-logs-using-rhc-as-admin-collaborator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!