Giter Club home page Giter Club logo

Comments (9)

bmwiedemann avatar bmwiedemann commented on July 18, 2024

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.

aspiers avatar aspiers commented on July 18, 2024

Agreed on both points. But as long as the wget remains, it should use caching ...

from automation.

aspiers avatar aspiers commented on July 18, 2024

Also looks like SP3-64up.qcow2 is being downloaded to /tmp. Again, /var/cache is a better place for this.

from automation.

Itxaka avatar Itxaka commented on July 18, 2024

+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 the sshrun() 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.

AbelNavarro avatar AbelNavarro commented on July 18, 2024

@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.

dirkmueller avatar dirkmueller commented on July 18, 2024

is anyone interested in converting this into a pull request? adding a -do-not-download option should be relatively easy.

from automation.

Itxaka avatar Itxaka commented on July 18, 2024

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.

bmwiedemann avatar bmwiedemann commented on July 18, 2024

To sync files, you could use

rsync -a clouddata.nue.suse.com::cloud/images/x86_64/SLES12-SP1.qcow2 /var/cache/mkcloud/

from automation.

aspiers avatar aspiers commented on July 18, 2024

We should extend dl-ibs to take care of this.

from automation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.