Comments (9)
You still would need to make sure that it is the latest version...
IMHO, the better alternative is to use the localdirs mechanism with rsync from clouddata (or NFS in the well-connected case)
from automation.
Agreed on both points. But as long as the wget
remains, it should use caching ...
from automation.
Also looks like SP3-64up.qcow2
is being downloaded to /tmp
. Again, /var/cache
is a better place for this.
from automation.
+1 This is terrible for remote workers. My local fixes right now:
- Have
SLES12-SP1.qcow2
locally stored and cp to /tmp in the wrapper script that launches mkcloud - Have
SUSE-OPENSTACK-CLOUD-6-x86_64-GM-DVD1.iso
locally stored and scp to the admin node on thesshrun()
function
While this works, this is a bad quick patch to reduce my local dev deployment by about 35 minutes. We should support a timesaver like this out of the box
from automation.
@Itxaka notice that the Devel Cloud ISO is generated every night, so every day you should preemptively download it. I tried at some point to have a local squid proxy (I'm remote too), but since I didn't deploy every day I always needed the time for squid to cache the images.
What worked for me is to have an allocated slot in one of the mkcloud hosts. This way if caching is not working, the speed to copy the images is really fast since it remains in the local network.
from automation.
is anyone interested in converting this into a pull request? adding a -do-not-download option should be relatively easy.
from automation.
If I understand it correctly there is at least 2 images downloaded:
- The image for the admin node (SLES12-SP1.qcow2 if you use want_sles12=1)
- The image that is mounted on the admin node and served over tftp for node install (depends on cloudsource)
On the first case, we could download them to any dir but /tmp
On the second, Im not sure a good solution for it. Download it to a local dir and scp it to the admin node? This does not account for the develcloud image, as it changes, but a simple check for differences + delta paching would be nice to have.
At least with those 2 small fixes we would be covering some time gaps.
from automation.
To sync files, you could use
rsync -a clouddata.nue.suse.com::cloud/images/x86_64/SLES12-SP1.qcow2 /var/cache/mkcloud/
from automation.
We should extend dl-ibs
to take care of this.
from automation.
Related Issues (20)
- Explore alternative options for mkcloud deployment HOT 23
- Need faster image download mechanism
- mkcloud needs to automatically log itself to a file HOT 3
- native support for screen (and tmux?) HOT 3
- add step to update the product codebase without reinstalling the cloud
- Apache keystone.conf has extra noise at the bottom
- Horizon project list doesn
- Changes to crowbar chef templates may get overwritten by updates HOT 1
- Running the cloud-crowbar-testbuild-pr Jenkins job fails with encoding problems HOT 4
- Failure to retrieve Manila image HOT 1
- Sample script in docs/mkcloud.md fails
- Incorporate readme instructions into setuphost target HOT 2
- Created virtual network may conflict with existing networks HOT 2
- "soc-ci worker-pool-reserve" doesn't work with hosts running mkcloud non-root
- jenkins/jenkins-job-trigger HTTP failure should not be silent HOT 2
- in the cloud-update-ci job JJB fails to update ci.opensuse.org HOT 6
- hung mkcloud does not collect supportconfigs HOT 6
- allocpool is undocumented and written in Perl HOT 1
- motd should show origin of cloud HOT 5
- `mkcloud plain` fails to download manila-service-image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automation.