Bug 1849892

Summary: file URI downloads incorrect content on Azure VM
Product: Red Hat Satellite Reporter: vijsingh
Component: Compute Resources - AzureAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact: vijsingh
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: apuntamb, jyejare
Target Milestone: 6.8.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-24 07:53:07 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:    
Bug Blocks: 1841472    

Description vijsingh 2020-06-23 06:45:06 UTC
Description of problem:

file URI download with incorrect content on created VM

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

@Satellite 6.8.0 Snap 5.0


How reproducible:
Always


Steps to Reproduce:
1. Create a VM using AzureRM CR
2. Under "VirtualMachine" Tab

Custom Script Command:
sudo sh /var/lib/waagent/custom-script/download/0/uri.sh

Comma seperated file URIs:
https://github.com/SatelliteQE/robottelo/blob/master/tests/foreman/data/uri.sh  


Actual results:

on created VM file "/var/lib/waagent/custom-script/download/0/uri.sh" shows invalid content in it


Expected results:

file URI should download correctly 

Additional info:

Comment 1 vijsingh 2020-06-23 06:46:17 UTC
Regression, as the same is working fine on 6.7

Comment 4 vijsingh 2020-06-24 07:52:47 UTC
after providing the raw path of github file : https://raw.githubusercontent.com/SatelliteQE/robottelo/master/tests/foreman/data/uri.sh

Issue does not exists, hence closing the BZ as NotaBug.