Bug 621094
Summary: | Client is able to install package even after "rhua destroy" | ||
---|---|---|---|
Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Shveta <ssachdev> |
Component: | RHUA | Assignee: | Jay Dobies <jason.dobies> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 1.2 | CC: | tsanders |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-31 12:53:48 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: |
Description
Shveta
2010-08-04 08:45:36 UTC
I think the issue is that yum holds on to a cached version of the mirror list: "Loading mirror speeds from cached hostfile" Regardless, "destroy" doesn't actually do anything to the CDS instances since deltacloud isn't installed. So if the client were to circumvent the mirrorlist and go directly to the CDS, everything is still running successfully. We need a call in here to wipe the packages off of the CDS in order to keep the "destroy" type functionality. commit 3b96989adb815eb71527eab7a49c8dcd2a11eed1 tree 437e97a2abd7809701f61b685fd1612576b3da14 621094 - Added call to remove all packages from the CDS on an environment destroy. rhui/rhua/src/rhua/cds_ops.py rhui/rhua/src/rhua/rhua.py [root@domU-12-31-39-00-17-F2 log]# rhua destroy ======================================== RHUA Destroy Stopping daemons Removing update cron entry from [/etc/cron.d/rhua_update.cron] Removing monitor cron entry from [/etc/cron.d/rhua_monitor.cron] Cleaning the CDS instances Output from SSH command [/usr/bin/ssh -oChallengeResponseAuthentication=no -oStrictHostKeyChecking=no -i /etc/rhua/cloude-key.pem root.amazonaws.com "/bin/bash --login -c \"rm -Rf /mnt/content/*\""] Output from SSH command [/usr/bin/ssh -oChallengeResponseAuthentication=no -oStrictHostKeyChecking=no -i /etc/rhua/cloude-key.pem root.amazonaws.com "/bin/bash --login -c \"rm -Rf /mnt/content/*\""] Cleaning up synchronized packages Deleting package directory [/mnt/content] Cleaning up mirror lists Deleting mirror list directory [/var/www/html/pub/] CDS [root@domU-12-31-39-0E-40-31 content]# pwd /mnt/content [root@domU-12-31-39-0E-40-31 content]# ls [root@domU-12-31-39-0F-60-22 ~]# ls /mnt/content/ [root@domU-12-31-39-0F-60-22 ~]# moving to release pending closing out, product released |