Comments (11)
Theory is deletion of the image deleted the image without first blocking on the system.
This is likely as images were not the core of the app for a while, while this should already work as designed for profiles, etc.
In any event, it should work like profile deletion blocking works, debuglaptop is definitely a system and we don't want to leave the object store in a state with dangling links.
from cobbler.
If this helps
[root@solexa-db ~]# ls /var/lib/cobbler/config/images.d/SF2250.json
/var/lib/cobbler/config/images.d/SF2250.json
[root@solexa-db ~]# more !$
more /var/lib/cobbler/config/images.d/SF2250.json
{"comment": "", "kickstart": "", "uid": "MTMyMzIwNzM1NS43NjI5MjcxNy4xNzQ1MQ", "virt_auto_boot": 1, "virt_path": "", "file": "/var/li
b/cobbler/blob/tools_and_drivers-SW1.5.0-X2250.iso", "mtime": 1323207355.6965449, "network_count": 1, "image_type": "direct", "breed
": "redhat", "os_version": "", "virt_bridge": "xenbr0", "parent": "", "virt_type": "xenpv", "virt_file_size": 5, "arch": "i386", "ct
ime": 1323207355.6965449, "owners": ["admin"], "name": "SF2250", "virt_ram": 512, "virt_cpus": 1, "depth": 0}
from cobbler.
Can you let me know if you've got a system.d file named "debuglaptop" and if so, cat'ing that should mention the image that got deleted.
from cobbler.
Oh and I just removed the json file and did "cobbler sync" and the phantom entry still shows up
from cobbler.
You can in the short term, if that's the case, just delete the system file and things should be workable again.
from cobbler.
You'll need to restart cobblerd, as it has a copy of the state.
from cobbler.
[root@solexa-db ~]# find /var/lib/cobbler/ -name debug
[root@solexa-db ~]# ls /var/lib/cobbler/config/systems.d/
[root@solexa-db ~]#
Restarting cobblerd make the phantom go away.
from cobbler.
This happens for me on profiles and systems too. The real culprit is indeed the 'broken' caching of cobblerd, or so it seems.
from cobbler.
Can we get a set of steps to reproduce this issue? I don't quite see how caching would be the cause, since sync doesn't read from the cache and get_item() in remote only returns a cached item if it starts with '__ NEW __' (temporary caching when adding objects before they are saved).
from cobbler.
I have never seen this again since 2.4. Closing this issue. If the problem remains for someone we can re-open.
from cobbler.
AlanMcKay: Oh! Please email me! kallisti5 :at: unixzen.com
from cobbler.
Related Issues (20)
- 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
- [Forwardport] IP Address list
- `--bootproto=none` is not a valid kickstart option
- download_config_files snippet fails to render HOT 4
- SPEC file in git produces uninstallable RPM on RHEL/Rocky 9 HOT 4
- Add Ubuntu 23.10 to distro_signatures HOT 1
- Automigration not possible due to undiscoverable settings HOT 1
- Make use of libosinfo to import distros HOT 1
- Cobbler rejects InfiniBand MAC addresses
- Unable to set Hw RAID-1 DM config on User-Data HOT 1
- Cobbler sync error when distro kernel value is an HTTP url without an IP address HOT 7
- [Backport] Add support for cnames in dnsmasq
- Debian build failes because missing dependency: python3-yaml
- Docs: Improve OS installation debugging sections
- anamon aborts with 'bytes' object has not attribute 'data'
- Lazy start is useless when there are a large number of systems HOT 1
- Windows import cannot be performed when using package "file" version lower than 5.37
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.