Bug 697206
| Summary: | A CDS cannot be removed from the Pulp server if the CDS release command fails | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Jay Dobies <jason.dobies> |
| Component: | nodes | Assignee: | Jay Dobies <jason.dobies> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 24 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 12:10:58 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: | 647488 | ||
|
Description
Jay Dobies
2011-04-16 20:54:03 UTC
Going to address this as a more general story in Sprint 24. commit 20d28c3aa382e40ba8a9feb5e196ab881859e23e
Author: Jay Dobies <jason.dobies>
Date: Thu Jun 9 14:52:43 2011 -0400
697206 - Added force option to CDS unregister to be able to remove it
even if the CDS is offline.
src/pulp/client/api/cds.py
src/pulp/client/core/cds.py
src/pulp/client/server.py
src/pulp/server/api/cds.py
src/pulp/server/webservices/controllers/cds.py
Included in 0.189. verified
[root@preethi upload]# rpm -q pulp
pulp-0.0.213-1.fc14.noarch
[root@preethi upload]#
[root@preethi upload]# pulp-admin cds list
+------------------------------------------+
CDS Instances
+------------------------------------------+
Name pulp-cds.usersys.redhat.com
Hostname pulp-cds.usersys.redhat.com
Description None
Cluster None
Sync Schedule None
Repos f14
Last Sync 2011-07-27 13:45:06-04:00
Status:
Responding No
Last Heartbeat 2011-07-27 20:03:17.586553+00:00
[root@preethi upload]# pulp-admin cds unregister
Usage: pulp-admin <options> cds unregister <options>
pulp-admin: error: Option --hostname is required; please see --help
[root@preethi upload]# pulp-admin cds unregister --hostname=pulp-cds.usersys.redhat.com
error: operation failed: PulpException: u'Timeout occurred attempting to release CDS [pulp-cds.usersys.redhat.com]'
[root@preethi upload]#
[root@preethi upload]#
[root@preethi upload]# pulp-admin cds unregister --hostname=pulp-cds.usersys.redhat.com --force
Successfully unregistered CDS [pulp-cds.usersys.redhat.com]
[root@preethi upload]# pulp-admin cds list
+------------------------------------------+
CDS Instances
+------------------------------------------+
[root@preethi upload]#
Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |