我尝试使用 web 控制台在 openshift 上构建持久的 mysql。当我在 openshift 上构建 wildfly pod 时,它可以成功运行。但是 mysql 和 mariadb 的尝试失败了。我不知道为什么构建 openshift persistent 的 pod 会失败。
以下是日志内容:
--> Scaling mysql-1 to 1
--> Waiting up to 10m0s for pods in deployment mysql-1 to become ready
W0325 10:19:37.240002 1 reflector.go:330] github.com/openshift/origin/pkg/deploy/strategy/support/lifecycle.go:468: watch of *api.Pod ended with: too old resource version: 1037954500 (1037974842)
error: update acceptor rejected mysql-1: pods for deployment "mysql-1" took longer than 600 seconds to become ready
我无法理解此错误消息。在生成 mysql 和 mariadb 容器时,我在 Web 控制台上选择了最小选项。你认为我错过了关键选项吗?
更新
我尽一切努力部署各种持久性数据库,包括 mariadb 和 mysql。但是,上述相同的错误日志消息。我错过了一些关键程序吗?供您参考,以下是 mysql 部署消息:
Failed sync Error syncing pod, skipping: error killing pod: failed to "TeardownNetwork" for "mysql-1-deploy_josephopenshiftproject" with TeardownNetworkError: "Failed to teardown network for pod \"efe80474-15d2-11e7-9f88-0e63b9c1c48f\" using network plugins \"cni\": CNI request failed with status 400: 'Failed to ensure that nat chain POSTROUTING jumps to MASQUERADE: error checking rule: exit status 4: iptables: Resource temporarily unavailable.\n\n'"