You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/12/21 09:05:33 UTC
[GitHub] [skywalking] LeBW opened a new issue #6042: Skywalking SWCK deploy failure
LeBW opened a new issue #6042:
URL: https://github.com/apache/skywalking/issues/6042
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ ] Question or discussion
- [x] Bug
- [ ] Requirement
- [ ] Feature or performance improvement
___
### Question
- What do you want to know?
When I deploy skywalkng-swck followed by the instruction, the controller fails to start. I want to know how to solve it.
Here is the logs.
```
$ kubectl logs -f skywalking-swck-controller-manager-7ff8f456c4-f4m79 manager -n skywalking-swck-system
container_linux.go:235: starting container process caused "exec: \"/manager\": stat /manager: no such file or directory"
```
___
### Bug
- Which version of SkyWalking, OS, and JRE?
Skywalking Cloud on Kubernetes 0.1.0. I don't change anything.
Kubernetes Version: 0.19.2
- Which company or project?
Personal project.
- What happened?
If possible, provide a way to reproduce the error. e.g. demo application, component version.
___
### Requirement or improvement
- Please describe your requirements or improvement suggestions.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] arugal edited a comment on issue #6042: Skywalking SWCK deploy failure
Posted by GitBox <gi...@apache.org>.
arugal edited a comment on issue #6042:
URL: https://github.com/apache/skywalking/issues/6042#issuecomment-748887023
@LeBW Look like a bug, this can be fixed with the following command:
`kubectl patch deployment.apps/skywalking-swck-controller-manager -p='{"spec": {"template": {"spec": {"containers": [{"name": "manager", "command": ["/bin/manager"]}]}}}}' -n skywalking-swck-system`
---
@hanahmily In version 0.1.0, `command` does not match the path in the image, please confirm :)
![image](https://user-images.githubusercontent.com/26432832/102762628-84229d00-43b3-11eb-93e6-b63aa9354de8.png)
![image](https://user-images.githubusercontent.com/26432832/102762704-9c92b780-43b3-11eb-820b-08fa44d29864.png)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] arugal commented on issue #6042: Skywalking SWCK deploy failure
Posted by GitBox <gi...@apache.org>.
arugal commented on issue #6042:
URL: https://github.com/apache/skywalking/issues/6042#issuecomment-748863450
Hi @LeBW can you provide the image currently using? Use the following command
`kubectl get deployment skywalking-swck-controller-manager -n skywalking-swck-system -o yaml`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] LeBW commented on issue #6042: Skywalking SWCK deploy failure
Posted by GitBox <gi...@apache.org>.
LeBW commented on issue #6042:
URL: https://github.com/apache/skywalking/issues/6042#issuecomment-748893741
@arugal Fixed. Thank u :)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] arugal commented on issue #6042: Skywalking SWCK deploy failure
Posted by GitBox <gi...@apache.org>.
arugal commented on issue #6042:
URL: https://github.com/apache/skywalking/issues/6042#issuecomment-748887023
@LeBW Looks like a bug, this can be fixed with the following command:
`kubectl patch deployment.apps/skywalking-swck-controller-manager -p='{"spec": {"template": {"spec": {"containers": [{"name": "manager", "command": ["/bin/manager"]}]}}}}' -n skywalking-swck-system`
---
@hanahmily In version 0.1.0, `command` does not match the path in the image, please confirm :)
![image](https://user-images.githubusercontent.com/26432832/102762628-84229d00-43b3-11eb-93e6-b63aa9354de8.png)
![image](https://user-images.githubusercontent.com/26432832/102762704-9c92b780-43b3-11eb-820b-08fa44d29864.png)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] LeBW commented on issue #6042: Skywalking SWCK deploy failure
Posted by GitBox <gi...@apache.org>.
LeBW commented on issue #6042:
URL: https://github.com/apache/skywalking/issues/6042#issuecomment-748882499
Hi @arugal The two images are `docker.io/kubesphere/kube-rbac-proxy:v0.4.1` and `apache/skywalking-swck:0.1.0`.
BTW, here is the whole log if it helps.
```
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"labels":{"control-plane":"controller-manager"},"name":"skywalking-swck-controller-manager","namespace":"skywalking-swck-system"},"spec":{"replicas":1,"selector":{"matchLabels":{"control-plane":"controller-manager"}},"template":{"metadata":{"labels":{"control-plane":"controller-manager"}},"spec":{"containers":[{"args":["--secure-listen-address=0.0.0.0:8443","--upstream=http://127.0.0.1:8080/","--logtostderr=true","--v=10"],"image":"docker.io/kubesphere/kube-rbac-proxy:v0.4.1","name":"kube-rbac-proxy","ports":[{"containerPort":8443,"name":"https"}]},{"args":["--metrics-addr=127.0.0.1:8080","--enable-leader-election"],"command":["/manager"],"image":"apache/skywalking-swck:0.1.0","name":"manager","resources":{"limits":{"cpu":"100m","memory":"30Mi"},"requests":{"cpu":"100m","memory":"20Mi"}}}],"terminationGracePeriodSeconds":10}}}}
creationTimestamp: "2020-12-21T08:52:26Z"
generation: 1
labels:
control-plane: controller-manager
managedFields:
- apiVersion: apps/v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:kubectl.kubernetes.io/last-applied-configuration: {}
f:labels:
.: {}
f:control-plane: {}
f:spec:
f:progressDeadlineSeconds: {}
f:replicas: {}
f:revisionHistoryLimit: {}
f:selector:
f:matchLabels:
.: {}
f:control-plane: {}
f:strategy:
f:rollingUpdate:
.: {}
f:maxSurge: {}
f:maxUnavailable: {}
f:type: {}
f:template:
f:metadata:
f:labels:
.: {}
f:control-plane: {}
f:spec:
f:containers:
k:{"name":"kube-rbac-proxy"}:
.: {}
f:args: {}
f:image: {}
f:imagePullPolicy: {}
f:name: {}
f:ports:
.: {}
k:{"containerPort":8443,"protocol":"TCP"}:
.: {}
f:containerPort: {}
f:name: {}
f:protocol: {}
f:resources: {}
f:terminationMessagePath: {}
f:terminationMessagePolicy: {}
k:{"name":"manager"}:
.: {}
f:args: {}
f:command: {}
f:image: {}
f:imagePullPolicy: {}
f:name: {}
f:resources:
.: {}
f:limits:
.: {}
f:cpu: {}
f:memory: {}
f:requests:
.: {}
f:cpu: {}
f:memory: {}
f:terminationMessagePath: {}
f:terminationMessagePolicy: {}
f:dnsPolicy: {}
f:restartPolicy: {}
f:schedulerName: {}
f:securityContext: {}
f:terminationGracePeriodSeconds: {}
manager: kubectl-client-side-apply
operation: Update
time: "2020-12-21T08:52:26Z"
- apiVersion: apps/v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
f:deployment.kubernetes.io/revision: {}
f:status:
f:conditions:
.: {}
k:{"type":"Available"}:
.: {}
f:lastTransitionTime: {}
f:lastUpdateTime: {}
f:message: {}
f:reason: {}
f:status: {}
f:type: {}
k:{"type":"Progressing"}:
.: {}
f:lastTransitionTime: {}
f:lastUpdateTime: {}
f:message: {}
f:reason: {}
f:status: {}
f:type: {}
f:observedGeneration: {}
f:replicas: {}
f:unavailableReplicas: {}
f:updatedReplicas: {}
manager: kube-controller-manager
operation: Update
time: "2020-12-21T09:02:27Z"
name: skywalking-swck-controller-manager
namespace: skywalking-swck-system
resourceVersion: "20012447"
selfLink: /apis/apps/v1/namespaces/skywalking-swck-system/deployments/skywalking-swck-controller-manager
uid: 210bf947-4a70-47a2-9127-285006c35c2c
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
control-plane: controller-manager
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
control-plane: controller-manager
spec:
containers:
- args:
- --secure-listen-address=0.0.0.0:8443
- --upstream=http://127.0.0.1:8080/
- --logtostderr=true
- --v=10
image: docker.io/kubesphere/kube-rbac-proxy:v0.4.1
imagePullPolicy: IfNotPresent
name: kube-rbac-proxy
ports:
- containerPort: 8443
name: https
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
- args:
- --metrics-addr=127.0.0.1:8080
- --enable-leader-election
command:
- /manager
image: apache/skywalking-swck:0.1.0
imagePullPolicy: IfNotPresent
name: manager
resources:
limits:
cpu: 100m
memory: 30Mi
requests:
cpu: 100m
memory: 20Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 10
status:
conditions:
- lastTransitionTime: "2020-12-21T08:52:26Z"
lastUpdateTime: "2020-12-21T08:52:26Z"
message: Deployment does not have minimum availability.
reason: MinimumReplicasUnavailable
status: "False"
type: Available
- lastTransitionTime: "2020-12-21T09:02:27Z"
lastUpdateTime: "2020-12-21T09:02:27Z"
message: ReplicaSet "skywalking-swck-controller-manager-7ff8f456c4" has timed
out progressing.
reason: ProgressDeadlineExceeded
status: "False"
type: Progressing
observedGeneration: 1
replicas: 1
unavailableReplicas: 1
updatedReplicas: 1
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] hanahmily closed issue #6042: Skywalking SWCK deploy failure
Posted by GitBox <gi...@apache.org>.
hanahmily closed issue #6042:
URL: https://github.com/apache/skywalking/issues/6042
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org