- 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
🐛 Fix image properties propagation #224
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
Conversation
115c18c    to
    afeee9f      
    Compare
  
    Signed-off-by: Matej Feder <[email protected]>
afeee9f    to
    4bd0465      
    Compare
  
    Signed-off-by: Matej Feder <[email protected]>
43c746c    to
    3f53487      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, looks good!
Is there a reason that hw_disk_bus the only property that you set in the unit tests?
| 
 There is no reason, I just arbitrarily picked some. | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing it that fast @matofeder.
I can also confirm it works:
openstack image show ubuntu-capi-image-v1.31.4 -c properties -f json
{
  "properties": {
    ...
    "hw_disk_bus": "scsi",
    "hw_rng_model": "virtio",
    "hw_scsi_model": "virtio-scsi"
  }
}
| @matofeder can you create a release with this fix? | 
| 
 sure, I will do that asap | 
| Thanks @matofeder! I didn't expect this to be solved so quickly :) | 
| I tagged the latest main with v0.1.0-alpha.6, I believe that the github pipeline does the rest (release).. | 
| OK, I just had to click on the button and publish the release produced by the pipeline. https://github.com/SovereignCloudStack/cluster-stack-provider-openstack/releases/tag/v0.1.0-alpha.6 let me know if you encounter any issues | 
What this PR does / why we need it:
This PR contains a hot-fix that allows CreateOpts.properties definition via
node-images.yamlas follows:Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #223
Special notes for your reviewer:
TODOs: