Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a script to resize/convert Azure image #222

Merged
merged 1 commit into from
Aug 24, 2017

Conversation

simaishi
Copy link
Contributor

@simaishi simaishi commented Aug 17, 2017

Azure now requires .vhd image to be in fixed format and aligned to nearest 1MB (See "General Linux Installation Notes" in https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-generic). This script does the resize/conversion.

Additional change will be required for upstream and downstream separately to actually call this script, along with other needed changes. raw image will be passed for upstream and vpc image will be passed for downstream.

For upstream, I'm having a problem findingqemu-img that works end-to-end.

and 2.6.0 is the latest I can find for CentOS...

https://bugzilla.redhat.com/show_bug.cgi?id=1472972

@simaishi simaishi force-pushed the fix_azure_disk_script branch from ff56f70 to 0c44a47 Compare August 23, 2017 21:29
@miq-bot
Copy link
Member

miq-bot commented Aug 23, 2017

Checked commit simaishi@0c44a47 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 1 offense detected

scripts/fix_azure_disk.rb

@Fryguy Fryguy merged commit add66d7 into ManageIQ:master Aug 24, 2017
@Fryguy Fryguy added this to the Sprint 68 Ending Sep 4, 2017 milestone Aug 24, 2017
@Fryguy Fryguy self-assigned this Aug 24, 2017
@simaishi simaishi deleted the fix_azure_disk_script branch August 24, 2017 18:23
simaishi pushed a commit that referenced this pull request Aug 24, 2017
@simaishi
Copy link
Contributor Author

Fine backport details:

$ git log -1
commit 839b5448d099d7b76f46fe0a79990500e6dd2615
Author: Jason Frey <fryguy9@gmail.com>
Date:   Thu Aug 24 14:12:49 2017 -0400

    Merge pull request #222 from simaishi/fix_azure_disk_script
    
    Add a script to resize/convert Azure image
    (cherry picked from commit add66d7a18bc78d3fc241b1ce835b4503e33ef8d)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1484984

simaishi pushed a commit that referenced this pull request Aug 31, 2017
@simaishi
Copy link
Contributor Author

Euwe backport details:

$ git log -1
commit ddbdf493343eb3a6b3a16a1c17d2148bcc7b642a
Author: Jason Frey <fryguy9@gmail.com>
Date:   Thu Aug 24 14:12:49 2017 -0400

    Merge pull request #222 from simaishi/fix_azure_disk_script
    
    Add a script to resize/convert Azure image
    (cherry picked from commit add66d7a18bc78d3fc241b1ce835b4503e33ef8d)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1487297

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants