orchestra-import-isos does not update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cobbler (Ubuntu) |
Fix Released
|
Undecided
|
Adam Gandelman | ||
orchestra (Ubuntu) |
Fix Released
|
Medium
|
Adam Gandelman |
Bug Description
currently, ubuntu-
That runs /usr/sbin/
# Skip if cobbler already has this distro/arch combo
if ! (cobbler distro list | grep -qs " $r-$a$"); then
# Import the iso
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-
related bugs:
bug 850886: cobbler-
bug 850880: cobbler-
bug 850892: orchestra-
Related branches
- Ubuntu branches: Pending requested
-
Diff: 98 lines (+46/-7)2 files modifieddebian/changelog (+8/-0)
debian/cobbler-ubuntu-import (+38/-7)
- Andres Rodriguez: Approve
-
Diff: 90 lines (+33/-9)2 files modifieddebian/changelog (+5/-0)
provisioning-server/usr/sbin/orchestra-import-isos (+28/-9)
summary: |
- orchestra-import-isos cron job wastes bandwidth + orchestra-import-isos does not update |
description: | updated |
Changed in orchestra (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in cobbler (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Adam Gandelman (gandelman-a) |
Changed in orchestra (Ubuntu): | |
assignee: | nobody → Adam Gandelman (gandelman-a) |
status: | Confirmed → In Progress |
Hi Adam.
I've looked at your patches. They look good. However, there's something that we shouldn't be doing. I've seen that to update the ISO's you would be removing a profile. correct?
If you do so, then the system that points to a profile (or subprofile for which a parent profile gets removed) then the system will be *automatically* removed from the system list. So, this means that we *should not* remove a profile, but rather update its contents and run a cobbler sync operation to create the hardlinks and stuff (We'll have to test that doing so really updates the initrd and kernel).