Comments (7)
"add" in cobbler is used in two places, one in creating in-memory objects (save=False), another in saving them to disk. I don't think we want to log in this particular place because this would produce logging on invalid command line executions. Rather, I think it's more likely that when running replicate (did you mean replicate? It seems to make more sense here) we'd want to ensure it reported on the things it could not transfer.
from cobbler.
mpdehaan - sorry for the delay, yes I did mean during replicate
Yes, reporting is some way that things didn't transfer would be good.
from cobbler.
jimi, while that would improve matters, the one issue is that because the exception was dropped on the floor in add you don't know why it was dropped on the floor. Allowing the exception to fall back up to the caller would probably be the cleaner option, with the command line executions then being responsible for catching what is ultimately a mistake in the command line options... That's MHO anyway...
from cobbler.
True, but at least knowing that it failed is important, and lets you start debugging. I plan on this being more of a stop-gap anyway, as replicate needs some work. For example, doing a full data sync does not respect distro filters right now, so there's no way to do a selective replicate. That means if you do replicate systems or profiles, you HAVE to do a full data sync or the distros won't be brought over due to the fact that the initrd/kernel pairs are not available on the replicated system. That is probably the source of the original failures, to be honest.
from cobbler.
jimi, What was actually catching us out was the fact that the systems pointed to profiles/distros that just didn't exist any more, and somewhere in the past the logic hadn't caught this.
from cobbler.
but I'm fine with your point about it being a stop gap, if more work is planned.
from cobbler.
I'm wondering if I've come across this bug also. I had an issue where cobblerd wouldn't restart on a slave. I tracked it down to an extra '}' /var/lib/cobbler/config/repos.d/rpmforge-el6.json at the end of the file. During the replication process /var/www/cobbler/repo_mirror filled up also though I don't see how this could have caused my issue.
from cobbler.
Related Issues (20)
- `settings.yaml` documentation issues HOT 1
- [Backport] SQLite support
- [Backport] Lazy collection init
- `cobbler validate-autoinstalls`: Crashes with "Unhashable type Profile"
- [Backport] Bash completion broken
- [Backport] SafeConfigParser removal
- Support for Kea DHCP
- autoinstall_start snippet fails with "wget: command not found"
- [Backport] Docs: Fixup smaller issues
- Cobbler 3.2.2 - unable to build ISO
- Document `cobbler status` command
- [Backport] scm_track: Push script not working
- [Backport] grubx86.efi vs grubx64.efi
- Cobbler 3.3.4 release validation (2) HOT 2
- RFE: Ability to import Fedora netinst iso HOT 3
- Forward Port 3.3.4 changes
- Connect cobbler to uyuni XMLRPC API using an alternative endpoint than `redhat_management_server`
- Kylin OS Support HOT 2
- Async trigger(s)
- profile name is not available in ISC dhcp template rendering
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 cobbler.