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

PB-8410 Incorporate the logic not delete the restore job pods when mo… #402

Closed
wants to merge 1 commit into from

Conversation

vsundarraj-px
Copy link
Contributor

…unt failure occurs within 5 mins

What this PR does / why we need it:
This PR handles Job pod mount failures which are transient. Currently while checking for job status and if we find that mount pvc mount has failed, we immediately kill the jobpod and return error. We noticed that this pvc mount failure are transient errors and mount actually succeeds in next few seconds. Hence, this PR enables a timeout settings through KDMP configMap setting. When set, if mount failure should occur, will not fail immediately but wait till the timout set and if still the mount failure occurs then the job is terminated with error.

Which issue(s) this PR fixes (optional)
Closes # PB-8410

Special notes for your reviewer:

Unit testing done
NFS Restore
NFS Backup
KDMP Backup
KDMP Restore
Since the issue is not easily reproducible, the unit testing is performed with a debug image by forcefully setting mountFailure

Copy link

License Evaluation Results:

Title Package Name Package Version Severity License Info Introduced
MPL-2.0 license github.com/hashicorp/errwrap 1.1.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-multierror 1.1.1 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/resourcecollector@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/aws@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/azure@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/gcp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/snapshotter@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']

Total License Issues: 17

Copy link

License Evaluation Results:

Title Package Name Package Version Severity License Info Introduced
MPL-2.0 license github.com/hashicorp/errwrap 1.1.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-multierror 1.1.1 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/resourcecollector@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/aws@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/azure@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/gcp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/snapshotter@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']

Total License Issues: 17

Copy link

License Evaluation Results:

Title Package Name Package Version Severity License Info Introduced
MPL-2.0 license github.com/hashicorp/errwrap 1.1.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-multierror 1.1.1 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/resourcecollector@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/aws@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/azure@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/gcp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/snapshotter@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']

Total License Issues: 17

Copy link
Contributor

@prashanthpx prashanthpx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

License Evaluation Results:

Title Package Name Package Version Severity License Info Introduced
MPL-2.0 license github.com/hashicorp/errwrap 1.1.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-multierror 1.1.1 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/resourcecollector@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/aws@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/azure@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/gcp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/snapshotter@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']

Total License Issues: 17

timeOut = PxbDefaultJobFailureRetryTimeout
}
}
// skipping error cos we know we will never fail here.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit :: We can remove this comment as this is moot

@@ -79,6 +79,10 @@ const (
kopiaBackupString = "kopiaexecutor backup"
// if providerType in node spec has this string then it is GCP hosted cluster
GCPBasedClusterString = "gce://"
//PxbJobFailureRetryTimeoutKey defines timeout key name to be set after job failure due to mount failure
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Space after //

// returns error if configMap cannot be read from k8s
// returns error if key is not found in configMap
// returns value of the key if key is found in configMap
func GetDataFromConfigMap(name, namespace, key string) (string, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we re-use existing API GetConfigValue()?

// we could fail here if the value set is invalid or has some junk charectors.
duration, err := time.ParseDuration(timeOut + "s")
if err != nil || duration <= 0 {
logrus.Errorf("invalid %v value set. Should be numberic value > 0. Setting to default limit", PxbJobFailureRetryTimeoutKey)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add fn in the above debug msg as well?

logrus.Debugf("%v:failed retry limit not found. Setting to default: %v", fn, err)
timeOut = PxbDefaultJobFailureRetryTimeout
} else {
// we could fail here if the value set is invalid or has some junk charectors.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: charectors

@siva-portworx
Copy link
Contributor

@vsundarraj-px Should we add it for nfsDelete and kopiaDelete as well?

@prashanthpx
Copy link
Contributor

@vsundarraj-px Should we add it for nfsDelete and kopiaDelete as well?
For kopiadelete, we migth not need as there is no mounting for s3.

…unt failure occurs within 5 mins

Signed-off-by: vsundarraj-px <[email protected]>
Copy link

License Evaluation Results:

Title Package Name Package Version Severity License Info Introduced
MPL-2.0 license github.com/hashicorp/errwrap 1.1.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-multierror 1.1.1 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/resourcecollector@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/aws@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/azure@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/gcp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/snapshotter@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/utils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/k8sutils@#2ae9d2b45eb1', 'github.com/libopenstorage/stork/pkg/version@#2ae9d2b45eb1', 'github.com/hashicorp/[email protected]']

Total License Issues: 17

@vsundarraj-px vsundarraj-px changed the base branch from master to 1.2.16 November 18, 2024 08:03
@vsundarraj-px vsundarraj-px changed the base branch from 1.2.16 to master November 18, 2024 08:04
@vsundarraj-px
Copy link
Contributor Author

This PR is closed as the PR #404
against 1.2.16 was opened and merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants