Discussion:
[Spacewalk-list] cobbler-sync and kickstartfile-sync
Hagberg, Keith
2011-09-30 18:56:21 UTC
Permalink
Getting lots of the following


Taskomatic bunch kickstartfile-sync-bunch was scheduled to run within the kickstartfile-sync-default schedule.



Subtask kickstartfile-sync finished successfuly and is back to normal.


And

Taskomatic bunch cobbler-sync-bunch was scheduled to run within the cobbler-sync-default schedule.



Subtask cobbler-sync finished successfuly and is back to normal.


We are also seeing a lot or error 500's when trying to register systems.

Any idea how to remediate this.
Tomas Lestach
2011-10-03 08:47:07 UTC
Permalink
Hello,

this e-mails come from taskomatic. This is the only way, how to notify
the user something went wrong.
I suppose that you got also an e-mail notifying you that the mentioned
tasks failed. Notices about tasks coming back to normal are sent only
after a failure.
kickstartfile-sync and cobbler-sync usually fail when cobbler isn't
available. So, I'd recommend to check cobbler.

Tomas
--
Tomas Lestach
RHN Satellite Engineering, Red Hat
Post by Hagberg, Keith
Getting lots of the following
Taskomatic bunch kickstartfile-sync-bunch was scheduled to run within
the kickstartfile-sync-default schedule.
Subtask kickstartfile-sync finished successfuly and is back to normal.
And
Taskomatic bunch cobbler-sync-bunch was scheduled to run within the
cobbler-sync-default schedule.
Subtask cobbler-sync finished successfuly and is back to normal.
We are also seeing a lot or error 500’s when trying to register systems.
Any idea how to remediate this.
_______________________________________________
Spacewalk-list mailing list
https://www.redhat.com/mailman/listinfo/spacewalk-list
Hagberg, Keith
2011-10-03 13:17:59 UTC
Permalink
What could be causing cobbler to be unavailable.

When I run top cobblerd is usually the top consumer of cpu. It normally is taking 100% of one cpu.

Keith

-----Original Message-----
From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Tomas Lestach
Sent: Monday, October 03, 2011 4:47 AM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] cobbler-sync and kickstartfile-sync

Hello,

this e-mails come from taskomatic. This is the only way, how to notify
the user something went wrong.
I suppose that you got also an e-mail notifying you that the mentioned
tasks failed. Notices about tasks coming back to normal are sent only
after a failure.
kickstartfile-sync and cobbler-sync usually fail when cobbler isn't
available. So, I'd recommend to check cobbler.

Tomas
--
Tomas Lestach
RHN Satellite Engineering, Red Hat
Post by Hagberg, Keith
Getting lots of the following
Taskomatic bunch kickstartfile-sync-bunch was scheduled to run within
the kickstartfile-sync-default schedule.
Subtask kickstartfile-sync finished successfuly and is back to normal.
And
Taskomatic bunch cobbler-sync-bunch was scheduled to run within the
cobbler-sync-default schedule.
Subtask cobbler-sync finished successfuly and is back to normal.
We are also seeing a lot or error 500's when trying to register systems.
Any idea how to remediate this.
_______________________________________________
Spacewalk-list mailing list
https://www.redhat.com/mailman/listinfo/spacewalk-list
Jan Pazdziora
2011-10-03 13:31:15 UTC
Permalink
Post by Hagberg, Keith
What could be causing cobbler to be unavailable.
When I run top cobblerd is usually the top consumer of cpu. It normally is taking 100% of one cpu.
Could you be hitting https://fedorahosted.org/cobbler/ticket/631?
--
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat
Hagberg, Keith
2011-10-03 17:25:32 UTC
Permalink
The link refernces cobbler-2.0.10-1.el5. is this the fixed version or the broken one.

I have cobbler-2.0.9-1.el5

-----Original Message-----
From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jan Pazdziora
Sent: Monday, October 03, 2011 9:31 AM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] cobbler-sync and kickstartfile-sync
Post by Hagberg, Keith
What could be causing cobbler to be unavailable.
When I run top cobblerd is usually the top consumer of cpu. It normally is taking 100% of one cpu.
Could you be hitting https://fedorahosted.org/cobbler/ticket/631?
--
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat
Hagberg, Keith
2011-10-04 13:55:18 UTC
Permalink
I see that cobbler has been updated to 2.0.11-2 ?

I am running spacewalk 1.3, would there be any issues with running the newer version on 1.3?

Keith

-----Original Message-----
From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Hagberg, Keith
Sent: Monday, October 03, 2011 1:26 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] cobbler-sync and kickstartfile-sync

The link refernces cobbler-2.0.10-1.el5. is this the fixed version or the broken one.

I have cobbler-2.0.9-1.el5

-----Original Message-----
From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jan Pazdziora
Sent: Monday, October 03, 2011 9:31 AM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] cobbler-sync and kickstartfile-sync
Post by Hagberg, Keith
What could be causing cobbler to be unavailable.
When I run top cobblerd is usually the top consumer of cpu. It normally is taking 100% of one cpu.
Could you be hitting https://fedorahosted.org/cobbler/ticket/631?
--
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat
Hagberg, Keith
2011-10-04 20:03:35 UTC
Permalink
Not sure if this helps but I see a lot of this in the cobbler.log

Tue Oct 4 12:04:00 2011 - INFO | Exception occured: cobbler.cexceptions.CX
Tue Oct 4 12:04:00 2011 - INFO | Exception value: 'invalid token: kA377RCx17cKReqSJtSA201AmdavgTPyXw=='
Tue Oct 4 12:04:00 2011 - INFO | Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1759, in _dispatch
return method_handle(*params)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1592, in token_check
self.__validate_token(token)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1504, in __validate_token
raise CX("invalid token: %s" % token)

and several of these

Mon Oct 3 08:59:41 2011 - INFO | Exception occured: exceptions.RuntimeError
Mon Oct 3 08:59:41 2011 - INFO | Exception value: dictionary changed size during iteration
Mon Oct 3 08:59:41 2011 - INFO | Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1759, in _dispatch
return method_handle(*params)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 584, in find_profile
return self.find_items("profile",criteria,expand=expand)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 573, in find_items
items = self.api.find_items(what,criteria=criteria)
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 426, in find_items
res=items.find(return_list=True, no_errors=False, **criteria)
File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line 93, in find
for (name, obj) in self.listing.iteritems():

Keith

-----Original Message-----
From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Hagberg, Keith
Sent: Tuesday, October 04, 2011 9:55 AM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] cobbler-sync and kickstartfile-sync

I see that cobbler has been updated to 2.0.11-2 ?

I am running spacewalk 1.3, would there be any issues with running the newer version on 1.3?

Keith

-----Original Message-----
From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Hagberg, Keith
Sent: Monday, October 03, 2011 1:26 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] cobbler-sync and kickstartfile-sync

The link refernces cobbler-2.0.10-1.el5. is this the fixed version or the broken one.

I have cobbler-2.0.9-1.el5

-----Original Message-----
From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jan Pazdziora
Sent: Monday, October 03, 2011 9:31 AM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] cobbler-sync and kickstartfile-sync
Post by Hagberg, Keith
What could be causing cobbler to be unavailable.
When I run top cobblerd is usually the top consumer of cpu. It normally is taking 100% of one cpu.
Could you be hitting https://fedorahosted.org/cobbler/ticket/631?
--
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-list mailing list
Spacewalk-***@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
Hagberg, Keith
2011-10-06 13:48:05 UTC
Permalink
This problem has been corrected. It appears that have large numbers of kickstart profiles in the system slows cobblerd down. Upon monitoring /var/log/cobbler/cobbler.log I noticed cobbler accessing kickstart profiles that at that time where not being used and had not been used for 3 months or longer. Cobbler appeared to be touching almost every kickstart profile every few days. I had over 1600 kick start profiles. I created a script that went and deleted the unneeded profiles by using the api. When using the api, I had about 100 kickstarts that the api could not delete. When I attempted to delete these with the api, in the ui they then showed as not being managed by Spacewalk. I then deleted them using cobbler profile remove.

Not sure why cobbler needs to touch every kickstart every couple of days. Since cleaning up the profiles I no longer get tracebacks about cobbler-sync.



-----Original Message-----
From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Hagberg, Keith
Sent: Tuesday, October 04, 2011 4:04 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] cobbler-sync and kickstartfile-sync

Not sure if this helps but I see a lot of this in the cobbler.log

Tue Oct 4 12:04:00 2011 - INFO | Exception occured: cobbler.cexceptions.CX
Tue Oct 4 12:04:00 2011 - INFO | Exception value: 'invalid token: kA377RCx17cKReqSJtSA201AmdavgTPyXw=='
Tue Oct 4 12:04:00 2011 - INFO | Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1759, in _dispatch
return method_handle(*params)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1592, in token_check
self.__validate_token(token)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1504, in __validate_token
raise CX("invalid token: %s" % token)

and several of these

Mon Oct 3 08:59:41 2011 - INFO | Exception occured: exceptions.RuntimeError
Mon Oct 3 08:59:41 2011 - INFO | Exception value: dictionary changed size during iteration
Mon Oct 3 08:59:41 2011 - INFO | Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1759, in _dispatch
return method_handle(*params)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 584, in find_profile
return self.find_items("profile",criteria,expand=expand)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 573, in find_items
items = self.api.find_items(what,criteria=criteria)
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 426, in find_items
res=items.find(return_list=True, no_errors=False, **criteria)
File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line 93, in find
for (name, obj) in self.listing.iteritems():

Keith

-----Original Message-----
From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Hagberg, Keith
Sent: Tuesday, October 04, 2011 9:55 AM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] cobbler-sync and kickstartfile-sync

I see that cobbler has been updated to 2.0.11-2 ?

I am running spacewalk 1.3, would there be any issues with running the newer version on 1.3?

Keith

-----Original Message-----
From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Hagberg, Keith
Sent: Monday, October 03, 2011 1:26 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] cobbler-sync and kickstartfile-sync

The link refernces cobbler-2.0.10-1.el5. is this the fixed version or the broken one.

I have cobbler-2.0.9-1.el5

-----Original Message-----
From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jan Pazdziora
Sent: Monday, October 03, 2011 9:31 AM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] cobbler-sync and kickstartfile-sync
Post by Hagberg, Keith
What could be causing cobbler to be unavailable.
When I run top cobblerd is usually the top consumer of cpu. It normally is taking 100% of one cpu.
Could you be hitting https://fedorahosted.org/cobbler/ticket/631?
--
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-list mailing list
Spacewalk-***@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-***@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
Rick Leonhardt
2013-01-14 16:58:25 UTC
Permalink
Post by Hagberg, Keith
What could be causing cobbler to be unavailable.
When I run top cobblerd is usually the top consumer of cpu. It normally is
taking 100% of one cpu.
Post by Hagberg, Keith
Keith
-----Original Message-----
Sent: Monday, October 03, 2011 4:47 AM
Subject: Re: [Spacewalk-list] cobbler-sync and kickstartfile-sync
Hello,
this e-mails come from taskomatic. This is the only way, how to notify
the user something went wrong.
I suppose that you got also an e-mail notifying you that the mentioned
tasks failed. Notices about tasks coming back to normal are sent only
after a failure.
kickstartfile-sync and cobbler-sync usually fail when cobbler isn't
available. So, I'd recommend to check cobbler.
Tomas
--
Tomas Lestach
RHN Satellite Engineering, Red Hat
Post by Hagberg, Keith
Getting lots of the following
Taskomatic bunch kickstartfile-sync-bunch was scheduled to run within
the kickstartfile-sync-default schedule.
Subtask kickstartfile-sync finished successfuly and is back to normal.
And
Taskomatic bunch cobbler-sync-bunch was scheduled to run within the
cobbler-sync-default schedule.
Subtask cobbler-sync finished successfuly and is back to normal.
We are also seeing a lot or error 500's when trying to register systems.
Any idea how to remediate this.
_______________________________________________
Spacewalk-list mailing list
https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________
Spacewalk-list mailing list
https://www.redhat.com/mailman/listinfo/spacewalk-list
RE: Error messages that repeat on satellite.
Messages say
Taskomatic bunch cobbler-sync-bunch was scheduled to run within the cobbler-
sync-default schedule.

Subtask cobbler-sync failed.

For more information check /var/lib/rhn/tasko/sat/cobbler-sync-bunch/cobbler-
sync_485620_err.

The fix is to simply stop and restart the satellite processes as follows:
As root

rhn-satellite stop
rhn-satellite start

Monitor or recheck the /var path above to verify that the issue has been
cleared up.
Enjoy
Rick
Loading...