Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create drenv end-to-end failover/relocate test using VRG KubeObjectProtection without OCM #902

Open
hatfieldbrian opened this issue May 30, 2023 · 1 comment
Assignees
Labels
test Testing related issue

Comments

@hatfieldbrian
Copy link
Collaborator

kubeObjectProtection requirements

  1. Velero controller v1.9 or greater installed and running in each cluster
  2. Velero controller namespace name specified in Ramen config map's kubeObjectProtection section else default velero
  3. Velero BackupStorageLocation, Backup, and Restore CRDs installed in each cluster
    • Note: Ramen only watches Velero's Backup and Restore resources, not its BackupStorageLocations
  4. S3 credentials in a secret in the Velero controller namespace in a key with the following AWS format
    [default]
    aws_access_key_id=<AWS_ACCESS_KEY_ID>
    aws_secret_access_key=<AWS_SECRET_ACCESS_KEY>
    
    • Note: A VRG's spec.s3Profiles are used for both native PV/PVC protection and Velero-based kubeObjectProtection, but their secret file formats differ
  5. Velero S3 credentials secret reference specified in Ramen config map's s3StorePofiles section for each profile specified in VRG spec.s3Profiles

kubeObjectProtection non-requirements

  1. Open/Advanced Cluster Management
  2. A hub cluster

Test requirements

  1. Stateful application, e.g., busybox-sample, initial deployment
  2. Specify VRG spec.kubeObjectProtection field
    • A 1m or less captureInterval is recommended; default is 5m
@nirs nirs added the test Testing related issue label May 30, 2023
nirs added a commit to nirs/ramen that referenced this issue Jun 2, 2023
For testing kube object projection in a setup without a hub.

Work in progress:
- Need to update `ramenctl deploy` to skip the missing hub
- Need to update `ramenctl config` to configure the dr clusters instead
  of the hub

Based temporarily on RamenDR#903

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jun 2, 2023
For testing kube object projection in a setup without a hub.

Work in progress:
- Need to update `ramenctl deploy` to skip the missing hub
- Need to update `ramenctl config` to configure the dr clusters instead
  of the hub

Based temporarily on RamenDR#903

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jun 2, 2023
For testing kube object projection in a setup without a hub.

Based temporarily on RamenDR#903

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jun 2, 2023
For testing kube object projection in a setup without a hub.

Based temporarily on RamenDR#903

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jun 2, 2023
For testing kube object projection in a setup without a hub.

Based temporarily on RamenDR#903

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
@nirs
Copy link
Member

nirs commented Jun 2, 2023

#903 adds an environment with velero and without a hub. It can be used to create the test
suggest in this issue.

nirs added a commit to nirs/ramen that referenced this issue Jun 7, 2023
For testing kube object projection in a setup without a hub.

Based temporarily on RamenDR#903

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jun 25, 2023
For testing kube object projection in a setup without a hub.

Based temporarily on RamenDR#903

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jun 25, 2023
For testing kube object projection in a setup without a hub.

Based temporarily on RamenDR#903

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jul 3, 2023
For testing kube object projection in a setup without a hub.

Based temporarily on RamenDR#903

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jul 4, 2023
For testing kube object projection in a setup without a hub.

Based temporarily on RamenDR#903

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jul 4, 2023
For testing kube object projection in a setup without a hub.

Based temporarily on RamenDR#903

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jul 5, 2023
For testing kube object projection in a setup without a hub.

Based temporarily on RamenDR#903

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
@raghavendra-talur raghavendra-talur removed their assignment Jul 6, 2023
nirs added a commit to nirs/ramen that referenced this issue Jul 9, 2023
For testing kube object projection and recipes in an environment without
a hub. This is not really supported but we know about some users using
this topology, and having a test environment makes it easier to support
them and make sure we don't break them by mistake.

This environment is very similar to regional-dr.yaml, with these
changes:

- The hub cluster was removed
- ocm components were removed, since there is no hub
- submariner is deployed at the end instead of of running on the hub at
  the start of the deployment.

Because we run submariner at the end, and it takes about 140 seconds to
deploy and run the self test, starting this environment is slower than
the full regional-dr environment.

An alternative is to remove submariner and volsync from this
environment, and disable volsync in ramen config when a hub is not
available.

Example run:

    $ drenv start envs/regional-dr-hubless.yaml
    2023-07-10 00:24:52,538 INFO    [rdr-hubless] Starting environment
    2023-07-10 00:24:52,583 INFO    [dr1] Starting minikube cluster
    2023-07-10 00:24:53,617 INFO    [dr2] Starting minikube cluster
    2023-07-10 00:27:17,476 INFO    [dr1] Cluster started in 145.15 seconds
    2023-07-10 00:27:17,477 INFO    [dr1/0] Running addons/cert-manager/start
    2023-07-10 00:27:17,477 INFO    [dr1/1] Running addons/csi-addons/start
    2023-07-10 00:27:21,254 INFO    [dr2] Cluster started in 147.89 seconds
    2023-07-10 00:27:21,255 INFO    [dr2/0] Running addons/cert-manager/start
    2023-07-10 00:27:21,255 INFO    [dr2/1] Running addons/csi-addons/start
    2023-07-10 00:27:40,867 INFO    [dr1/0] addons/cert-manager/start completed in 23.39 seconds
    2023-07-10 00:27:40,867 INFO    [dr1/0] Running addons/rook-operator/start
    2023-07-10 00:27:44,417 INFO    [dr2/0] addons/cert-manager/start completed in 23.16 seconds
    2023-07-10 00:27:44,417 INFO    [dr2/0] Running addons/rook-operator/start
    2023-07-10 00:27:50,084 INFO    [dr1/1] addons/csi-addons/start completed in 32.61 seconds
    2023-07-10 00:27:50,084 INFO    [dr1/1] Running addons/olm/start
    2023-07-10 00:27:53,573 INFO    [dr2/1] addons/csi-addons/start completed in 32.32 seconds
    2023-07-10 00:27:53,573 INFO    [dr2/1] Running addons/olm/start
    2023-07-10 00:28:11,292 INFO    [dr1/0] addons/rook-operator/start completed in 30.42 seconds
    2023-07-10 00:28:11,292 INFO    [dr1/0] Running addons/rook-cluster/start
    2023-07-10 00:28:16,015 INFO    [dr2/0] addons/rook-operator/start completed in 31.60 seconds
    2023-07-10 00:28:16,016 INFO    [dr2/0] Running addons/rook-cluster/start
    2023-07-10 00:29:17,888 INFO    [dr1/1] addons/olm/start completed in 87.80 seconds
    2023-07-10 00:29:17,888 INFO    [dr1/1] Running addons/minio/start
    2023-07-10 00:29:21,088 INFO    [dr2/1] addons/olm/start completed in 87.51 seconds
    2023-07-10 00:29:21,088 INFO    [dr2/1] Running addons/minio/start
    2023-07-10 00:30:13,180 INFO    [dr2/0] addons/rook-cluster/start completed in 117.16 seconds
    2023-07-10 00:30:13,181 INFO    [dr2/0] Running addons/rook-pool/start
    2023-07-10 00:30:14,771 INFO    [dr1/1] addons/minio/start completed in 56.88 seconds
    2023-07-10 00:30:14,771 INFO    [dr1/1] Running addons/velero/start
    2023-07-10 00:30:31,209 INFO    [dr1/0] addons/rook-cluster/start completed in 139.92 seconds
    2023-07-10 00:30:31,209 INFO    [dr1/0] Running addons/rook-pool/start
    2023-07-10 00:30:42,475 INFO    [dr2/0] addons/rook-pool/start completed in 29.29 seconds
    2023-07-10 00:30:42,475 INFO    [dr2/0] Running addons/rook-toolbox/start
    2023-07-10 00:30:49,389 INFO    [dr1/1] addons/velero/start completed in 34.62 seconds
    2023-07-10 00:30:49,389 INFO    [dr1/1] Running addons/velero/test
    2023-07-10 00:30:59,842 INFO    [dr2/1] addons/minio/start completed in 98.75 seconds
    2023-07-10 00:30:59,843 INFO    [dr2/1] Running addons/velero/start
    2023-07-10 00:31:00,068 INFO    [dr1/0] addons/rook-pool/start completed in 28.86 seconds
    2023-07-10 00:31:00,068 INFO    [dr1/0] Running addons/rook-toolbox/start
    2023-07-10 00:31:03,056 INFO    [dr1/0] addons/rook-toolbox/start completed in 2.99 seconds
    2023-07-10 00:31:04,891 INFO    [dr2/0] addons/rook-toolbox/start completed in 22.42 seconds
    2023-07-10 00:31:24,670 INFO    [dr1/1] addons/velero/test completed in 35.28 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] addons/velero/start completed in 32.55 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] Running addons/velero/test
    2023-07-10 00:32:07,067 INFO    [dr2/1] addons/velero/test completed in 34.67 seconds
    2023-07-10 00:32:07,067 INFO    [rdr-hubless/0] Running addons/rbd-mirror/start
    2023-07-10 00:32:07,068 INFO    [rdr-hubless/1] Running addons/submariner/start
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] addons/rbd-mirror/start completed in 56.75 seconds
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] Running addons/rbd-mirror/test
    2023-07-10 00:33:20,852 INFO    [rdr-hubless/0] addons/rbd-mirror/test completed in 17.04 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] addons/submariner/start completed in 86.16 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] Running addons/submariner/test
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] addons/submariner/test completed in 55.20 seconds
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] Running addons/volsync/start
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] addons/volsync/start completed in 32.68 seconds
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] Running addons/volsync/test
    2023-07-10 00:36:40,248 INFO    [rdr-hubless/1] addons/volsync/test completed in 99.14 seconds
    2023-07-10 00:36:40,249 INFO    [rdr-hubless] Environment started in 707.96 seconds

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jul 16, 2023
For testing kube object projection and recipes in an environment without
a hub. This is not really supported but we know about some users using
this topology, and having a test environment makes it easier to support
them and make sure we don't break them by mistake.

This environment is very similar to regional-dr.yaml, with these
changes:

- The hub cluster was removed
- ocm components were removed, since there is no hub
- submariner is deployed at the end instead of of running on the hub at
  the start of the deployment.

Because we run submariner at the end, and it takes about 140 seconds to
deploy and run the self test, starting this environment is slower than
the full regional-dr environment.

An alternative is to remove submariner and volsync from this
environment, and disable volsync in ramen config when a hub is not
available.

Example run:

    $ drenv start envs/regional-dr-hubless.yaml
    2023-07-10 00:24:52,538 INFO    [rdr-hubless] Starting environment
    2023-07-10 00:24:52,583 INFO    [dr1] Starting minikube cluster
    2023-07-10 00:24:53,617 INFO    [dr2] Starting minikube cluster
    2023-07-10 00:27:17,476 INFO    [dr1] Cluster started in 145.15 seconds
    2023-07-10 00:27:17,477 INFO    [dr1/0] Running addons/cert-manager/start
    2023-07-10 00:27:17,477 INFO    [dr1/1] Running addons/csi-addons/start
    2023-07-10 00:27:21,254 INFO    [dr2] Cluster started in 147.89 seconds
    2023-07-10 00:27:21,255 INFO    [dr2/0] Running addons/cert-manager/start
    2023-07-10 00:27:21,255 INFO    [dr2/1] Running addons/csi-addons/start
    2023-07-10 00:27:40,867 INFO    [dr1/0] addons/cert-manager/start completed in 23.39 seconds
    2023-07-10 00:27:40,867 INFO    [dr1/0] Running addons/rook-operator/start
    2023-07-10 00:27:44,417 INFO    [dr2/0] addons/cert-manager/start completed in 23.16 seconds
    2023-07-10 00:27:44,417 INFO    [dr2/0] Running addons/rook-operator/start
    2023-07-10 00:27:50,084 INFO    [dr1/1] addons/csi-addons/start completed in 32.61 seconds
    2023-07-10 00:27:50,084 INFO    [dr1/1] Running addons/olm/start
    2023-07-10 00:27:53,573 INFO    [dr2/1] addons/csi-addons/start completed in 32.32 seconds
    2023-07-10 00:27:53,573 INFO    [dr2/1] Running addons/olm/start
    2023-07-10 00:28:11,292 INFO    [dr1/0] addons/rook-operator/start completed in 30.42 seconds
    2023-07-10 00:28:11,292 INFO    [dr1/0] Running addons/rook-cluster/start
    2023-07-10 00:28:16,015 INFO    [dr2/0] addons/rook-operator/start completed in 31.60 seconds
    2023-07-10 00:28:16,016 INFO    [dr2/0] Running addons/rook-cluster/start
    2023-07-10 00:29:17,888 INFO    [dr1/1] addons/olm/start completed in 87.80 seconds
    2023-07-10 00:29:17,888 INFO    [dr1/1] Running addons/minio/start
    2023-07-10 00:29:21,088 INFO    [dr2/1] addons/olm/start completed in 87.51 seconds
    2023-07-10 00:29:21,088 INFO    [dr2/1] Running addons/minio/start
    2023-07-10 00:30:13,180 INFO    [dr2/0] addons/rook-cluster/start completed in 117.16 seconds
    2023-07-10 00:30:13,181 INFO    [dr2/0] Running addons/rook-pool/start
    2023-07-10 00:30:14,771 INFO    [dr1/1] addons/minio/start completed in 56.88 seconds
    2023-07-10 00:30:14,771 INFO    [dr1/1] Running addons/velero/start
    2023-07-10 00:30:31,209 INFO    [dr1/0] addons/rook-cluster/start completed in 139.92 seconds
    2023-07-10 00:30:31,209 INFO    [dr1/0] Running addons/rook-pool/start
    2023-07-10 00:30:42,475 INFO    [dr2/0] addons/rook-pool/start completed in 29.29 seconds
    2023-07-10 00:30:42,475 INFO    [dr2/0] Running addons/rook-toolbox/start
    2023-07-10 00:30:49,389 INFO    [dr1/1] addons/velero/start completed in 34.62 seconds
    2023-07-10 00:30:49,389 INFO    [dr1/1] Running addons/velero/test
    2023-07-10 00:30:59,842 INFO    [dr2/1] addons/minio/start completed in 98.75 seconds
    2023-07-10 00:30:59,843 INFO    [dr2/1] Running addons/velero/start
    2023-07-10 00:31:00,068 INFO    [dr1/0] addons/rook-pool/start completed in 28.86 seconds
    2023-07-10 00:31:00,068 INFO    [dr1/0] Running addons/rook-toolbox/start
    2023-07-10 00:31:03,056 INFO    [dr1/0] addons/rook-toolbox/start completed in 2.99 seconds
    2023-07-10 00:31:04,891 INFO    [dr2/0] addons/rook-toolbox/start completed in 22.42 seconds
    2023-07-10 00:31:24,670 INFO    [dr1/1] addons/velero/test completed in 35.28 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] addons/velero/start completed in 32.55 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] Running addons/velero/test
    2023-07-10 00:32:07,067 INFO    [dr2/1] addons/velero/test completed in 34.67 seconds
    2023-07-10 00:32:07,067 INFO    [rdr-hubless/0] Running addons/rbd-mirror/start
    2023-07-10 00:32:07,068 INFO    [rdr-hubless/1] Running addons/submariner/start
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] addons/rbd-mirror/start completed in 56.75 seconds
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] Running addons/rbd-mirror/test
    2023-07-10 00:33:20,852 INFO    [rdr-hubless/0] addons/rbd-mirror/test completed in 17.04 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] addons/submariner/start completed in 86.16 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] Running addons/submariner/test
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] addons/submariner/test completed in 55.20 seconds
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] Running addons/volsync/start
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] addons/volsync/start completed in 32.68 seconds
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] Running addons/volsync/test
    2023-07-10 00:36:40,248 INFO    [rdr-hubless/1] addons/volsync/test completed in 99.14 seconds
    2023-07-10 00:36:40,249 INFO    [rdr-hubless] Environment started in 707.96 seconds

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jul 16, 2023
For testing kube object projection and recipes in an environment without
a hub. This is not really supported but we know about some users using
this topology, and having a test environment makes it easier to support
them and make sure we don't break them by mistake.

This environment is very similar to regional-dr.yaml, with these
changes:

- The hub cluster was removed
- ocm components were removed, since there is no hub
- submariner is deployed at the end instead of of running on the hub at
  the start of the deployment.

Because we run submariner at the end, and it takes about 140 seconds to
deploy and run the self test, starting this environment is slower than
the full regional-dr environment.

An alternative is to remove submariner and volsync from this
environment, and disable volsync in ramen config when a hub is not
available.

Example run:

    $ drenv start envs/regional-dr-hubless.yaml
    2023-07-10 00:24:52,538 INFO    [rdr-hubless] Starting environment
    2023-07-10 00:24:52,583 INFO    [dr1] Starting minikube cluster
    2023-07-10 00:24:53,617 INFO    [dr2] Starting minikube cluster
    2023-07-10 00:27:17,476 INFO    [dr1] Cluster started in 145.15 seconds
    2023-07-10 00:27:17,477 INFO    [dr1/0] Running addons/cert-manager/start
    2023-07-10 00:27:17,477 INFO    [dr1/1] Running addons/csi-addons/start
    2023-07-10 00:27:21,254 INFO    [dr2] Cluster started in 147.89 seconds
    2023-07-10 00:27:21,255 INFO    [dr2/0] Running addons/cert-manager/start
    2023-07-10 00:27:21,255 INFO    [dr2/1] Running addons/csi-addons/start
    2023-07-10 00:27:40,867 INFO    [dr1/0] addons/cert-manager/start completed in 23.39 seconds
    2023-07-10 00:27:40,867 INFO    [dr1/0] Running addons/rook-operator/start
    2023-07-10 00:27:44,417 INFO    [dr2/0] addons/cert-manager/start completed in 23.16 seconds
    2023-07-10 00:27:44,417 INFO    [dr2/0] Running addons/rook-operator/start
    2023-07-10 00:27:50,084 INFO    [dr1/1] addons/csi-addons/start completed in 32.61 seconds
    2023-07-10 00:27:50,084 INFO    [dr1/1] Running addons/olm/start
    2023-07-10 00:27:53,573 INFO    [dr2/1] addons/csi-addons/start completed in 32.32 seconds
    2023-07-10 00:27:53,573 INFO    [dr2/1] Running addons/olm/start
    2023-07-10 00:28:11,292 INFO    [dr1/0] addons/rook-operator/start completed in 30.42 seconds
    2023-07-10 00:28:11,292 INFO    [dr1/0] Running addons/rook-cluster/start
    2023-07-10 00:28:16,015 INFO    [dr2/0] addons/rook-operator/start completed in 31.60 seconds
    2023-07-10 00:28:16,016 INFO    [dr2/0] Running addons/rook-cluster/start
    2023-07-10 00:29:17,888 INFO    [dr1/1] addons/olm/start completed in 87.80 seconds
    2023-07-10 00:29:17,888 INFO    [dr1/1] Running addons/minio/start
    2023-07-10 00:29:21,088 INFO    [dr2/1] addons/olm/start completed in 87.51 seconds
    2023-07-10 00:29:21,088 INFO    [dr2/1] Running addons/minio/start
    2023-07-10 00:30:13,180 INFO    [dr2/0] addons/rook-cluster/start completed in 117.16 seconds
    2023-07-10 00:30:13,181 INFO    [dr2/0] Running addons/rook-pool/start
    2023-07-10 00:30:14,771 INFO    [dr1/1] addons/minio/start completed in 56.88 seconds
    2023-07-10 00:30:14,771 INFO    [dr1/1] Running addons/velero/start
    2023-07-10 00:30:31,209 INFO    [dr1/0] addons/rook-cluster/start completed in 139.92 seconds
    2023-07-10 00:30:31,209 INFO    [dr1/0] Running addons/rook-pool/start
    2023-07-10 00:30:42,475 INFO    [dr2/0] addons/rook-pool/start completed in 29.29 seconds
    2023-07-10 00:30:42,475 INFO    [dr2/0] Running addons/rook-toolbox/start
    2023-07-10 00:30:49,389 INFO    [dr1/1] addons/velero/start completed in 34.62 seconds
    2023-07-10 00:30:49,389 INFO    [dr1/1] Running addons/velero/test
    2023-07-10 00:30:59,842 INFO    [dr2/1] addons/minio/start completed in 98.75 seconds
    2023-07-10 00:30:59,843 INFO    [dr2/1] Running addons/velero/start
    2023-07-10 00:31:00,068 INFO    [dr1/0] addons/rook-pool/start completed in 28.86 seconds
    2023-07-10 00:31:00,068 INFO    [dr1/0] Running addons/rook-toolbox/start
    2023-07-10 00:31:03,056 INFO    [dr1/0] addons/rook-toolbox/start completed in 2.99 seconds
    2023-07-10 00:31:04,891 INFO    [dr2/0] addons/rook-toolbox/start completed in 22.42 seconds
    2023-07-10 00:31:24,670 INFO    [dr1/1] addons/velero/test completed in 35.28 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] addons/velero/start completed in 32.55 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] Running addons/velero/test
    2023-07-10 00:32:07,067 INFO    [dr2/1] addons/velero/test completed in 34.67 seconds
    2023-07-10 00:32:07,067 INFO    [rdr-hubless/0] Running addons/rbd-mirror/start
    2023-07-10 00:32:07,068 INFO    [rdr-hubless/1] Running addons/submariner/start
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] addons/rbd-mirror/start completed in 56.75 seconds
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] Running addons/rbd-mirror/test
    2023-07-10 00:33:20,852 INFO    [rdr-hubless/0] addons/rbd-mirror/test completed in 17.04 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] addons/submariner/start completed in 86.16 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] Running addons/submariner/test
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] addons/submariner/test completed in 55.20 seconds
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] Running addons/volsync/start
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] addons/volsync/start completed in 32.68 seconds
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] Running addons/volsync/test
    2023-07-10 00:36:40,248 INFO    [rdr-hubless/1] addons/volsync/test completed in 99.14 seconds
    2023-07-10 00:36:40,249 INFO    [rdr-hubless] Environment started in 707.96 seconds

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jul 17, 2023
For testing kube object projection and recipes in an environment without
a hub. This is not really supported but we know about some users using
this topology, and having a test environment makes it easier to support
them and make sure we don't break them by mistake.

This environment is very similar to regional-dr.yaml, with these
changes:

- The hub cluster was removed
- ocm components were removed, since there is no hub
- submariner is deployed at the end instead of of running on the hub at
  the start of the deployment.

Because we run submariner at the end, and it takes about 140 seconds to
deploy and run the self test, starting this environment is slower than
the full regional-dr environment.

An alternative is to remove submariner and volsync from this
environment, and disable volsync in ramen config when a hub is not
available.

Example run:

    $ drenv start envs/regional-dr-hubless.yaml
    2023-07-10 00:24:52,538 INFO    [rdr-hubless] Starting environment
    2023-07-10 00:24:52,583 INFO    [dr1] Starting minikube cluster
    2023-07-10 00:24:53,617 INFO    [dr2] Starting minikube cluster
    2023-07-10 00:27:17,476 INFO    [dr1] Cluster started in 145.15 seconds
    2023-07-10 00:27:17,477 INFO    [dr1/0] Running addons/cert-manager/start
    2023-07-10 00:27:17,477 INFO    [dr1/1] Running addons/csi-addons/start
    2023-07-10 00:27:21,254 INFO    [dr2] Cluster started in 147.89 seconds
    2023-07-10 00:27:21,255 INFO    [dr2/0] Running addons/cert-manager/start
    2023-07-10 00:27:21,255 INFO    [dr2/1] Running addons/csi-addons/start
    2023-07-10 00:27:40,867 INFO    [dr1/0] addons/cert-manager/start completed in 23.39 seconds
    2023-07-10 00:27:40,867 INFO    [dr1/0] Running addons/rook-operator/start
    2023-07-10 00:27:44,417 INFO    [dr2/0] addons/cert-manager/start completed in 23.16 seconds
    2023-07-10 00:27:44,417 INFO    [dr2/0] Running addons/rook-operator/start
    2023-07-10 00:27:50,084 INFO    [dr1/1] addons/csi-addons/start completed in 32.61 seconds
    2023-07-10 00:27:50,084 INFO    [dr1/1] Running addons/olm/start
    2023-07-10 00:27:53,573 INFO    [dr2/1] addons/csi-addons/start completed in 32.32 seconds
    2023-07-10 00:27:53,573 INFO    [dr2/1] Running addons/olm/start
    2023-07-10 00:28:11,292 INFO    [dr1/0] addons/rook-operator/start completed in 30.42 seconds
    2023-07-10 00:28:11,292 INFO    [dr1/0] Running addons/rook-cluster/start
    2023-07-10 00:28:16,015 INFO    [dr2/0] addons/rook-operator/start completed in 31.60 seconds
    2023-07-10 00:28:16,016 INFO    [dr2/0] Running addons/rook-cluster/start
    2023-07-10 00:29:17,888 INFO    [dr1/1] addons/olm/start completed in 87.80 seconds
    2023-07-10 00:29:17,888 INFO    [dr1/1] Running addons/minio/start
    2023-07-10 00:29:21,088 INFO    [dr2/1] addons/olm/start completed in 87.51 seconds
    2023-07-10 00:29:21,088 INFO    [dr2/1] Running addons/minio/start
    2023-07-10 00:30:13,180 INFO    [dr2/0] addons/rook-cluster/start completed in 117.16 seconds
    2023-07-10 00:30:13,181 INFO    [dr2/0] Running addons/rook-pool/start
    2023-07-10 00:30:14,771 INFO    [dr1/1] addons/minio/start completed in 56.88 seconds
    2023-07-10 00:30:14,771 INFO    [dr1/1] Running addons/velero/start
    2023-07-10 00:30:31,209 INFO    [dr1/0] addons/rook-cluster/start completed in 139.92 seconds
    2023-07-10 00:30:31,209 INFO    [dr1/0] Running addons/rook-pool/start
    2023-07-10 00:30:42,475 INFO    [dr2/0] addons/rook-pool/start completed in 29.29 seconds
    2023-07-10 00:30:42,475 INFO    [dr2/0] Running addons/rook-toolbox/start
    2023-07-10 00:30:49,389 INFO    [dr1/1] addons/velero/start completed in 34.62 seconds
    2023-07-10 00:30:49,389 INFO    [dr1/1] Running addons/velero/test
    2023-07-10 00:30:59,842 INFO    [dr2/1] addons/minio/start completed in 98.75 seconds
    2023-07-10 00:30:59,843 INFO    [dr2/1] Running addons/velero/start
    2023-07-10 00:31:00,068 INFO    [dr1/0] addons/rook-pool/start completed in 28.86 seconds
    2023-07-10 00:31:00,068 INFO    [dr1/0] Running addons/rook-toolbox/start
    2023-07-10 00:31:03,056 INFO    [dr1/0] addons/rook-toolbox/start completed in 2.99 seconds
    2023-07-10 00:31:04,891 INFO    [dr2/0] addons/rook-toolbox/start completed in 22.42 seconds
    2023-07-10 00:31:24,670 INFO    [dr1/1] addons/velero/test completed in 35.28 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] addons/velero/start completed in 32.55 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] Running addons/velero/test
    2023-07-10 00:32:07,067 INFO    [dr2/1] addons/velero/test completed in 34.67 seconds
    2023-07-10 00:32:07,067 INFO    [rdr-hubless/0] Running addons/rbd-mirror/start
    2023-07-10 00:32:07,068 INFO    [rdr-hubless/1] Running addons/submariner/start
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] addons/rbd-mirror/start completed in 56.75 seconds
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] Running addons/rbd-mirror/test
    2023-07-10 00:33:20,852 INFO    [rdr-hubless/0] addons/rbd-mirror/test completed in 17.04 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] addons/submariner/start completed in 86.16 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] Running addons/submariner/test
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] addons/submariner/test completed in 55.20 seconds
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] Running addons/volsync/start
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] addons/volsync/start completed in 32.68 seconds
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] Running addons/volsync/test
    2023-07-10 00:36:40,248 INFO    [rdr-hubless/1] addons/volsync/test completed in 99.14 seconds
    2023-07-10 00:36:40,249 INFO    [rdr-hubless] Environment started in 707.96 seconds

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jul 17, 2023
For testing kube object projection and recipes in an environment without
a hub. This is not really supported but we know about some users using
this topology, and having a test environment makes it easier to support
them and make sure we don't break them by mistake.

This environment is very similar to regional-dr.yaml, with these
changes:

- The hub cluster was removed
- ocm components were removed, since there is no hub
- submariner is deployed at the end instead of of running on the hub at
  the start of the deployment.

Because we run submariner at the end, and it takes about 140 seconds to
deploy and run the self test, starting this environment is slower than
the full regional-dr environment.

An alternative is to remove submariner and volsync from this
environment, and disable volsync in ramen config when a hub is not
available.

Example run:

    $ drenv start envs/regional-dr-hubless.yaml
    2023-07-10 00:24:52,538 INFO    [rdr-hubless] Starting environment
    2023-07-10 00:24:52,583 INFO    [dr1] Starting minikube cluster
    2023-07-10 00:24:53,617 INFO    [dr2] Starting minikube cluster
    2023-07-10 00:27:17,476 INFO    [dr1] Cluster started in 145.15 seconds
    2023-07-10 00:27:17,477 INFO    [dr1/0] Running addons/cert-manager/start
    2023-07-10 00:27:17,477 INFO    [dr1/1] Running addons/csi-addons/start
    2023-07-10 00:27:21,254 INFO    [dr2] Cluster started in 147.89 seconds
    2023-07-10 00:27:21,255 INFO    [dr2/0] Running addons/cert-manager/start
    2023-07-10 00:27:21,255 INFO    [dr2/1] Running addons/csi-addons/start
    2023-07-10 00:27:40,867 INFO    [dr1/0] addons/cert-manager/start completed in 23.39 seconds
    2023-07-10 00:27:40,867 INFO    [dr1/0] Running addons/rook-operator/start
    2023-07-10 00:27:44,417 INFO    [dr2/0] addons/cert-manager/start completed in 23.16 seconds
    2023-07-10 00:27:44,417 INFO    [dr2/0] Running addons/rook-operator/start
    2023-07-10 00:27:50,084 INFO    [dr1/1] addons/csi-addons/start completed in 32.61 seconds
    2023-07-10 00:27:50,084 INFO    [dr1/1] Running addons/olm/start
    2023-07-10 00:27:53,573 INFO    [dr2/1] addons/csi-addons/start completed in 32.32 seconds
    2023-07-10 00:27:53,573 INFO    [dr2/1] Running addons/olm/start
    2023-07-10 00:28:11,292 INFO    [dr1/0] addons/rook-operator/start completed in 30.42 seconds
    2023-07-10 00:28:11,292 INFO    [dr1/0] Running addons/rook-cluster/start
    2023-07-10 00:28:16,015 INFO    [dr2/0] addons/rook-operator/start completed in 31.60 seconds
    2023-07-10 00:28:16,016 INFO    [dr2/0] Running addons/rook-cluster/start
    2023-07-10 00:29:17,888 INFO    [dr1/1] addons/olm/start completed in 87.80 seconds
    2023-07-10 00:29:17,888 INFO    [dr1/1] Running addons/minio/start
    2023-07-10 00:29:21,088 INFO    [dr2/1] addons/olm/start completed in 87.51 seconds
    2023-07-10 00:29:21,088 INFO    [dr2/1] Running addons/minio/start
    2023-07-10 00:30:13,180 INFO    [dr2/0] addons/rook-cluster/start completed in 117.16 seconds
    2023-07-10 00:30:13,181 INFO    [dr2/0] Running addons/rook-pool/start
    2023-07-10 00:30:14,771 INFO    [dr1/1] addons/minio/start completed in 56.88 seconds
    2023-07-10 00:30:14,771 INFO    [dr1/1] Running addons/velero/start
    2023-07-10 00:30:31,209 INFO    [dr1/0] addons/rook-cluster/start completed in 139.92 seconds
    2023-07-10 00:30:31,209 INFO    [dr1/0] Running addons/rook-pool/start
    2023-07-10 00:30:42,475 INFO    [dr2/0] addons/rook-pool/start completed in 29.29 seconds
    2023-07-10 00:30:42,475 INFO    [dr2/0] Running addons/rook-toolbox/start
    2023-07-10 00:30:49,389 INFO    [dr1/1] addons/velero/start completed in 34.62 seconds
    2023-07-10 00:30:49,389 INFO    [dr1/1] Running addons/velero/test
    2023-07-10 00:30:59,842 INFO    [dr2/1] addons/minio/start completed in 98.75 seconds
    2023-07-10 00:30:59,843 INFO    [dr2/1] Running addons/velero/start
    2023-07-10 00:31:00,068 INFO    [dr1/0] addons/rook-pool/start completed in 28.86 seconds
    2023-07-10 00:31:00,068 INFO    [dr1/0] Running addons/rook-toolbox/start
    2023-07-10 00:31:03,056 INFO    [dr1/0] addons/rook-toolbox/start completed in 2.99 seconds
    2023-07-10 00:31:04,891 INFO    [dr2/0] addons/rook-toolbox/start completed in 22.42 seconds
    2023-07-10 00:31:24,670 INFO    [dr1/1] addons/velero/test completed in 35.28 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] addons/velero/start completed in 32.55 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] Running addons/velero/test
    2023-07-10 00:32:07,067 INFO    [dr2/1] addons/velero/test completed in 34.67 seconds
    2023-07-10 00:32:07,067 INFO    [rdr-hubless/0] Running addons/rbd-mirror/start
    2023-07-10 00:32:07,068 INFO    [rdr-hubless/1] Running addons/submariner/start
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] addons/rbd-mirror/start completed in 56.75 seconds
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] Running addons/rbd-mirror/test
    2023-07-10 00:33:20,852 INFO    [rdr-hubless/0] addons/rbd-mirror/test completed in 17.04 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] addons/submariner/start completed in 86.16 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] Running addons/submariner/test
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] addons/submariner/test completed in 55.20 seconds
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] Running addons/volsync/start
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] addons/volsync/start completed in 32.68 seconds
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] Running addons/volsync/test
    2023-07-10 00:36:40,248 INFO    [rdr-hubless/1] addons/volsync/test completed in 99.14 seconds
    2023-07-10 00:36:40,249 INFO    [rdr-hubless] Environment started in 707.96 seconds

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jul 18, 2023
For testing kube object projection and recipes in an environment without
a hub. This is not really supported but we know about some users using
this topology, and having a test environment makes it easier to support
them and make sure we don't break them by mistake.

This environment is very similar to regional-dr.yaml, with these
changes:

- The hub cluster was removed
- ocm components were removed, since there is no hub
- submariner is deployed at the end instead of of running on the hub at
  the start of the deployment.

Because we run submariner at the end, and it takes about 140 seconds to
deploy and run the self test, starting this environment is slower than
the full regional-dr environment.

An alternative is to remove submariner and volsync from this
environment, and disable volsync in ramen config when a hub is not
available.

Example run:

    $ drenv start envs/regional-dr-hubless.yaml
    2023-07-10 00:24:52,538 INFO    [rdr-hubless] Starting environment
    2023-07-10 00:24:52,583 INFO    [dr1] Starting minikube cluster
    2023-07-10 00:24:53,617 INFO    [dr2] Starting minikube cluster
    2023-07-10 00:27:17,476 INFO    [dr1] Cluster started in 145.15 seconds
    2023-07-10 00:27:17,477 INFO    [dr1/0] Running addons/cert-manager/start
    2023-07-10 00:27:17,477 INFO    [dr1/1] Running addons/csi-addons/start
    2023-07-10 00:27:21,254 INFO    [dr2] Cluster started in 147.89 seconds
    2023-07-10 00:27:21,255 INFO    [dr2/0] Running addons/cert-manager/start
    2023-07-10 00:27:21,255 INFO    [dr2/1] Running addons/csi-addons/start
    2023-07-10 00:27:40,867 INFO    [dr1/0] addons/cert-manager/start completed in 23.39 seconds
    2023-07-10 00:27:40,867 INFO    [dr1/0] Running addons/rook-operator/start
    2023-07-10 00:27:44,417 INFO    [dr2/0] addons/cert-manager/start completed in 23.16 seconds
    2023-07-10 00:27:44,417 INFO    [dr2/0] Running addons/rook-operator/start
    2023-07-10 00:27:50,084 INFO    [dr1/1] addons/csi-addons/start completed in 32.61 seconds
    2023-07-10 00:27:50,084 INFO    [dr1/1] Running addons/olm/start
    2023-07-10 00:27:53,573 INFO    [dr2/1] addons/csi-addons/start completed in 32.32 seconds
    2023-07-10 00:27:53,573 INFO    [dr2/1] Running addons/olm/start
    2023-07-10 00:28:11,292 INFO    [dr1/0] addons/rook-operator/start completed in 30.42 seconds
    2023-07-10 00:28:11,292 INFO    [dr1/0] Running addons/rook-cluster/start
    2023-07-10 00:28:16,015 INFO    [dr2/0] addons/rook-operator/start completed in 31.60 seconds
    2023-07-10 00:28:16,016 INFO    [dr2/0] Running addons/rook-cluster/start
    2023-07-10 00:29:17,888 INFO    [dr1/1] addons/olm/start completed in 87.80 seconds
    2023-07-10 00:29:17,888 INFO    [dr1/1] Running addons/minio/start
    2023-07-10 00:29:21,088 INFO    [dr2/1] addons/olm/start completed in 87.51 seconds
    2023-07-10 00:29:21,088 INFO    [dr2/1] Running addons/minio/start
    2023-07-10 00:30:13,180 INFO    [dr2/0] addons/rook-cluster/start completed in 117.16 seconds
    2023-07-10 00:30:13,181 INFO    [dr2/0] Running addons/rook-pool/start
    2023-07-10 00:30:14,771 INFO    [dr1/1] addons/minio/start completed in 56.88 seconds
    2023-07-10 00:30:14,771 INFO    [dr1/1] Running addons/velero/start
    2023-07-10 00:30:31,209 INFO    [dr1/0] addons/rook-cluster/start completed in 139.92 seconds
    2023-07-10 00:30:31,209 INFO    [dr1/0] Running addons/rook-pool/start
    2023-07-10 00:30:42,475 INFO    [dr2/0] addons/rook-pool/start completed in 29.29 seconds
    2023-07-10 00:30:42,475 INFO    [dr2/0] Running addons/rook-toolbox/start
    2023-07-10 00:30:49,389 INFO    [dr1/1] addons/velero/start completed in 34.62 seconds
    2023-07-10 00:30:49,389 INFO    [dr1/1] Running addons/velero/test
    2023-07-10 00:30:59,842 INFO    [dr2/1] addons/minio/start completed in 98.75 seconds
    2023-07-10 00:30:59,843 INFO    [dr2/1] Running addons/velero/start
    2023-07-10 00:31:00,068 INFO    [dr1/0] addons/rook-pool/start completed in 28.86 seconds
    2023-07-10 00:31:00,068 INFO    [dr1/0] Running addons/rook-toolbox/start
    2023-07-10 00:31:03,056 INFO    [dr1/0] addons/rook-toolbox/start completed in 2.99 seconds
    2023-07-10 00:31:04,891 INFO    [dr2/0] addons/rook-toolbox/start completed in 22.42 seconds
    2023-07-10 00:31:24,670 INFO    [dr1/1] addons/velero/test completed in 35.28 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] addons/velero/start completed in 32.55 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] Running addons/velero/test
    2023-07-10 00:32:07,067 INFO    [dr2/1] addons/velero/test completed in 34.67 seconds
    2023-07-10 00:32:07,067 INFO    [rdr-hubless/0] Running addons/rbd-mirror/start
    2023-07-10 00:32:07,068 INFO    [rdr-hubless/1] Running addons/submariner/start
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] addons/rbd-mirror/start completed in 56.75 seconds
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] Running addons/rbd-mirror/test
    2023-07-10 00:33:20,852 INFO    [rdr-hubless/0] addons/rbd-mirror/test completed in 17.04 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] addons/submariner/start completed in 86.16 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] Running addons/submariner/test
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] addons/submariner/test completed in 55.20 seconds
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] Running addons/volsync/start
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] addons/volsync/start completed in 32.68 seconds
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] Running addons/volsync/test
    2023-07-10 00:36:40,248 INFO    [rdr-hubless/1] addons/volsync/test completed in 99.14 seconds
    2023-07-10 00:36:40,249 INFO    [rdr-hubless] Environment started in 707.96 seconds

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jul 19, 2023
For testing kube object projection and recipes in an environment without
a hub. This is not really supported but we know about some users using
this topology, and having a test environment makes it easier to support
them and make sure we don't break them by mistake.

This environment is very similar to regional-dr.yaml, with these
changes:

- The hub cluster was removed
- ocm components were removed, since there is no hub
- submariner is deployed at the end instead of of running on the hub at
  the start of the deployment.

Because we run submariner at the end, and it takes about 140 seconds to
deploy and run the self test, starting this environment is slower than
the full regional-dr environment.

An alternative is to remove submariner and volsync from this
environment, and disable volsync in ramen config when a hub is not
available.

Example run:

    $ drenv start envs/regional-dr-hubless.yaml
    2023-07-10 00:24:52,538 INFO    [rdr-hubless] Starting environment
    2023-07-10 00:24:52,583 INFO    [dr1] Starting minikube cluster
    2023-07-10 00:24:53,617 INFO    [dr2] Starting minikube cluster
    2023-07-10 00:27:17,476 INFO    [dr1] Cluster started in 145.15 seconds
    2023-07-10 00:27:17,477 INFO    [dr1/0] Running addons/cert-manager/start
    2023-07-10 00:27:17,477 INFO    [dr1/1] Running addons/csi-addons/start
    2023-07-10 00:27:21,254 INFO    [dr2] Cluster started in 147.89 seconds
    2023-07-10 00:27:21,255 INFO    [dr2/0] Running addons/cert-manager/start
    2023-07-10 00:27:21,255 INFO    [dr2/1] Running addons/csi-addons/start
    2023-07-10 00:27:40,867 INFO    [dr1/0] addons/cert-manager/start completed in 23.39 seconds
    2023-07-10 00:27:40,867 INFO    [dr1/0] Running addons/rook-operator/start
    2023-07-10 00:27:44,417 INFO    [dr2/0] addons/cert-manager/start completed in 23.16 seconds
    2023-07-10 00:27:44,417 INFO    [dr2/0] Running addons/rook-operator/start
    2023-07-10 00:27:50,084 INFO    [dr1/1] addons/csi-addons/start completed in 32.61 seconds
    2023-07-10 00:27:50,084 INFO    [dr1/1] Running addons/olm/start
    2023-07-10 00:27:53,573 INFO    [dr2/1] addons/csi-addons/start completed in 32.32 seconds
    2023-07-10 00:27:53,573 INFO    [dr2/1] Running addons/olm/start
    2023-07-10 00:28:11,292 INFO    [dr1/0] addons/rook-operator/start completed in 30.42 seconds
    2023-07-10 00:28:11,292 INFO    [dr1/0] Running addons/rook-cluster/start
    2023-07-10 00:28:16,015 INFO    [dr2/0] addons/rook-operator/start completed in 31.60 seconds
    2023-07-10 00:28:16,016 INFO    [dr2/0] Running addons/rook-cluster/start
    2023-07-10 00:29:17,888 INFO    [dr1/1] addons/olm/start completed in 87.80 seconds
    2023-07-10 00:29:17,888 INFO    [dr1/1] Running addons/minio/start
    2023-07-10 00:29:21,088 INFO    [dr2/1] addons/olm/start completed in 87.51 seconds
    2023-07-10 00:29:21,088 INFO    [dr2/1] Running addons/minio/start
    2023-07-10 00:30:13,180 INFO    [dr2/0] addons/rook-cluster/start completed in 117.16 seconds
    2023-07-10 00:30:13,181 INFO    [dr2/0] Running addons/rook-pool/start
    2023-07-10 00:30:14,771 INFO    [dr1/1] addons/minio/start completed in 56.88 seconds
    2023-07-10 00:30:14,771 INFO    [dr1/1] Running addons/velero/start
    2023-07-10 00:30:31,209 INFO    [dr1/0] addons/rook-cluster/start completed in 139.92 seconds
    2023-07-10 00:30:31,209 INFO    [dr1/0] Running addons/rook-pool/start
    2023-07-10 00:30:42,475 INFO    [dr2/0] addons/rook-pool/start completed in 29.29 seconds
    2023-07-10 00:30:42,475 INFO    [dr2/0] Running addons/rook-toolbox/start
    2023-07-10 00:30:49,389 INFO    [dr1/1] addons/velero/start completed in 34.62 seconds
    2023-07-10 00:30:49,389 INFO    [dr1/1] Running addons/velero/test
    2023-07-10 00:30:59,842 INFO    [dr2/1] addons/minio/start completed in 98.75 seconds
    2023-07-10 00:30:59,843 INFO    [dr2/1] Running addons/velero/start
    2023-07-10 00:31:00,068 INFO    [dr1/0] addons/rook-pool/start completed in 28.86 seconds
    2023-07-10 00:31:00,068 INFO    [dr1/0] Running addons/rook-toolbox/start
    2023-07-10 00:31:03,056 INFO    [dr1/0] addons/rook-toolbox/start completed in 2.99 seconds
    2023-07-10 00:31:04,891 INFO    [dr2/0] addons/rook-toolbox/start completed in 22.42 seconds
    2023-07-10 00:31:24,670 INFO    [dr1/1] addons/velero/test completed in 35.28 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] addons/velero/start completed in 32.55 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] Running addons/velero/test
    2023-07-10 00:32:07,067 INFO    [dr2/1] addons/velero/test completed in 34.67 seconds
    2023-07-10 00:32:07,067 INFO    [rdr-hubless/0] Running addons/rbd-mirror/start
    2023-07-10 00:32:07,068 INFO    [rdr-hubless/1] Running addons/submariner/start
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] addons/rbd-mirror/start completed in 56.75 seconds
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] Running addons/rbd-mirror/test
    2023-07-10 00:33:20,852 INFO    [rdr-hubless/0] addons/rbd-mirror/test completed in 17.04 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] addons/submariner/start completed in 86.16 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] Running addons/submariner/test
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] addons/submariner/test completed in 55.20 seconds
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] Running addons/volsync/start
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] addons/volsync/start completed in 32.68 seconds
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] Running addons/volsync/test
    2023-07-10 00:36:40,248 INFO    [rdr-hubless/1] addons/volsync/test completed in 99.14 seconds
    2023-07-10 00:36:40,249 INFO    [rdr-hubless] Environment started in 707.96 seconds

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jul 20, 2023
For testing kube object projection and recipes in an environment without
a hub. This is not really supported but we know about some users using
this topology, and having a test environment makes it easier to support
them and make sure we don't break them by mistake.

This environment is very similar to regional-dr.yaml, with these
changes:

- The hub cluster was removed
- ocm components were removed, since there is no hub
- submariner is deployed at the end instead of of running on the hub at
  the start of the deployment.

Because we run submariner at the end, and it takes about 140 seconds to
deploy and run the self test, starting this environment is slower than
the full regional-dr environment.

An alternative is to remove submariner and volsync from this
environment, and disable volsync in ramen config when a hub is not
available.

Example run:

    $ drenv start envs/regional-dr-hubless.yaml
    2023-07-10 00:24:52,538 INFO    [rdr-hubless] Starting environment
    2023-07-10 00:24:52,583 INFO    [dr1] Starting minikube cluster
    2023-07-10 00:24:53,617 INFO    [dr2] Starting minikube cluster
    2023-07-10 00:27:17,476 INFO    [dr1] Cluster started in 145.15 seconds
    2023-07-10 00:27:17,477 INFO    [dr1/0] Running addons/cert-manager/start
    2023-07-10 00:27:17,477 INFO    [dr1/1] Running addons/csi-addons/start
    2023-07-10 00:27:21,254 INFO    [dr2] Cluster started in 147.89 seconds
    2023-07-10 00:27:21,255 INFO    [dr2/0] Running addons/cert-manager/start
    2023-07-10 00:27:21,255 INFO    [dr2/1] Running addons/csi-addons/start
    2023-07-10 00:27:40,867 INFO    [dr1/0] addons/cert-manager/start completed in 23.39 seconds
    2023-07-10 00:27:40,867 INFO    [dr1/0] Running addons/rook-operator/start
    2023-07-10 00:27:44,417 INFO    [dr2/0] addons/cert-manager/start completed in 23.16 seconds
    2023-07-10 00:27:44,417 INFO    [dr2/0] Running addons/rook-operator/start
    2023-07-10 00:27:50,084 INFO    [dr1/1] addons/csi-addons/start completed in 32.61 seconds
    2023-07-10 00:27:50,084 INFO    [dr1/1] Running addons/olm/start
    2023-07-10 00:27:53,573 INFO    [dr2/1] addons/csi-addons/start completed in 32.32 seconds
    2023-07-10 00:27:53,573 INFO    [dr2/1] Running addons/olm/start
    2023-07-10 00:28:11,292 INFO    [dr1/0] addons/rook-operator/start completed in 30.42 seconds
    2023-07-10 00:28:11,292 INFO    [dr1/0] Running addons/rook-cluster/start
    2023-07-10 00:28:16,015 INFO    [dr2/0] addons/rook-operator/start completed in 31.60 seconds
    2023-07-10 00:28:16,016 INFO    [dr2/0] Running addons/rook-cluster/start
    2023-07-10 00:29:17,888 INFO    [dr1/1] addons/olm/start completed in 87.80 seconds
    2023-07-10 00:29:17,888 INFO    [dr1/1] Running addons/minio/start
    2023-07-10 00:29:21,088 INFO    [dr2/1] addons/olm/start completed in 87.51 seconds
    2023-07-10 00:29:21,088 INFO    [dr2/1] Running addons/minio/start
    2023-07-10 00:30:13,180 INFO    [dr2/0] addons/rook-cluster/start completed in 117.16 seconds
    2023-07-10 00:30:13,181 INFO    [dr2/0] Running addons/rook-pool/start
    2023-07-10 00:30:14,771 INFO    [dr1/1] addons/minio/start completed in 56.88 seconds
    2023-07-10 00:30:14,771 INFO    [dr1/1] Running addons/velero/start
    2023-07-10 00:30:31,209 INFO    [dr1/0] addons/rook-cluster/start completed in 139.92 seconds
    2023-07-10 00:30:31,209 INFO    [dr1/0] Running addons/rook-pool/start
    2023-07-10 00:30:42,475 INFO    [dr2/0] addons/rook-pool/start completed in 29.29 seconds
    2023-07-10 00:30:42,475 INFO    [dr2/0] Running addons/rook-toolbox/start
    2023-07-10 00:30:49,389 INFO    [dr1/1] addons/velero/start completed in 34.62 seconds
    2023-07-10 00:30:49,389 INFO    [dr1/1] Running addons/velero/test
    2023-07-10 00:30:59,842 INFO    [dr2/1] addons/minio/start completed in 98.75 seconds
    2023-07-10 00:30:59,843 INFO    [dr2/1] Running addons/velero/start
    2023-07-10 00:31:00,068 INFO    [dr1/0] addons/rook-pool/start completed in 28.86 seconds
    2023-07-10 00:31:00,068 INFO    [dr1/0] Running addons/rook-toolbox/start
    2023-07-10 00:31:03,056 INFO    [dr1/0] addons/rook-toolbox/start completed in 2.99 seconds
    2023-07-10 00:31:04,891 INFO    [dr2/0] addons/rook-toolbox/start completed in 22.42 seconds
    2023-07-10 00:31:24,670 INFO    [dr1/1] addons/velero/test completed in 35.28 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] addons/velero/start completed in 32.55 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] Running addons/velero/test
    2023-07-10 00:32:07,067 INFO    [dr2/1] addons/velero/test completed in 34.67 seconds
    2023-07-10 00:32:07,067 INFO    [rdr-hubless/0] Running addons/rbd-mirror/start
    2023-07-10 00:32:07,068 INFO    [rdr-hubless/1] Running addons/submariner/start
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] addons/rbd-mirror/start completed in 56.75 seconds
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] Running addons/rbd-mirror/test
    2023-07-10 00:33:20,852 INFO    [rdr-hubless/0] addons/rbd-mirror/test completed in 17.04 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] addons/submariner/start completed in 86.16 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] Running addons/submariner/test
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] addons/submariner/test completed in 55.20 seconds
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] Running addons/volsync/start
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] addons/volsync/start completed in 32.68 seconds
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] Running addons/volsync/test
    2023-07-10 00:36:40,248 INFO    [rdr-hubless/1] addons/volsync/test completed in 99.14 seconds
    2023-07-10 00:36:40,249 INFO    [rdr-hubless] Environment started in 707.96 seconds

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jul 20, 2023
For testing kube object projection and recipes in an environment without
a hub. This is not really supported but we know about some users using
this topology, and having a test environment makes it easier to support
them and make sure we don't break them by mistake.

This environment is very similar to regional-dr.yaml, with these
changes:

- The hub cluster was removed
- ocm components were removed, since there is no hub
- submariner is deployed at the end instead of of running on the hub at
  the start of the deployment.

Because we run submariner at the end, and it takes about 140 seconds to
deploy and run the self test, starting this environment is slower than
the full regional-dr environment.

An alternative is to remove submariner and volsync from this
environment, and disable volsync in ramen config when a hub is not
available.

Example run:

    $ drenv start envs/regional-dr-hubless.yaml
    2023-07-10 00:24:52,538 INFO    [rdr-hubless] Starting environment
    2023-07-10 00:24:52,583 INFO    [dr1] Starting minikube cluster
    2023-07-10 00:24:53,617 INFO    [dr2] Starting minikube cluster
    2023-07-10 00:27:17,476 INFO    [dr1] Cluster started in 145.15 seconds
    2023-07-10 00:27:17,477 INFO    [dr1/0] Running addons/cert-manager/start
    2023-07-10 00:27:17,477 INFO    [dr1/1] Running addons/csi-addons/start
    2023-07-10 00:27:21,254 INFO    [dr2] Cluster started in 147.89 seconds
    2023-07-10 00:27:21,255 INFO    [dr2/0] Running addons/cert-manager/start
    2023-07-10 00:27:21,255 INFO    [dr2/1] Running addons/csi-addons/start
    2023-07-10 00:27:40,867 INFO    [dr1/0] addons/cert-manager/start completed in 23.39 seconds
    2023-07-10 00:27:40,867 INFO    [dr1/0] Running addons/rook-operator/start
    2023-07-10 00:27:44,417 INFO    [dr2/0] addons/cert-manager/start completed in 23.16 seconds
    2023-07-10 00:27:44,417 INFO    [dr2/0] Running addons/rook-operator/start
    2023-07-10 00:27:50,084 INFO    [dr1/1] addons/csi-addons/start completed in 32.61 seconds
    2023-07-10 00:27:50,084 INFO    [dr1/1] Running addons/olm/start
    2023-07-10 00:27:53,573 INFO    [dr2/1] addons/csi-addons/start completed in 32.32 seconds
    2023-07-10 00:27:53,573 INFO    [dr2/1] Running addons/olm/start
    2023-07-10 00:28:11,292 INFO    [dr1/0] addons/rook-operator/start completed in 30.42 seconds
    2023-07-10 00:28:11,292 INFO    [dr1/0] Running addons/rook-cluster/start
    2023-07-10 00:28:16,015 INFO    [dr2/0] addons/rook-operator/start completed in 31.60 seconds
    2023-07-10 00:28:16,016 INFO    [dr2/0] Running addons/rook-cluster/start
    2023-07-10 00:29:17,888 INFO    [dr1/1] addons/olm/start completed in 87.80 seconds
    2023-07-10 00:29:17,888 INFO    [dr1/1] Running addons/minio/start
    2023-07-10 00:29:21,088 INFO    [dr2/1] addons/olm/start completed in 87.51 seconds
    2023-07-10 00:29:21,088 INFO    [dr2/1] Running addons/minio/start
    2023-07-10 00:30:13,180 INFO    [dr2/0] addons/rook-cluster/start completed in 117.16 seconds
    2023-07-10 00:30:13,181 INFO    [dr2/0] Running addons/rook-pool/start
    2023-07-10 00:30:14,771 INFO    [dr1/1] addons/minio/start completed in 56.88 seconds
    2023-07-10 00:30:14,771 INFO    [dr1/1] Running addons/velero/start
    2023-07-10 00:30:31,209 INFO    [dr1/0] addons/rook-cluster/start completed in 139.92 seconds
    2023-07-10 00:30:31,209 INFO    [dr1/0] Running addons/rook-pool/start
    2023-07-10 00:30:42,475 INFO    [dr2/0] addons/rook-pool/start completed in 29.29 seconds
    2023-07-10 00:30:42,475 INFO    [dr2/0] Running addons/rook-toolbox/start
    2023-07-10 00:30:49,389 INFO    [dr1/1] addons/velero/start completed in 34.62 seconds
    2023-07-10 00:30:49,389 INFO    [dr1/1] Running addons/velero/test
    2023-07-10 00:30:59,842 INFO    [dr2/1] addons/minio/start completed in 98.75 seconds
    2023-07-10 00:30:59,843 INFO    [dr2/1] Running addons/velero/start
    2023-07-10 00:31:00,068 INFO    [dr1/0] addons/rook-pool/start completed in 28.86 seconds
    2023-07-10 00:31:00,068 INFO    [dr1/0] Running addons/rook-toolbox/start
    2023-07-10 00:31:03,056 INFO    [dr1/0] addons/rook-toolbox/start completed in 2.99 seconds
    2023-07-10 00:31:04,891 INFO    [dr2/0] addons/rook-toolbox/start completed in 22.42 seconds
    2023-07-10 00:31:24,670 INFO    [dr1/1] addons/velero/test completed in 35.28 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] addons/velero/start completed in 32.55 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] Running addons/velero/test
    2023-07-10 00:32:07,067 INFO    [dr2/1] addons/velero/test completed in 34.67 seconds
    2023-07-10 00:32:07,067 INFO    [rdr-hubless/0] Running addons/rbd-mirror/start
    2023-07-10 00:32:07,068 INFO    [rdr-hubless/1] Running addons/submariner/start
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] addons/rbd-mirror/start completed in 56.75 seconds
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] Running addons/rbd-mirror/test
    2023-07-10 00:33:20,852 INFO    [rdr-hubless/0] addons/rbd-mirror/test completed in 17.04 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] addons/submariner/start completed in 86.16 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] Running addons/submariner/test
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] addons/submariner/test completed in 55.20 seconds
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] Running addons/volsync/start
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] addons/volsync/start completed in 32.68 seconds
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] Running addons/volsync/test
    2023-07-10 00:36:40,248 INFO    [rdr-hubless/1] addons/volsync/test completed in 99.14 seconds
    2023-07-10 00:36:40,249 INFO    [rdr-hubless] Environment started in 707.96 seconds

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit to nirs/ramen that referenced this issue Jul 25, 2023
For testing kube object projection and recipes in an environment without
a hub. This is not really supported but we know about some users using
this topology, and having a test environment makes it easier to support
them and make sure we don't break them by mistake.

This environment is very similar to regional-dr.yaml, with these
changes:

- The hub cluster was removed
- ocm components were removed, since there is no hub
- submariner is deployed at the end instead of of running on the hub at
  the start of the deployment.

Because we run submariner at the end, and it takes about 140 seconds to
deploy and run the self test, starting this environment is slower than
the full regional-dr environment.

An alternative is to remove submariner and volsync from this
environment, and disable volsync in ramen config when a hub is not
available.

Example run:

    $ drenv start envs/regional-dr-hubless.yaml
    2023-07-10 00:24:52,538 INFO    [rdr-hubless] Starting environment
    2023-07-10 00:24:52,583 INFO    [dr1] Starting minikube cluster
    2023-07-10 00:24:53,617 INFO    [dr2] Starting minikube cluster
    2023-07-10 00:27:17,476 INFO    [dr1] Cluster started in 145.15 seconds
    2023-07-10 00:27:17,477 INFO    [dr1/0] Running addons/cert-manager/start
    2023-07-10 00:27:17,477 INFO    [dr1/1] Running addons/csi-addons/start
    2023-07-10 00:27:21,254 INFO    [dr2] Cluster started in 147.89 seconds
    2023-07-10 00:27:21,255 INFO    [dr2/0] Running addons/cert-manager/start
    2023-07-10 00:27:21,255 INFO    [dr2/1] Running addons/csi-addons/start
    2023-07-10 00:27:40,867 INFO    [dr1/0] addons/cert-manager/start completed in 23.39 seconds
    2023-07-10 00:27:40,867 INFO    [dr1/0] Running addons/rook-operator/start
    2023-07-10 00:27:44,417 INFO    [dr2/0] addons/cert-manager/start completed in 23.16 seconds
    2023-07-10 00:27:44,417 INFO    [dr2/0] Running addons/rook-operator/start
    2023-07-10 00:27:50,084 INFO    [dr1/1] addons/csi-addons/start completed in 32.61 seconds
    2023-07-10 00:27:50,084 INFO    [dr1/1] Running addons/olm/start
    2023-07-10 00:27:53,573 INFO    [dr2/1] addons/csi-addons/start completed in 32.32 seconds
    2023-07-10 00:27:53,573 INFO    [dr2/1] Running addons/olm/start
    2023-07-10 00:28:11,292 INFO    [dr1/0] addons/rook-operator/start completed in 30.42 seconds
    2023-07-10 00:28:11,292 INFO    [dr1/0] Running addons/rook-cluster/start
    2023-07-10 00:28:16,015 INFO    [dr2/0] addons/rook-operator/start completed in 31.60 seconds
    2023-07-10 00:28:16,016 INFO    [dr2/0] Running addons/rook-cluster/start
    2023-07-10 00:29:17,888 INFO    [dr1/1] addons/olm/start completed in 87.80 seconds
    2023-07-10 00:29:17,888 INFO    [dr1/1] Running addons/minio/start
    2023-07-10 00:29:21,088 INFO    [dr2/1] addons/olm/start completed in 87.51 seconds
    2023-07-10 00:29:21,088 INFO    [dr2/1] Running addons/minio/start
    2023-07-10 00:30:13,180 INFO    [dr2/0] addons/rook-cluster/start completed in 117.16 seconds
    2023-07-10 00:30:13,181 INFO    [dr2/0] Running addons/rook-pool/start
    2023-07-10 00:30:14,771 INFO    [dr1/1] addons/minio/start completed in 56.88 seconds
    2023-07-10 00:30:14,771 INFO    [dr1/1] Running addons/velero/start
    2023-07-10 00:30:31,209 INFO    [dr1/0] addons/rook-cluster/start completed in 139.92 seconds
    2023-07-10 00:30:31,209 INFO    [dr1/0] Running addons/rook-pool/start
    2023-07-10 00:30:42,475 INFO    [dr2/0] addons/rook-pool/start completed in 29.29 seconds
    2023-07-10 00:30:42,475 INFO    [dr2/0] Running addons/rook-toolbox/start
    2023-07-10 00:30:49,389 INFO    [dr1/1] addons/velero/start completed in 34.62 seconds
    2023-07-10 00:30:49,389 INFO    [dr1/1] Running addons/velero/test
    2023-07-10 00:30:59,842 INFO    [dr2/1] addons/minio/start completed in 98.75 seconds
    2023-07-10 00:30:59,843 INFO    [dr2/1] Running addons/velero/start
    2023-07-10 00:31:00,068 INFO    [dr1/0] addons/rook-pool/start completed in 28.86 seconds
    2023-07-10 00:31:00,068 INFO    [dr1/0] Running addons/rook-toolbox/start
    2023-07-10 00:31:03,056 INFO    [dr1/0] addons/rook-toolbox/start completed in 2.99 seconds
    2023-07-10 00:31:04,891 INFO    [dr2/0] addons/rook-toolbox/start completed in 22.42 seconds
    2023-07-10 00:31:24,670 INFO    [dr1/1] addons/velero/test completed in 35.28 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] addons/velero/start completed in 32.55 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] Running addons/velero/test
    2023-07-10 00:32:07,067 INFO    [dr2/1] addons/velero/test completed in 34.67 seconds
    2023-07-10 00:32:07,067 INFO    [rdr-hubless/0] Running addons/rbd-mirror/start
    2023-07-10 00:32:07,068 INFO    [rdr-hubless/1] Running addons/submariner/start
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] addons/rbd-mirror/start completed in 56.75 seconds
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] Running addons/rbd-mirror/test
    2023-07-10 00:33:20,852 INFO    [rdr-hubless/0] addons/rbd-mirror/test completed in 17.04 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] addons/submariner/start completed in 86.16 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] Running addons/submariner/test
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] addons/submariner/test completed in 55.20 seconds
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] Running addons/volsync/start
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] addons/volsync/start completed in 32.68 seconds
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] Running addons/volsync/test
    2023-07-10 00:36:40,248 INFO    [rdr-hubless/1] addons/volsync/test completed in 99.14 seconds
    2023-07-10 00:36:40,249 INFO    [rdr-hubless] Environment started in 707.96 seconds

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
nirs added a commit that referenced this issue Jul 26, 2023
For testing kube object projection and recipes in an environment without
a hub. This is not really supported but we know about some users using
this topology, and having a test environment makes it easier to support
them and make sure we don't break them by mistake.

This environment is very similar to regional-dr.yaml, with these
changes:

- The hub cluster was removed
- ocm components were removed, since there is no hub
- submariner is deployed at the end instead of of running on the hub at
  the start of the deployment.

Because we run submariner at the end, and it takes about 140 seconds to
deploy and run the self test, starting this environment is slower than
the full regional-dr environment.

An alternative is to remove submariner and volsync from this
environment, and disable volsync in ramen config when a hub is not
available.

Example run:

    $ drenv start envs/regional-dr-hubless.yaml
    2023-07-10 00:24:52,538 INFO    [rdr-hubless] Starting environment
    2023-07-10 00:24:52,583 INFO    [dr1] Starting minikube cluster
    2023-07-10 00:24:53,617 INFO    [dr2] Starting minikube cluster
    2023-07-10 00:27:17,476 INFO    [dr1] Cluster started in 145.15 seconds
    2023-07-10 00:27:17,477 INFO    [dr1/0] Running addons/cert-manager/start
    2023-07-10 00:27:17,477 INFO    [dr1/1] Running addons/csi-addons/start
    2023-07-10 00:27:21,254 INFO    [dr2] Cluster started in 147.89 seconds
    2023-07-10 00:27:21,255 INFO    [dr2/0] Running addons/cert-manager/start
    2023-07-10 00:27:21,255 INFO    [dr2/1] Running addons/csi-addons/start
    2023-07-10 00:27:40,867 INFO    [dr1/0] addons/cert-manager/start completed in 23.39 seconds
    2023-07-10 00:27:40,867 INFO    [dr1/0] Running addons/rook-operator/start
    2023-07-10 00:27:44,417 INFO    [dr2/0] addons/cert-manager/start completed in 23.16 seconds
    2023-07-10 00:27:44,417 INFO    [dr2/0] Running addons/rook-operator/start
    2023-07-10 00:27:50,084 INFO    [dr1/1] addons/csi-addons/start completed in 32.61 seconds
    2023-07-10 00:27:50,084 INFO    [dr1/1] Running addons/olm/start
    2023-07-10 00:27:53,573 INFO    [dr2/1] addons/csi-addons/start completed in 32.32 seconds
    2023-07-10 00:27:53,573 INFO    [dr2/1] Running addons/olm/start
    2023-07-10 00:28:11,292 INFO    [dr1/0] addons/rook-operator/start completed in 30.42 seconds
    2023-07-10 00:28:11,292 INFO    [dr1/0] Running addons/rook-cluster/start
    2023-07-10 00:28:16,015 INFO    [dr2/0] addons/rook-operator/start completed in 31.60 seconds
    2023-07-10 00:28:16,016 INFO    [dr2/0] Running addons/rook-cluster/start
    2023-07-10 00:29:17,888 INFO    [dr1/1] addons/olm/start completed in 87.80 seconds
    2023-07-10 00:29:17,888 INFO    [dr1/1] Running addons/minio/start
    2023-07-10 00:29:21,088 INFO    [dr2/1] addons/olm/start completed in 87.51 seconds
    2023-07-10 00:29:21,088 INFO    [dr2/1] Running addons/minio/start
    2023-07-10 00:30:13,180 INFO    [dr2/0] addons/rook-cluster/start completed in 117.16 seconds
    2023-07-10 00:30:13,181 INFO    [dr2/0] Running addons/rook-pool/start
    2023-07-10 00:30:14,771 INFO    [dr1/1] addons/minio/start completed in 56.88 seconds
    2023-07-10 00:30:14,771 INFO    [dr1/1] Running addons/velero/start
    2023-07-10 00:30:31,209 INFO    [dr1/0] addons/rook-cluster/start completed in 139.92 seconds
    2023-07-10 00:30:31,209 INFO    [dr1/0] Running addons/rook-pool/start
    2023-07-10 00:30:42,475 INFO    [dr2/0] addons/rook-pool/start completed in 29.29 seconds
    2023-07-10 00:30:42,475 INFO    [dr2/0] Running addons/rook-toolbox/start
    2023-07-10 00:30:49,389 INFO    [dr1/1] addons/velero/start completed in 34.62 seconds
    2023-07-10 00:30:49,389 INFO    [dr1/1] Running addons/velero/test
    2023-07-10 00:30:59,842 INFO    [dr2/1] addons/minio/start completed in 98.75 seconds
    2023-07-10 00:30:59,843 INFO    [dr2/1] Running addons/velero/start
    2023-07-10 00:31:00,068 INFO    [dr1/0] addons/rook-pool/start completed in 28.86 seconds
    2023-07-10 00:31:00,068 INFO    [dr1/0] Running addons/rook-toolbox/start
    2023-07-10 00:31:03,056 INFO    [dr1/0] addons/rook-toolbox/start completed in 2.99 seconds
    2023-07-10 00:31:04,891 INFO    [dr2/0] addons/rook-toolbox/start completed in 22.42 seconds
    2023-07-10 00:31:24,670 INFO    [dr1/1] addons/velero/test completed in 35.28 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] addons/velero/start completed in 32.55 seconds
    2023-07-10 00:31:32,393 INFO    [dr2/1] Running addons/velero/test
    2023-07-10 00:32:07,067 INFO    [dr2/1] addons/velero/test completed in 34.67 seconds
    2023-07-10 00:32:07,067 INFO    [rdr-hubless/0] Running addons/rbd-mirror/start
    2023-07-10 00:32:07,068 INFO    [rdr-hubless/1] Running addons/submariner/start
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] addons/rbd-mirror/start completed in 56.75 seconds
    2023-07-10 00:33:03,816 INFO    [rdr-hubless/0] Running addons/rbd-mirror/test
    2023-07-10 00:33:20,852 INFO    [rdr-hubless/0] addons/rbd-mirror/test completed in 17.04 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] addons/submariner/start completed in 86.16 seconds
    2023-07-10 00:33:33,223 INFO    [rdr-hubless/1] Running addons/submariner/test
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] addons/submariner/test completed in 55.20 seconds
    2023-07-10 00:34:28,427 INFO    [rdr-hubless/1] Running addons/volsync/start
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] addons/volsync/start completed in 32.68 seconds
    2023-07-10 00:35:01,109 INFO    [rdr-hubless/1] Running addons/volsync/test
    2023-07-10 00:36:40,248 INFO    [rdr-hubless/1] addons/volsync/test completed in 99.14 seconds
    2023-07-10 00:36:40,249 INFO    [rdr-hubless] Environment started in 707.96 seconds

Part-of: #902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Testing related issue
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants