{"id":11802,"date":"2024-06-17T10:36:06","date_gmt":"2024-06-17T02:36:06","guid":{"rendered":"https:\/\/nj.transwarp.cn:8180\/?p=11802"},"modified":"2024-06-17T10:36:05","modified_gmt":"2024-06-17T02:36:05","slug":"tdc%e5%ae%b9%e5%99%a8%e6%8c%82%e8%bd%bd%e6%8a%a5%e9%94%99error-put-http-warpdrive-manager-service9500-v1-volumesactionupdate-eof%e6%8e%92%e6%9f%a5%e6%80%9d%e8%b7%af","status":"publish","type":"post","link":"https:\/\/kbwp.transwarp.cn\/?p=11802","title":{"rendered":"TDC\u5bb9\u5668\u6302\u8f7d\u62a5\u9519 error: Put &#8220;http:\/\/warpdrive-manager-service:9500\/v1\/volumes?action=update&#8221;: EOF \u6392\u67e5\u601d\u8def"},"content":{"rendered":"<h3>\u6982\u8981\u63cf\u8ff0<\/h3>\n<p>\u672c\u6587\u63cf\u8ff0\u5bb9\u5668\u91cd\u542f\u6302\u8f7d\u5931\u8d25\u62a5\u9519\u7684\u6392\u67e5\u601d\u8def\uff0c\u4ee5\u53ca\u89e3\u51b3\u65b9\u6848\uff1a<\/p>\n<pre><code class=\"language-java\">error: Put \"http:\/\/warpdrive-manager-service:9500\/v1\/volumes?action=update\": EOF\nunable to attach or mount volumes: unmounted volumes=[mp-user-local-tomcat-logs mp-usr-local-tomcat-webapps], unattached volumes=[default-token-8697s mp-usr-local-tomcat-logs mp-usr-local-tomcat-webapps]: timed out waiting for the condition<\/code><\/pre>\n<h3>\u8be6\u7ec6\u63cf\u8ff0<\/h3>\n<h4>\u95ee\u9898\u73b0\u8c61<\/h4>\n<p>TDC3.0.0 \u73af\u5883\uff0cpod\u5904\u4e8econtainercreating\u72b6\u6001<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/02\/image-1707227176635.png\" alt=\"file\" \/><\/p>\n<pre><code class=\"language-shell\">kubectl describe pod xxxx -n yyy<\/code><\/pre>\n<p>\u67e5\u770bpod\u7684events \u62a5\u9519<\/p>\n<pre><code class=\"language-shell\">error: Put \"http:\/\/warpdrive-manager-service:9500\/v1\/volumes?action=update\": EOF<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/02\/image-1707227252138.png\" alt=\"file\" \/><\/p>\n<h4>\u6392\u67e5\u601d\u8def<\/h4>\n<h5>1 \u68c0\u67e5 warpdrive-operator \u7684pod\u72b6\u6001<\/h5>\n<pre><code class=\"language-shell\">kubectl get pod -A | grep warpdrive-operator<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/02\/image-1707227875334.png\" alt=\"file\" \/><\/p>\n<h5>2 \u67e5\u770bcert\u72b6\u6001<\/h5>\n<pre><code class=\"language-shell\">kubectl get pod -A | grep cert<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/02\/image-1707227948660.png\" alt=\"file\" \/><\/p>\n<h5>3 \u8f93\u51facaBundle \u548cca.crt\u5185\u5bb9\u8fdb\u884c\u6bd4\u5bf9<\/h5>\n<pre><code class=\"language-shell\">kubectl get mutatingwebhookconfiguration warpdrive-operator-mutating-webhook-configuration -oyaml | grep caBundle\nkubectl get secret warpdrive-operator-webhook-server-cert -nkube-system -oyaml | grep ca.crt<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/02\/image-1707228247910.png\" alt=\"file\" \/><\/p>\n<p>\u5bf9\u6bd4\u53d1\u73b0\u7b7e\u53d1webhook\u7684ca\u548csecret\u7684ca\u4e0d\u4e00\u81f4<\/p>\n<h5>4 \u89e3\u51b3\u65b9\u6848<\/h5>\n<pre><code class=\"language-shell\">kubectl edit mutatingwebhookconfiguration warpdrive-operator-mutating-webhook-configuration\n\nkubectl edit validatingwebhookconfiguration warpdrive-operator-validating-webhook-configuration<\/code><\/pre>\n<p>\u628a\u6240\u6709\u7684caBundle\u5b57\u6bb5\uff0c\u90fd\u66ff\u6362\u6210\u4ee5\u4e0b\u547d\u4ee4\u8f93\u51fa\u7684 ca.crt \u5bf9\u5e94\u7684\u5b57\u6bb5\uff1a<\/p>\n<pre><code class=\"language-shell\">kubectl get secret warpdrive-operator-webhook-server-cert -nkube-system -oyaml | grep ca.crt<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/02\/image-1707228482635.png\" alt=\"file\" \/><\/p>\n<p>\u91cd\u542f cert-manager pod<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/02\/image-1707228742711.png\" alt=\"file\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u63cf\u8ff0 \u672c\u6587\u63cf\u8ff0\u5bb9\u5668\u91cd\u542f\u6302\u8f7d\u5931\u8d25\u62a5\u9519\u7684\u6392\u67e5\u601d\u8def\uff0c\u4ee5\u53ca\u89e3\u51b3\u65b9\u6848\uff1a error: Put &#8220;http:\/\/war ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/kbwp.transwarp.cn\/?p=11802\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11802","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/11802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11802"}],"version-history":[{"count":3,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/11802\/revisions"}],"predecessor-version":[{"id":13376,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/11802\/revisions\/13376"}],"wp:attachment":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}