>
> I copied and pasted from the bash history but I am wondering if it has
> something to do with the update from 1.4.3 to 1.6.3 I did this
> morning. I will restore from backups tomorrow and see if I can
> replicate on a different system.
>
> 2009-05-05 17:58:03,395 - api - serialize
> 2009-05-05 17:58:56,331 - api - saving profile UNM-serial-5-x86_64
> 2009-05-05 17:58:56,599 - api - deleted profile unm-serial-5.2-x86_64
> 2009-05-05 17:59:18,969 - api - saving profile UNM-serial-5-i386
> 2009-05-05 17:59:19,182 - api - deleted profile unm-serial-5.2-i386
> 2009-05-05 18:01:08,378 - api - saving system demeter-3_unm_edu
> 2009-05-05 18:01:41,021 - api - saving profile UNM-serial-3.9-i386
> 2009-05-05 18:02:01,898 - api - deleted profile rhel-3.9-base-i386
> 2009-05-05 18:02:28,468 - api - deleted distro rhel-3.9-base-i386
> 2009-05-05 18:02:35,304 - api - deleted distro
> rhel-3.9-base-dosutils-autoboot-i386
> 2009-05-05 18:03:35,204 - api - saving system alzir_unm_edu
> 2009-05-05 18:03:36,142 - api - saving system bellatrix_unm_edu
> 2009-05-05 18:03:37,088 - api - saving system bootes_unm_edu
> 2009-05-05 18:03:38,011 - api - saving system cp4_unm_edu
> 2009-05-05 18:03:38,969 - api - saving system demeter-4_unm_edu
> 2009-05-05 18:03:39,909 - api - saving system pandora_unm_edu
> 2009-05-05 18:03:40,856 - api - saving system wcs_unm_edu
> 2009-05-05 18:04:18,056 - api - deleted profile rhel-4.7-server-i386
>
> Looking at cobblerd.log I see the following:
>
> 2009-05-05 18:04:18,162 - api - DEBUG: removing from profile,
> rhel-4.7-server-i386; user(?)
> 2009-05-05 18:04:18,163 - api - remove_profile; rhel-4.7-server-i386
> 2009-05-05 18:04:18,163 - api - remove_system; [u'alzir_unm_edu']
> 2009-05-05 18:04:18,163 - api - remove_system; [u'bellatrix_unm_edu']
> 2009-05-05 18:04:18,164 - api - remove_system; [u'bootes_unm_edu']
> 2009-05-05 18:04:18,164 - api - remove_system; [u'cp4_unm_edu']
> 2009-05-05 18:04:18,165 - api - remove_system; [u'demeter-4_unm_edu']
> 2009-05-05 18:04:18,165 - api - remove_system; [u'pandora_unm_edu']
> 2009-05-05 18:04:18,166 - api - remove_system; [u'wcs_unm_edu']
>
> Looking for just alzir I see the following logs:
>
> cobbler.log:2009-05-05 18:03:35,204 - api - saving system alzir_unm_edu
> cobblerd.log:2009-05-05 18:03:35,324 - api - DEBUG: adding to system,
> alzir_unm_edu; user(?)
> cobblerd.log:2009-05-05 18:03:35,325 - api - add_system; [u'alzir_unm_edu']
> cobblerd.log:2009-05-05 18:04:18,163 - api - remove_system; [u'alzir_unm_edu']
>   

We need to make the logs a bit less noisy with the DEBUG statements in 
the future, but the one thing that looks interesting here is the removal
happened 43 seconds later than the addition (in cobbler's internals, 
additions and edits are the same thing even though they are accessed
differently at the CLI level).

This seems to imply the removal either was from a seperate operation or 
from cobblerd.

Cobblerd does have some logic to remove some stale object handles and 
such, though that logic should /not/ do this, by any means.

Thinking aloud, one thing that /could/ be involved is if somehow the RPM 
%post failed and didn't restart cobblerd, so you were
somehow still running a mismatched cobblerd (and then something might 
have happened with it)?    That's just a guess though.   

> So I am guessing its saying it saved and deleted things?
>
>   


Yes... seperately, some time apart from one another.
>
> [serializers]
> settings = serializer_catalog
> distro = serializer_catalog
> profile = serializer_catalog
> system = serializer_catalog
> repo = serializer_catalog
>   
> image = serializer_catalog
>
>   
This is what we want in that file, so good there.
>
>   

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to