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

util: store EnvVaultInsecure as string, not bool #1853

Merged
merged 1 commit into from Feb 2, 2021

Conversation

nixpanic
Copy link
Member

@nixpanic nixpanic commented Feb 2, 2021

The configuration option EnvVaultInsecure is expected to be a string,
not a boolean. By converting the bool back to a string (after
verification), it is now possible to skip the certificate validation
check by setting vaultCAVerify: false in the Vault configuration.

Fixes: #1852


Show available bot commands

These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

  • /retest ci/centos/<job-name>: retest the <job-name> after unrelated
    failure (please report the failure too!)
  • /retest all: run this in case the CentOS CI failed to start/report any test
    progress or results

The configuration option `EnvVaultInsecure` is expected to be a string,
not a boolean. By converting the bool back to a string (after
verification), it is now possible to skip the certificate validation
check by setting `vaultCAVerify: false` in the Vault configuration.

Fixes: ceph#1852
Reported-by: Bryon Nevis <bryon.nevis@intel.com>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
@nixpanic nixpanic added bug Something isn't working component/rbd Issues related to RBD component/util Utility functions shared between CephFS and RBD backport-to-release-v3.2 labels Feb 2, 2021
@nixpanic nixpanic requested a review from Madhu-1 February 2, 2021 09:54
@Madhu-1 Madhu-1 added the ready-to-merge This PR is ready to be merged and it doesn't need second review (backports only) label Feb 2, 2021
@nixpanic
Copy link
Member Author

nixpanic commented Feb 2, 2021

/retest ci/centos/upgrade-tests-cephfs

@nixpanic
Copy link
Member Author

nixpanic commented Feb 2, 2021

/retest ci/centos/upgrade-tests-cephfs

Error from server: error when creating "https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/v3.0.1/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml": etcdserver: request timed out

It seems there is no automatic retry for installing the snapshot related components?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component/rbd Issues related to RBD component/util Utility functions shared between CephFS and RBD ready-to-merge This PR is ready to be merged and it doesn't need second review (backports only)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

internal/util/vault.go passes incorrect type for vaultCAVerify
2 participants