-
Notifications
You must be signed in to change notification settings - Fork 138
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
Explore alternative options for mkcloud deployment #1129
Comments
Very good idea! Let me know if I can help in any way. |
It's necessary to test the installation. But we already have a thing called "crowbar_register". So we could install the nodes with crowbar_register and just pxe boot a single node which is not used. I think that would speedup the installation. |
Sure, that will always be the case on jenkins, my line of thinking was more directed at a local setup which its easier to create/teardown. Another option would be Vagrant + vagrant-libvirt and its ability to boot from different boxes, which we could have premade boxes remotely or locally for reuse + it supports pxe boot and different deploy methods. |
That's exactly the use case I am interested in as well. A quick way to deploy a test cloud locally. Right now a full setup with mkcloud takes quite a bit of time. |
Big +1 for submitting this issue and any subsequent efforts to address it! I really dislike that we have an internal SUSE-only deployment tool which reinvents many wheels badly :-( But it's there for historical reasons. Please see https://github.com/SUSE-Cloud/suse-cloud-vagrant/ which has been around for a long time but needs new boxes built for SOC6 and 7. (If you are interested I can explain how to get this working automatically in IBS - don't even think about doing it manually as all the heavy lifting is already done.) |
Also, having local repos has not worked for me since the start :( |
I've submitted #1139. Let's submit a github issue for each area of potential improvement, and link to it from this "master" issue. |
@Itxaka wrote:
I guess you are using |
Good point, will do, althougth I feel that is a local issue more than a sync-repos issue, I will create an issue requesting more docs/examples |
I extended your description with another area for significant improvement. |
Following up from today's cloud meeting, I have sanitized my scripts and created the PR, it should address some problems for the time being. Could we also discuss on this PR? #1145 |
@Itxaka and other remote workers: How long does it take you guys right now to deploy a cloud? I haven't carefully timed it but it seems that mkcloud{1,2} take about an hour for |
@nicolasbock For me it takes about 40 minutes to deploy a cloud6 env. And that is having the isos and admin qcow image already downloaded locally and hijacking mkcloud to make it use them. Hardware: i7 3.8Ghz, 20Gb ram, 512Gb SSD. I would say that in my case, the bandwidth is a huge bottleneck. Only in downloads I spend around 40 minutes :( |
@Itxaka That's pretty bad 😦. I was hoping you'd tell me it's like 10 minutes or something like that 😉. And the hardware you are using is pretty fast too... |
@nicolasbock yeah 😭 Probably one of the huge timesinks is the pxe install of both nodes. Would love to be able to m odify that so you get the pxe install only with a flag or something like that and otherwise you get both nodes with a pre-made qcow file with the system already installed. No point into reinstalling the nodes everytime :O |
Isn't this already possible with the |
BTW 40 mins sounds about right for me too. |
No idea, I did a couple of tests with that option but could not find out what they were there for or what to do after :D |
It'd be interesting to find out where the deployment process spends all it's time. I am thinking kind of like bootchart does it. |
When working remotely, you should really mirror the relevant isos from rsync clouddata.nue.suse.com::cloud/images/ and repos/ ... and maybe we even want to replace our wget with above rsync? |
@bmwiedemann https://github.com/SUSE/cloud/issues/141 this one is for docs of sync-repos 😉, care to open a new one to document the rsync + clouddata, distsuse and susedownload variables for remote users? EDIT: Got sent before finished :O |
I am having trouble to see how In my head, implementing this point while fixing Crowbar itself would rather be an enhancement for Crowbar. Otherwise, keeping things in Virtual Machines should be more beneficial. |
@Itxaka it is currently in a rather half-finished state, because it is not fully clear how people would want to use it. |
Unfortunately setting up a test environment with mkcloud takes quite some time, and mkcloud only allows to have one snapshot at a time, which makes difficult to quickly test and iterate locally.
We should try to identify alternative routes for a faster mkcloud deployments for development purposes.
Some bullet points from my (still ignorant) point of view of mkcloud:
Looking for some comments here to see if its feasible or not and what else could be looked at.
Speeding up the product itself (not mkcloud)
The text was updated successfully, but these errors were encountered: