Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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.