You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "orangezhang123 (via GitHub)" <gi...@apache.org> on 2023/04/19 08:11:33 UTC

[GitHub] [apisix-ingress-controller] orangezhang123 opened a new issue, #1802: request help: upgrade apisix, error: stream mode is disabled, can not add any stream routes

orangezhang123 opened a new issue, #1802:
URL: https://github.com/apache/apisix-ingress-controller/issues/1802

   ### Issue description
   
   i upgrade apisix by helm ,this is the upgrade cmd:
   helm upgrade apisix apisix/apisix --set gateway.type=LoadBalancer --set admin.allow.ipList="{0.0.0.0/0}" --set etcd.persistence.storageClass="cbs" --set etcd.persistence.size="20Gi"    --namespace ingress-apisix --version 0.11.3 
   however,after i upgrade the apisix, the apisx pod 和apisix-ingress-controller pod print the flowing error message:
   apisx pod:
   2023/04/19 07:59:25 [warn] 49#49: *893808 [lua] init.lua:164: handler(): stream mode is disabled, can not add any stream routes, client: 192.168.17.30, server: , request: "GET /apisix/admin/stream_routes HTTP/1.1", host: "apisix-admin.ingress-apisix.svc.cluster.local:9180"
   2023/04/19 07:59:25 [warn] 49#49: *893808 [lua] init.lua:164: handler(): stream mode is disabled, can not add any stream routes, client: 192.168.17.30, server: , request: "GET /apisix/admin/stream_routes HTTP/1.1", host: "apisix-admin.ingress-apisix.svc.cluster.local:9180"
   
   apisix-ingress-controller pod  error message:
   
   2023-04-19T16:03:18+08:00	error	apisix/cluster.go:212	failed to list routes in APISIX: Get "http://apisix-admin.ingress-apisix.svc.cluster.local:9180/apisix/admin/routes": context canceled
   2023-04-19T16:03:18+08:00	error	apisix/cluster.go:172	failed to sync cache	{"cost_time": "59.823µs", "cluster": "default"}
   2023-04-19T16:03:18+08:00	info	ingress/controller.go:380	controller now is running as a candidate	{"namespace": "ingress-apisix", "pod": "apisix-ingress-controller-66fcc99f89-vnqdw"}
   I0419 16:03:18.905856       1 leaderelection.go:248] attempting to acquire leader lease ingress-apisix/ingress-apisix-leader...
   2023-04-19T16:03:18+08:00	info	ingress/controller.go:328	LeaderElection	{"message": "apisix-ingress-controller-66fcc99f89-vnqdw became leader", "event_type": "Normal"}
   I0419 16:03:18.912413       1 leaderelection.go:258] successfully acquired lease ingress-apisix/ingress-apisix-leader
   2023-04-19T16:03:18+08:00	info	ingress/controller.go:413	controller tries to leading ...	{"namespace": "ingress-apisix", "pod": "apisix-ingress-controller-66fcc99f89-vnqdw"}
   2023-04-19T16:03:18+08:00	info	apisix/stream_route.go:39	resource stream_routes is disabled
   2023-04-19T16:03:18+08:00	warn	apisix/cluster.go:334	waiting cluster default to ready, it may takes a while
   2023-04-19T16:03:18+08:00	info	apisix/cluster.go:374	syncing schema	{"cluster": "default"}
   2023-04-19T16:03:18+08:00	info	apisix/cluster.go:162	syncing cache	{"cluster": "default"}
   2023-04-19T16:03:18+08:00	error	apisix/route.go:119	failed to list routes: unexpected status code 404; error message: {"message":"Key not found"}
   2023-04-19T16:03:18+08:00	error	apisix/cluster.go:212	failed to list routes in APISIX: unexpected status code 404; error message: {"message":"Key not found"}
   2023-04-19T16:03:19+08:00	info	gin@v1.8.1/context.go:173	path: /healthz, status: 200, method: GET, query: , ip: 192.168.17.1, user-agent: kube-probe/1.18+, errors: , cost: 36.458µs
   2023-04-19T16:03:20+08:00	error	apisix/route.go:119	failed to list routes: unexpected status code 404; error message: {"message":"Key not found"}
   2023-04-19T16:03:20+08:00	error	apisix/cluster.go:212	failed to list routes in APISIX: unexpected status code 404; error message: {"message":"Key not found"}
   2023-04-19T16:03:22+08:00	error	apisix/route.go:119	failed to list routes: unexpected status code 404; error message: {"message":"Key not found"}          
   2023-04-19T16:03:22+08:00	error	apisix/cluster.go:212	failed to list routes in APISIX: unexpected status code 404; error message: {"message":"Key not found"}
   2023-04-19T16:03:24+08:00	error	apisix/route.go:119	failed to list routes: unexpected status code 404; error message: {"message":"Key not found"}
   2023-04-19T16:03:24+08:00	error	apisix/cluster.go:212	failed to list routes in APISIX: unexpected status code 404; error message: {"message":"Key not found"}
   
   
   
   the etcd pod  restart again and again
   
   i search the  github issue to help, and try to use 
   --set ingress-controller.enabled=true --set dashboard.enabled=true  to upgrade apisix again
   but  upgrade failed,here is the error message:
   
   Error: UPGRADE FAILED: rendered manifests contain a resource that already exists. Unable to continue with update: ServiceAccount "apisix-dashboard" in namespace "ingress-apisix" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "apisix": current value is "apisix-dashboard"
   
   hope get help,thanks
   
   
   
   
   
   ### Environment
   
   apisix version: 版本(tag):3.2.0-debian
   apisix-ingress-controller: 版本(tag):1.5.0


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] orangezhang123 commented on issue #1802: request help: upgrade apisix, error: stream mode is disabled, can not add any stream routes

Posted by "orangezhang123 (via GitHub)" <gi...@apache.org>.
orangezhang123 commented on issue #1802:
URL: https://github.com/apache/apisix-ingress-controller/issues/1802#issuecomment-1514919046

   what do you mean? Do you know help to solve the problems? I am freshman for the apisix user, Really 
   Hope your reply and help  ,Thanks very much !


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] github-actions[bot] closed issue #1802: request help: upgrade apisix, error: stream mode is disabled, can not add any stream routes

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1802: request help: upgrade apisix, error: stream mode is disabled, can not add any stream routes
URL: https://github.com/apache/apisix-ingress-controller/issues/1802


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1802: request help: upgrade apisix, error: stream mode is disabled, can not add any stream routes

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1802:
URL: https://github.com/apache/apisix-ingress-controller/issues/1802#issuecomment-1689123279

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] orangezhang123 commented on issue #1802: request help: upgrade apisix, error: stream mode is disabled, can not add any stream routes

Posted by "orangezhang123 (via GitHub)" <gi...@apache.org>.
orangezhang123 commented on issue #1802:
URL: https://github.com/apache/apisix-ingress-controller/issues/1802#issuecomment-1519017204

   ok ,i will try this ,thanks


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1802: request help: upgrade apisix, error: stream mode is disabled, can not add any stream routes

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1802:
URL: https://github.com/apache/apisix-ingress-controller/issues/1802#issuecomment-1646717704

   This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1802: request help: upgrade apisix, error: stream mode is disabled, can not add any stream routes

Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #1802:
URL: https://github.com/apache/apisix-ingress-controller/issues/1802#issuecomment-1514741762

   FYI
   https://github.com/apache/apisix-helm-chart/blob/5092739f02dd9d29587ed319f797f23e0992c019/charts/apisix/templates/configmap.yaml#L102-L132


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] shreemaan-abhishek commented on issue #1802: request help: upgrade apisix, error: stream mode is disabled, can not add any stream routes

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #1802:
URL: https://github.com/apache/apisix-ingress-controller/issues/1802#issuecomment-1518966887

   @orangezhang123 you can pass the `--set gateway.stream.enabled=true` flag when installing apisix ingress with helm.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org