service-fabric
service-fabric copied to clipboard
Let files in ImageStore to be downloaded to allow deployment troubleshooting
Kind of a follow-up on https://github.com/Azure/service-fabric-issues/issues/6.
Currently there is a way to list directories and files within cluster's image store but there is no way to download these files back to developer's machine.
Use case: troubleshoot deployment in case if a Ci/CD server is used and something doesn't work.
Thank you for the suggestion, I opened an internal bug for tracking.
I wanted to 👍 this issue. If an image store method could be added to the FabricClient as well it would be great. Another alternative, could be adding the URL to the metadata of the Application Type if it was uploaded with Register-ServiceFabricApplicationType -ApplicationPackageDownloadUri http://yoursite. In this way one could grab the package directly.
Is there any progress in it? Is there any way to monitor how/if/when this issue is addressed?
Thank you for the feedback, @Scooletz . This helps us prioritize our work. Unfortunately, we don't have an ETA yet. When we'll be shipping it, we will have information in our release notes. I will update this thread as well.
Thank you for such a quick response @oanapl 😃
I know it's not comment to this issue, but if you could make the process of selection of issues and their visibility a bit more transparent, this could be useful for users to (sometimes) plan ahead.
@Scooletz Thanks for the feedback. What do you want to grab the package for?
@masnider I wanted to provide a service, that would enable to discover and maintain some metadata about services based on their code (hence the need of packages). This is just an idea I'm playing with right now, and for now, just using same url as used in -ApplicationPackageDownloadUri is just fine. If I could download the content directly from the store, it would make it independent on the upload method.
Actually, does this work? @aelij https://gist.github.com/aelij/6f811d741b67b9feba777d275f136374
@masnider Yes (at least it used to), but it uses private reflection :)
I know that I could "reflect upon this" 😂 but it would be so much better to have a public API properly versioned by SF SDK team 🙏
Didn't work to me as of the time of opening this issue (the reason I've opened it).