-
Notifications
You must be signed in to change notification settings - Fork 145
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
Add testcloud provisioner #134
Conversation
a71d283
to
8e6fcbd
Compare
Note that testcloud will print on stdout information about formatting the VM disk, here is a patch for that for testcloud: |
8e6fcbd
to
53d07cd
Compare
53d07cd
to
4da492f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Import fails:
>>> import tmt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/psss/git/tmt/tmt/__init__.py", line 3, in <module>
from tmt.base import Tree, Test, Plan, Story, Run
File "/home/psss/git/tmt/tmt/base.py", line 15, in <module>
import tmt.steps.provision
File "/home/psss/git/tmt/tmt/steps/provision/__init__.py", line 11, in <module>
from tmt.steps.provision import vagrant, localhost, podman, testcloud
File "/home/psss/git/tmt/tmt/steps/provision/testcloud.py", line 5, in <module>
import testcloud.image
ModuleNotFoundError: No module named 'testcloud'
Perhaps forgotten BuildRequires
in the pull request?
4da492f
to
5d7a629
Compare
81b11c9
to
cbf0c53
Compare
a8c44a3
to
eb3d5aa
Compare
Seems the
|
Or shall we include |
0f7e779
to
a79f52c
Compare
@psss all should be fixed, waiting for ssh to be available was added ... options needed for seamless connection via ssh added to everyting ... Kindly asking for next round of review |
Nice, thanks! The ssh retry fixed the connection problem. One last thing: Perhaps we should remove |
ok |
a79f52c
to
91bfa19
Compare
@psss done |
91bfa19
to
c28a1fb
Compare
This is already fixed ... not able to resolve it ....
c28a1fb
to
83735e9
Compare
This MR adds provisioning of qcow2 images via testcloud. To test with a qcow2 from url: tmt run -a provision -h testcloud --image https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-32/compose/Cloud/x86_64/images/Fedora-Cloud-Base-32-20200301.n.0.x86_64.qcow2 To test with a local qcow2: tmt run -a provision -h testcloud --image file:///home/user/fedora.qcow2 To test with latest Rawhide: tmt run -a provision -h testcloud --image fedora tmt run -a provision -h testcloud --image rawhide tmt run -a provision -h testcloud --image fedora-rawhide Other mappings will come later, as it is a bit PITA to do .... Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
83735e9
to
ec4c0d7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, works now for all tmt plans. Thanks for all the fixes!
This MR adds provisioning of qcow2 images via testcloud.
To test with a qcow2 from url:
To test with a local qcow2:
To test with latest Rawhide:
Other mappings will come later, as it is a bit PITA to do ....
Signed-off-by: Miroslav Vadkerti mvadkert@redhat.com