Bug 882256
| Summary: | API call scheduleSyncPackagesWithSystem returns 1 but is doing nothing on my target system | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | François BORIE <francois.borie> |
| Component: | API | Assignee: | Stephen Herr <sherr> |
| Status: | CLOSED NOTABUG | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.7 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-06 18:07:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1484117 | ||
|
Description
François BORIE
2012-11-30 14:09:44 UTC
Hi François, This appears to be operating normally for me, are you still having this issue? If you are, how are you checking for the sync event, from the system-details actions page or from the "Schedule" tab? The sync should show up properly on one of the pending / failed / completed pages, however if you are looking at the actions for an individual system you have to make sure you're looking at the correct system. The first system listed for scheduleSyncPackagesWithSystem is the system being operated on, in your example 1000010165. That will be the system that has the task to add / remove packages depending on what the state of the other system is. If you were to look at the actions for the other system (1000010166) there would not be anything listed. If you are still having problems, do you see any errors in /var/log/tomcat6/catalina.out when you run the scheduleSyncPackagesWithSystem command? Hi Stephen, This ticket can be closed. In fact, I was using wrong packages IDs (package_name_id - returned by API call system.comparePackages - which is different from package id returned by package.findbynvrea) for packages sync between source and target systems That looks good now, and that's such an enjoyable feature ! Sorry for that, Kind regards, François This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug. |