mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
Fix e2e failure caused due to mon connection from toolbox
i think now its take time to discover the mon IP from svc name in tool box, this is a workaround to fix it. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
025aec3dd3
commit
7d3a18c5b7
@ -3,6 +3,7 @@ package e2e
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
"time"
|
||||||
|
|
||||||
. "github.com/onsi/gomega" // nolint
|
. "github.com/onsi/gomega" // nolint
|
||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
@ -97,6 +98,8 @@ func deployToolBox(c kubernetes.Interface) {
|
|||||||
name := getPodName(rookNS, c, opt)
|
name := getPodName(rookNS, c, opt)
|
||||||
err := waitForPodInRunningState(name, rookNS, c, deployTimeout)
|
err := waitForPodInRunningState(name, rookNS, c, deployTimeout)
|
||||||
Expect(err).Should(BeNil())
|
Expect(err).Should(BeNil())
|
||||||
|
// this is a workaround, as we are hitting "unable to get monitor info from DNS SRV with service name: ceph-mon"
|
||||||
|
time.Sleep(30 * time.Second)
|
||||||
}
|
}
|
||||||
|
|
||||||
func deployRook() {
|
func deployRook() {
|
||||||
|
Loading…
Reference in New Issue
Block a user