Public bug reported: currently, ubuntu-orchestra-provisioning-server will install a cron job in /etc/cron.d/orchestra-import-isos that runs weekly.
That runs /usr/sbin/orchestra-import-isos , which does has code like this: # Skip if cobbler already has this distro/arch combo if ! (cobbler distro list | grep -qs " $r-$a$"); then # Import the iso cobbler-ubuntu-import $r-$a fi The stanza there makes sense to not waste bandwidth, but it is insufficient in 2 ways: 1.) it will not update the development release (even from an iso imported during development to a released iso), which ensures that the user will have failed installs of development releases. (bug 850886) 2.) if '1' is fixed, it would not do out-of-date checking and thus waste bandwidth. I think the most reasonable way to fix this is to have cobbler-ubuntu- import have a '--out-of-date-check' flag that would then check if an update was needed against a timestamp or file. Then orchestra could just check if an update was needed and if so do it, otherwise continue. related bugs: bug 850886: cobbler-ubuntu-import results in possibly stale netboot kernels bug 850880: cobbler-ubuntu-import does not pull from -updates bug 850892: orchestra-import-isos does not update ** Affects: orchestra (Ubuntu) Importance: Medium Status: Confirmed ** Summary changed: - orchestra-import-isos cron job wastes bandwidth + orchestra-import-isos does not update ** Description changed: currently, ubuntu-orchestra-provisioning-server will install a cron job in /etc/cron.d/orchestra-import-isos that runs weekly. That runs /usr/sbin/orchestra-import-isos , which does has code like this: - # Skip if cobbler already has this distro/arch combo - if ! (cobbler distro list | grep -qs " $r-$a$"); then - # Import the iso - cobbler-ubuntu-import $r-$a - fi + # Skip if cobbler already has this distro/arch combo + if ! (cobbler distro list | grep -qs " $r-$a$"); then + # Import the iso + cobbler-ubuntu-import $r-$a + fi The stanza there makes sense to not waste bandwidth, but it is insufficient in 2 ways: - 1.) it will not update the development release (even from an iso imported during development to a released iso), which ensures that the user will have failed installs of development releases. (bug 850886) - 2.) if '1' is fixed, it would not do out-of-date checking. + 1.) it will not update the development release (even from an iso imported during development to a released iso), which ensures that the user will have failed installs of development releases. (bug 850886) + 2.) if '1' is fixed, it would not do out-of-date checking and thus waste bandwidth. I think the most reasonable way to fix this is to have cobbler-ubuntu- import have a '--out-of-date-check' flag that would then check if an update was needed against a timestamp or file. Then orchestra could just check if an update was needed and if so do it, otherwise continue. + + related bugs: + bug 850886: cobbler-ubuntu-import results in possibly stale netboot kernels + bug 850880: cobbler-ubuntu-import does not pull from -updates + bug 850892: orchestra-import-isos does not update ** Changed in: orchestra (Ubuntu) Importance: Undecided => Medium ** Changed in: orchestra (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/850892 Title: orchestra-import-isos does not update To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/orchestra/+bug/850892/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs