| Summary: | CDS Force Remove Option | ||
|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Jay Dobies <jason.dobies> |
| Component: | Documentation | Assignee: | Lana Brindley <lbrindle> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0 | CC: | kbidarka, mhideo, sghai, tsanders |
| 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: | 2011-07-29 04:50:27 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jay Dobies
2011-06-09 20:53:06 UTC
Below is an example of what happens when trying to removed a downed CDS. I'm open to changes to the warning message before the force delete if you can think of any. ------------------------------------------------------------------------------ rhui (cds) => d Select the CDS instances to be removed from the RHUI: - 1 : CDS 1 Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1 Select the CDS instances to be removed from the RHUI: x 1 : CDS 1 Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: c All previously deployed repositories will be deleted when a CDS is unregistered. The following CDS instances will be unregistered: CDS 1 Proceed? (y/n) y Unregistering CDS 1... The following CDS instances could not be contacted to be unregistered. They may still be removed from the RHUI database, however the RHUI is unable confirm that they have stopped hosting repositories. CDS 1 Forcibly remove these CDS instances? (y/n)y Forcibly unregistering CDS 1... ------------------------------------------------------------------------------ rhui (cds) => l -= RHUI Content Delivery Servers =- No CDS instances are registered. ------------------------------------------------------------------------------ rhui (cds) => <step performance="optional"> <para> RHUI Manager contacts the CDS to ensure it is properly cleaned up when it is deleted. RHUI Manager is unable to delete a CDS instance that it cannot communicate with. However, there are some cases where you might need to remove an unresponsive CDS instance. </para> <important> <title>Important</title> <para> CDS instances exchange a secret with the RHUA so that only the RHUA is able to communicate with it. This secret is removed as part of the cleanup operation when a CDS is deleted normally. When a CDS instance is forcibly removed without being properly cleaned up, this secret is not deleted. You will not be able to register the CDS again until that secret has been removed. You can do this manually by deleting the <filename>/var/lib/pulp-cds/.gofer/secret</filename> file. </para> </important> <para> When you attempt to perform a delete operation on a CDS instance that is not running, RHUI Manager will notify you that it is unable to delete the CDS, and ask if you want to forcibly remove the CDS. Type <userinput>y</userinput> to forcibly remove the unresponsive CDS: </para> <warning> <title>Warning</title> <para> Be very careful with this command. If you delete a CDS instance that is not running, RHUI Manager cannot confirm that the CDS instance is not hosting repositories. </para> </warning> <screen> ------------------------------------------------------------------------------ rhui (cds) => d Select the CDS instances to be removed from the RHUI: - 1 : CDS 1 Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1 Select the CDS instances to be removed from the RHUI: x 1 : CDS 1 Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: c All previously deployed repositories will be deleted when a CDS is unregistered. The following CDS instances will be unregistered: CDS 1 Proceed? (y/n) y Unregistering CDS 1... The following CDS instances could not be contacted to be unregistered. They may still be removed from the RHUI database, however the RHUI is unable confirm that they have stopped hosting repositories. CDS 1 Forcibly remove these CDS instances? (y/n)y Forcibly unregistering CDS 1... </screen> </step> Revision 1-14 LKB Verified under chapter 6 ==> Content distribution Server (CDS) Instances of stage doc at http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Update_Infrastructure/2.0/html/Installation_Guide/chap-Installation_Guide-Content_Distribution_Server_CDS_Instances.html The complete procedure of CDS delete instance and with force option is explained under Chapter6 ==> Procedure 6.3. Delete a CDS Instance" This book is now available at http://docs.redhat.com/docs/en-US/Red_Hat_Update_Infrastructure/2.0/html/Installation_Guide/index.html Please raise a new bug for any further changes. LKB |