Bug 1301812
Summary: | Candlepin is failing on updating and importing manifest | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Alexey Masolov <amasolov> |
Component: | Candlepin | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Kedar Bidarkar <kbidarka> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | Unspecified | CC: | amasolov, chrobert, crog, cwelton, jalviso, jason.e.parks, kbidarka, ktordeur, mmccune, pmoravec |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-02-15 15:52:45 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: |
Comment 1
Pavel Moravec
2016-01-26 08:48:22 UTC
(In reply to Pavel Moravec from comment #1) > So I suspect poolEvents.get(..) returning null (also candlepin reported 410 > Gone, that supports it). But poolEvents has been filled properly recently: Map<String, EventBuilder> poolEvents = new HashMap<String, EventBuilder>(); for (Pool existing : existingPools) { EventBuilder eventBuilder = eventFactory .getEventBuilder(Target.POOL, Type.MODIFIED) .setOldEntity(existing); poolEvents.put(existing.getId(), eventBuilder); } .. return processPoolUpdates(poolEvents, updatedPools); It seems this bug had to be tested with a) particular manifest and b) particular state of CP DB (postgresql) [xyz@abc .ssh]# systemctl stop tomcat [xyz@abc .ssh]# su - postgres -bash-4.2$ dropdb candlepin && createdb candlepin -bash-4.2$ pg_restore -d candlepin /tmp/candlepin_admin.dump -bash-4.2$ exit logout [xyz@abc ~]# systemctl start tomcat Create an org temorg Uploaded manifest a) to temporg and manifest got successfully imported. VERIFIED with Sat6.1.7 compose1 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2016:0174 |