Bug 1275385

Summary: When syncing packages, errors aren't properly handled or displayed to the user
Product: Red Hat Quickstart Cloud Installer Reporter: David Davis <daviddavis>
Component: fusor-serverAssignee: Erik Nelson <ernelson>
Status: CLOSED DEFERRED QA Contact: Tasos Papaioannou <tpapaioa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0CC: apagac, jmatthew, jsaucier, tpapaioa
Target Milestone: TP3Keywords: Triaged
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-25 17:27:20 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:
Embargoed:
Bug Depends On: 1246054    
Bug Blocks:    

Description David Davis 2015-10-26 18:04:51 UTC
Description of problem:

During sync, if you run into problems with bad repo metadata, the deployment continues as if nothing is wrong and no errors are reported to the user.


Version-Release number of selected component (if applicable):

Nightly


How reproducible:

Always.


Steps to Reproduce:
1. Mirror the Red Hat CDN 
2. Mess with the checksums in a repomd.xml file 
3. Point your RHCI app to the mirrored CDN (via the Subscriptions page)
4. Perform a deployment

Actual results:

Deployment continues and no errors are reported to the user until the provisioning fails. The dynflow tasks are reported as "success" but the sync status page says "New packages: 9 (921 KB). Failed to download 9 packages."


Expected results:

The dynflow task should error.

Comment 1 Jean-Francois Saucier 2016-01-14 14:37:57 UTC
I can confirm that this bug exist. I was doing a RHEV deployment yesterday and my deployment got stuck at 91.2%.

In the Foreman deployment.log, all I have is "Rhev::WaitForDataCenter get_status method".

When I go to "Content -> Sync Status" in the Satellite interface, I can see that the repo for RHEV did not sync correctly and show an error message :

"Yum Metadata: [Errno 2] No such file or directory: u'/var/lib/pulp/working/repos/Default_Organization-Red_Hat_Enterprise_Virtualization-Red_Hat_Enterprise_Virtualization_Manager_3_5_RPMs_x86_64_6Server/importers/yum_importer/tmpdC20BY/44065fd3e22b2eebbfaf64dc6c970bf11cd1d3cc-filelists.xml.gz'"

All the other repos were synced correctly.

To solve the issue, I just started the synchronisation back again and the deployment completed successfully.

Comment 2 John Matthews 2016-03-07 19:31:47 UTC
This was fixed when we moved to Sat 6.1.7

Comment 3 Tasos Papaioannou 2016-04-18 23:06:05 UTC
Verified on QCI-1.0-RHEL-7-20160411.t.0.

Comment 4 Sudhir Mallamprabhakara 2019-02-25 17:27:20 UTC
QCI has sunset. Closing the BZ's.