Bug 645597
| Summary: | getting multiple atom feed events when only one was expected | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] Candlepin | Reporter: | John Sefler <jsefler> | ||||||
| Component: | candlepin | Assignee: | Bryan Kearney <bkearney> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sefler <jsefler> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 0.5 | CC: | bkearney, whayutin | ||||||
| Target Milestone: | --- | Keywords: | QA-Closed | ||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-02-23 21:51:33 UTC | Type: | --- | ||||||
| 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: | 639436 | ||||||||
| Attachments: |
|
||||||||
|
Description
John Sefler
2010-10-21 22:22:22 UTC
Hi,
I tried going through the same steps a couple of times using the latest as well as the ref provided in the bug report.
========= steps below ================
sudo ./subscription-manager-cli register --username=admin --password=admin --forc
b70f460f-276b-4956-9aff-14c6e6f47165 admin
[ajay@garuda-rh src{master}]$ sudo ./subscription-manager-cli list --available | more+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
ProductName: RHEL for Physical Servers
ProductId: MKT-rhel-server
PoolId: ff8080812c3bbb85012c3bbc9bfb00e0
Quantity: 10
Expires: 2011-11-10
.....
[ajay@garuda-rh src{master}]$ sudo ./subscription-manager-cli subscribe --pool ff8080812c3bbb85012c3bbc9bfb00e0
[ajay@garuda-rh proxy{pool_refresh}]$ curl -k -u admin:admin --request PUT https://localhost:8443/candlepin/owners/admin/subscriptions
[ajay@garuda-rh proxy{pool_refresh}]$ curl -k -u admin:admin --request GET "https://localhost:8443/candlepin/owners/admin/atom" > /tmp/atom.xml; xmllint --format /tmp/atom.xml > /tmp/atom1.xml
==============================================================
The atom file has been attached for your reference.
Created attachment 459795 [details]
atom feed for the consumer 'admin'
Forgot to mention the query used to update db. I changed the dates using the following sql: update cp_subscription set startdate='2011-07-20' where id = ( select pool.subscriptionid from cp_pool pool where pool.id='ff8080812c3bbb85012c3bbc9bfb00e0'); Created attachment 915180 [details]
Comment
(This comment was longer than 65,535 characters and has been moved to an attachment by Red Hat Bugzilla).
|