question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[storage][pipeline] support new SAS permissions for live browser tests in pipeline

See original GitHub issue

As STG73 release comes along, we need to support serveral new permissions for browser tests: x for blob versioning, t and f for blob tags.

I tried to add it here, https://github.com/Azure/azure-sdk-for-js/blob/7dd46ad9b081183c1ebe8f028b40907ccfd63bec/sdk/storage/test-resources.json#L47

But then the js - storage-blob -tests gave me this error “Status Message: Values for request parameters are invalid: signedPermission. (Code:InvalidValuesForRequestParameters)”.

I think the underlying tool need to be updated to support the new permissions.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:20 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
praveenkuttappancommented, Sep 23, 2020

@ljian3377 I have checked this further on how resources are deployed. So pipeline uses resource manager template test-resources.json to deploy all required resources for the service using powershell command “New-AzResourceGroupDeployment”. So it is not using any specific storage powershell command. I am not sure how azure resource management further drills down deployment of individual resources but i assume it is something resource manager handles. So my point is that pwsh version for az.storage on pipeline may not be real issue here.

I noticed that API storage version is old in deployment json file. Could that be causing an issue here? https://github.com/Azure/azure-sdk-for-js/blob/7dd46ad9b081183c1ebe8f028b40907ccfd63bec/sdk/storage/test-resources.json#L38

As per docs on SAS permissions, some of these new permissions are supported in 2019-12-12 or later. Can you please have a look at this and confirm if this needs any change. I still don’t see permission “f” in this docs. https://docs.microsoft.com/en-us/rest/api/storageservices/create-service-sas#permissions-for-a-blob

0reactions
ljian3377commented, Sep 27, 2020

Now the test cases needing the new SAS permissions pass. Thank you, Praveen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upload files to Azure Blob storage by using AzCopy v10
This article contains a collection of AzCopy example commands that help you upload files to Azure Blob storage.
Read more >
Understanding RAID: How performance scales from one disk ...
Each of the tests was run with both 4K and 1M blocksizes, and I ran the tests both with a single process and...
Read more >
SQL on-demand in Azure Synapse Analytics
Querying data in ADLS Gen2 storage using T-SQL is made easy because of the OPENROWSET function with additional capabilities (check out the T-SQL ......
Read more >
Posted 11-30-2022 08:00 - Mariners' Advisory Committee
MARINERS ARE ADVISED THAT DEEPWATER AND NEW CASTLE RANGE ARE CLOSED TO VESSEL TRAFFIC DUE TO PIPELINE OPERATIONS INVOLVED WITH DREDGING FROM 1000-1200...
Read more >
Writing Portfolio (“Clips”): Samples & Sorted Lists
Here's some selected samples to help give you a sense of what I do — a mix of ... new-product announcements/news, and reviews,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found