查看“Smartphy”的源代码
←
Smartphy
跳转至:
导航
,
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
== iptable == === container里ping不通外面 === <source lang="shell"> sudo iptables -t nat -A POSTROUTING -s 192.168.125.0/24 -o ens192 -j MASQUERADE </source> == GCP container == === debug === <source lang="shell"> docker pull "dockerhub.cisco.com/cabu-cmts-orch-docker/gcp-service:debug" </source> === 设置debug模式 === <source lang="shell" line start="1"> kubectl get pods --all-namespaces kubectl exec --namespace=kube-system -it <robot-orch-container> bash # 进入orch container 后 robotctl spec - generates the new yaml file for the containers robotctl update – my guess updates pod.conf robotctl stop – stop existing default namespace containers, sometimes I needed to wait for few seconds till they stopped kubectl get pods --all-namespaces --- check that all default namespace containers stopped robotctl start – start all containers kubectl get pods --all-namespaces --- verify all containers RUNNING # copy image scp qingwyan@10.75.12.21:/home/qingwyan/workspace3/gcp-service/spring/target/gcp-service-0.1-SNAPSHOT.jar . # 启动 java -jar -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5006 gcp-service-0.1-SNAPSHOT.jar </source> == nso == === debug手段 === * 状态为disable <source lang="shell" line start="1" highlight="5"> admin@ncs# show devices device state devices device 2c678746-c18d-3f32-8bcc-74a64c76da91 state oper-state disabled state oper-state-error-tag noconnection # 查看错误原因 admin@ncs# devices device 2c678746-c18d-3f32-8bcc-74a64c76da91 sync-from result false info Failed to authenticate towards device 2c678746-c18d-3f32-8bcc-74a64c76da91: Bad password for local/remote user admin/admin Auth failed </source> == dhcp ==
返回至
Smartphy
。
导航菜单
个人工具
创建账户
登录
命名空间
页面
讨论
不转换
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
帮助
工具
链入页面
相关更改
特殊页面
页面信息