Code Monkey home page Code Monkey logo

Comments (11)

mpdehaan avatar mpdehaan commented on May 19, 2024

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.

AlanMcKay avatar AlanMcKay commented on May 19, 2024

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.

mpdehaan avatar mpdehaan commented on May 19, 2024

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.

AlanMcKay avatar AlanMcKay commented on May 19, 2024

Oh and I just removed the json file and did "cobbler sync" and the phantom entry still shows up

from cobbler.

mpdehaan avatar mpdehaan commented on May 19, 2024

You can in the short term, if that's the case, just delete the system file and things should be workable again.

from cobbler.

mpdehaan avatar mpdehaan commented on May 19, 2024

You'll need to restart cobblerd, as it has a copy of the state.

from cobbler.

AlanMcKay avatar AlanMcKay commented on May 19, 2024

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

jmaas avatar jmaas commented on May 19, 2024

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.

jimi-c avatar jimi-c commented on May 19, 2024

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.

jmaas avatar jmaas commented on May 19, 2024

I have never seen this again since 2.4. Closing this issue. If the problem remains for someone we can re-open.

from cobbler.

kallisti5 avatar kallisti5 commented on May 19, 2024

AlanMcKay: Oh! Please email me! kallisti5 :at: unixzen.com

from cobbler.

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.