| Summary: | "Unable to find a pool with the ID \"null\"." is being returned from a PUT call to /owners/subscriptions | ||
|---|---|---|---|
| Product: | [Community] Candlepin | Reporter: | John Sefler <jsefler> |
| Component: | candlepin | Assignee: | candlepin-bugs |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0 | ||
| 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: | 2019-09-24 17:06:09 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: | |
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions |
Description of problem: I have an automated EventTests that was authored long ago for the benefit of pre candlepin 2.0 testing to assert a "POOL MODIFIED" event. The same tests continue to be executed against candlepin-2.0. Recently one of the PUT calls started failing. Testing candlepin-2.0 with the TESTDATA deployed, I am hitting this error when attempting to change the startDate of subscription 80.... [root@jsefler-6 ~]# curl --stderr /dev/null --insecure --user admin:admin --request PUT --data '{"owner":{"key":"admin"},"product":{"id":"awesomeos-guestlimit-4-stackable"},"id":"80","startDate":"Sat, 19 Dec 2015 19:00:00 -0500"}' --header 'accept: application/json' --header 'content-type: application/json' https://jsefler-f22-candlepin.usersys.redhat.com:8443/candlepin/owners/subscriptions | python -m json.tool { "displayMessage": "Unable to find a pool with the ID \"null\".", "requestUuid": "730a8259-261a-4d3e-9069-c4da7812a1d0" } Version: [root@jsefler-f22-candlepin candlepin]# git log | head -1 commit 6d28f47fdbf1d6f7bd9b60ebb0bfc7842cf6f4e7 <=========== [root@jsefler-6 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 2.0.10-1 <=========== subscription management rules: 5.19 subscription-manager: 1.16.8-1.el6 python-rhsm: 1.16.6-1.el6