Fred Rolland
fe38c5ac33
Add node selectot for VerifyPvcEmpty pod ( #974 )
...
Signed-off-by: Fred Rolland <frolland@redhat.com>
2019-09-26 10:08:53 -04:00
Alexander Wels
2884854375
falloc on resize and blank disk. ( #970 )
...
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-09-25 07:57:30 -04:00
zvikorn
7dd334121c
Creating blank disk on a block device ( #962 )
...
Signed-off-by: tavni <tavni@redhat.com>
2019-09-18 19:06:02 -04:00
Alexander Wels
6f350eb0a7
Use right lane k8s-1.15.1, and verify that --enable-ceph is set. ( #959 )
...
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-09-18 07:21:15 -04:00
Alexander Wels
6704acdf02
Fix transport tests to work with ceph file system. ( #953 )
...
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-09-10 00:27:05 -04:00
Alexander Wels
fe9df1803b
Properly size disks based on the PVC request size. ( #940 )
...
1G = 1000000000
1Gi = 1073741824
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-08-27 08:56:04 -04:00
Michael Henriksen
019c843586
make clone pods use selinux type spc_t instead of privileged ( #875 )
...
* make clone pods use selinux type spc_t instead of privileged
* fix block mode related tests
2019-07-08 13:58:42 -04:00
Alexander Wels
dc4d22dc5d
Allow specifying block storage class. ( #815 )
...
Fix node selection functional test
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-06-28 08:22:56 -04:00
Alexander Wels
6c86b0dbd6
Remove a flaky part of the test that didn't add value.
...
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-06-07 08:45:48 -04:00
Daniel Erez
0a90bfb4d0
datavolume_test: tar archive import
...
Added positive and negative functional tests for
importing tar archive files.
Change-Id: I584ab0e2ae4572a6300cb531ce5f9c02c4449d2b
Signed-off-by: Daniel Erez <derez@redhat.com>
Signed-off-by: Fred Rolland <frolland@redhat.com>
Co-authored-by: Fred Rolland <frolland@redhat.com>
2019-06-06 11:30:03 +03:00
Fred Rolland
0088b2a0e3
Add Polarion ID to import archive test
...
Signed-off-by: Daniel Erez <derez@redhat.com>
Signed-off-by: Fred Rolland <frolland@redhat.com>
Co-authored-by: Daniel Erez <derez@redhat.com>
2019-05-29 16:01:11 +03:00
Alexander Wels
7a53e3b34b
Fix archive test to properly use cdi namespace variable.
...
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-05-15 10:20:48 -04:00
Alexander Wels
af31abe41b
Merge pull request #777 from awels/remove_tar_from_reader
...
Remove tar from the readers
2019-05-15 07:52:44 -04:00
Alexander Wels
f40c16b25b
Randomize cdi namespace in tests.
...
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-05-14 10:55:42 -04:00
Alexander Wels
c30f3975d2
Remove tar from the readers
...
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-05-03 08:37:45 -04:00
Alexander Wels
05b6a21736
Fix issues with size header in cloning something reading beginning of data.
...
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-04-26 19:47:03 -04:00
tavni
e6665945bc
Adding support to clone disk image from one Block PV to another
...
Signed-off-by: tavni <tavni@redhat.com>
2019-04-15 15:33:52 +03:00
Michael Henriksen
c54155d189
import/upload should not look for pods when they may not exist
2019-03-29 10:26:32 -04:00
Alexander Wels
77e4d7b99d
Update import_test.go
2019-03-28 11:37:38 -04:00
tavni
d4c7b0be54
Adding support to import disk image into Block PV
...
Signed-off-by: tavni <tavni@redhat.com>
2019-03-28 11:43:56 +02:00
Alexander Wels
0a32c5be1c
Test prometheus endpoint existance.
...
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-02-28 11:42:13 -05:00
j-griffith
30c0e1b814
Delete importer pod on pvc delete request
...
Related to issue #525 , we have a similar situation when using PVCs
without DataVolumes. The user requests a PVC with CDI Importer
annotations, if the Importer POD is in a fail/retry loop and the user
requests deletion of the PVC the PVC will be stuck in terminating
waiting for the user to forcibly delete the running Import POD.
This PR adds a check for PVC delete in the import controller and
will delete the POD explicitly if it sees a PVC delete request. This
will also be picked up for Import DataVolumes, so we can remove the
extra checks that were previously added in the DV controller.
fixes #649
fixes #525
2019-02-20 13:43:09 -07:00
Nelly Credi
0c6e1ff6ae
updated to [attr1][attr2][attr3] struct
2019-01-10 17:09:51 +02:00
Nelly Credi
0149a300c7
Add test attributes
...
Added rfe id, test id, criticality etc
Based on issue
https://github.com/kubevirt/containerized-data-importer/issues/359
2019-01-10 17:05:57 +02:00
Michael Henriksen
b135463747
operator scaffolding
2019-01-08 16:03:21 -05:00
tavni
c245fe2ae6
Adding DataVolume support for unpacking imported archive
...
Signed-off-by: tavni <tavni@redhat.com>
2019-01-08 15:10:02 +02:00
Alexander Wels
8b27e695f0
Fix some functional test issues running locally.
...
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-01-03 10:34:56 -05:00
tavni
f4bb5e531e
Adding more functional tests for blank-raw-image, PV allocation on specific
...
node and upload disk image features.
Signed-off-by: tavni <tavni@redhat.com>
2018-12-20 13:32:54 +02:00
Alexander Wels
928ed8621b
Merge branch 'master' into fix_misspell
2018-12-06 11:32:42 -05:00
Michael Henriksen
2b6b39361a
was incorrectly getting available free space on volume
2018-12-05 11:28:04 -05:00
Alexander Wels
2764d4feec
Fix go report card issues.
...
Signed-off-by: Alexander Wels <awels@redhat.com>
2018-11-30 15:42:02 -05:00
tavni
aebc2b3e87
Add ability to create empty disk images #497
...
Signed-off-by: tavni <tavni@redhat.com>
2018-11-27 16:15:44 +02:00
j-griffith
cd88a3d8b7
Check orphaned DataVolume PVCs for PODs
...
This change adds an extra check to deleted Data Volume PVCs and makes
sure that we explicitly delete any associated POD objects that they
owned regardless of their phase.
GH Issue #525
2018-11-17 09:46:26 -07:00
Alexander Wels
995ebf39e7
Increase e2e test timeouts.
...
Signed-off-by: Alexander Wels <awels@redhat.com>
2018-11-02 11:31:45 -04:00
Alexander Wels
edf39e1cc6
Merge branch 'master' into report_progress_cloner
2018-11-01 12:44:31 -04:00
Alexander Wels
40072b631a
Report cloning progress in logs and prometheus.
...
Signed-off-by: Alexander Wels <awels@redhat.com>
2018-11-01 11:09:03 -04:00
Alexander Wels
4c762a8bab
Merge branch 'master' into cleaning
2018-11-01 08:07:28 -04:00
Alexander Wels
a5a82aa970
Report import progress with prometheus
...
- Added code report progress with prometheus
Signed-off-by: Alexander Wels <awels@redhat.com>
2018-10-31 11:26:38 -04:00
tavni
d7dce90bcb
Removing unnecessary code and update Const UPLOAD name #506
...
Signed-off-by: tavni <tavni@redhat.com>
2018-10-28 16:17:28 +02:00
tavni
05778eecff
CDI e2e negative tests
...
Signed-off-by: tavni <tavni@redhat.com>
2018-10-17 11:04:41 +03:00
Alexander Wels
5c43a1373e
Update no annotation PVC import test. ( #403 )
...
- Set verbosity on controller to 3 to enable simpler tests.
Signed-off-by: Alexander Wels <awels@redhat.com>
2018-09-05 08:09:30 -04:00
Jeff Vance
a450005167
NewFrameworkOrDie
(#399 )
...
* add NewFrameworkOrDie
* Config{} defaults
* review comments
* init fmt fix
2018-08-31 16:11:14 -05:00
Alexander Wels
d7cb81a801
Change embedded Config from ptr to regular embed ( #373 )
...
Signed-off-by: Alexander Wels <awels@redhat.com>
2018-08-24 13:54:01 -07:00
Alexander Wels
c5f4615494
Add skip namespace creation flag.
...
- Not all tests require a namespace to run, add the ability
to skip creating the generated namespace.
Signed-off-by: Alexander Wels <awels@redhat.com>
2018-08-23 13:53:56 -04:00
Alexander Wels
ea15dd41f5
Add regular PVC creation e2e test.
...
- Added e2e test to see if regular PVC doesn't get populated.
- Added PVC utilities, for both framework and stand alone
- Added exec utility functions to execute commands against running
Pods.
Signed-off-by: Alexander Wels <awels@redhat.com>
2018-08-22 14:10:49 -04:00