You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/09/27 11:41:55 UTC

[GitHub] [apisix] jiahui1988 opened a new issue, #8000: bug: apisix 当通过接口只修改主动健康检查的配置时候,再通过dashbord查看发现被动健康检查也被打开了

jiahui1988 opened a new issue, #8000:
URL: https://github.com/apache/apisix/issues/8000

   ### Current Behavior
   
   1): 通过接口添加一个被动健康检查
   curl http://127.0.0.1:9080/apisix/admin/routes/101 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "uri": "/index.html",
       "plugins": {
           "limit-count": {
               "count": 2,
               "time_window": 60,
               "rejected_code": 503,
               "key": "remote_addr"
           }
       },
       "upstream": {
            "nodes": {
               "127.0.0.1:1980": 1
           },
           "type": "roundrobin",
           "retries": 2,
           "checks": {
               "active": {
                   "http_path": "/status",
                   "host": "foo.com",
                   "healthy": {
                       "interval": 2,
                       "successes": 1
                   },
                   "unhealthy": {
                       "interval": 1,
                       "http_failures": 2
                   }
               }
           }
       }
   }'
   2):通过dashboard查看该配置,发现被健康检查也被打开了(且通过响应的数据看,响应数据确实携带了被动健康检查等相关字段)。
   
   ### Expected Behavior
   
   此时的被动健康检查自带应该是关闭状态。且响应数据不应该携带被动健康检查字段
   
   ### Error Logs
   
   无日志输出。
   
   ### Steps to Reproduce
   
   1): 通过接口添加一个被动健康检查
   curl http://127.0.0.1:9080/apisix/admin/routes/101 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "uri": "/index.html",
       "plugins": {
           "limit-count": {
               "count": 2,
               "time_window": 60,
               "rejected_code": 503,
               "key": "remote_addr"
           }
       },
       "upstream": {
            "nodes": {
               "127.0.0.1:1980": 1
           },
           "type": "roundrobin",
           "retries": 2,
           "checks": {
               "active": {
                   "http_path": "/status",
                   "host": "foo.com",
                   "healthy": {
                       "interval": 2,
                       "successes": 1
                   },
                   "unhealthy": {
                       "interval": 1,
                       "http_failures": 2
                   }
               }
           }
       }
   }'
   2):通过dashboard查看该配置,发现被健康检查也被打开了(且通过响应的数据看,响应数据确实携带了被动健康检查等相关字段)。
   
   ### Environment
   
   - APISIX version:通过docker安装的2.15(自带dashboard)


-- 
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] github-actions[bot] closed issue #8000: bug: apisix When only the active health check configuration is modified through the interface, the passive health check is also turned on through dashbord

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #8000: bug: apisix When only the active health check configuration is modified through the interface, the passive health check is also turned on through dashbord
URL: https://github.com/apache/apisix/issues/8000


-- 
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] github-actions[bot] commented on issue #8000: bug: apisix When only the active health check configuration is modified through the interface, the passive health check is also turned on through dashbord

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

   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks 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] github-actions[bot] commented on issue #8000: bug: apisix When only the active health check configuration is modified through the interface, the passive health check is also turned on through dashbord

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

   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] hf400159 commented on issue #8000: bug: apisix 当通过接口只修改主动健康检查的配置时候,再通过dashbord查看发现被动健康检查也被打开了

Posted by GitBox <gi...@apache.org>.
hf400159 commented on issue #8000:
URL: https://github.com/apache/apisix/issues/8000#issuecomment-1259426574

   fixed!  please refer to: https://github.com/apache/apisix/pull/7850


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