Support longer resource names
See original GitHub issueCurrently dvc push
seems to have a limitation on the length of the resource name.
See this example:
>>> git commit -m "churn_pi power_p_cons 2022.07.28_12.13"
[main 0caac77] churn_pi power_p_cons 2022.07.28_12.13
75 files changed, 190 insertions(+), 110 deletions(-)
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Categorical/001_bpa_postcode_prt.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Categorical/011_cob_region.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Categorical/015_ova_dataorigin_movein.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Categorical/016_acx_bpa_facility_age.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Categorical/018_con_movein_cleaned_mon.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Categorical/020_acx_bpa_potential_gas.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Categorical/021_cob_basicsupplier_flg.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Categorical/022_con_movein_consol_order_mon.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Categorical/023_ova_provider_movein.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Categorical/025_bpm_con_active_convergence.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Numerical/002_axc_bpa_livingspace_area.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Numerical/009_acx_cob_facility_type_purchase_scr.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Numerical/010_acx_cob_mobility_scr.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Numerical/013_acx_cob_facility_type_rent_scr.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Numerical/014_acx_cob_family_structure_scr.svg.dvc
create mode 100644 churn_pi/power_p_cons/vis_results/Shaply_Values/Numerical/019_bpm_con_active_power_cnt.svg.dvc
>>> git push --repo https://[MASKED]/model-registry.git
To https://[MASKED]/model-registry.git
e7330a0..0caac77 main -> main
=== DEFAULT_REMOTE = azure
>>> dvc remote modify azure connection_string [MASKED]
>>> dvc push -R churn_pi/power_p_cons
ERROR: unexpected error - The specified resource name length is not within the permissible limits.
RequestId:573c5aa7-101e-0077-7c7b-a2a692000000
Time:2022-07-28T12:14:05.0191115Z
ErrorCode:OutOfRangeInput
Content: <?xml version="1.0" encoding="utf-8"?><Error><Code>OutOfRangeInput</Code><Message>The specified resource name length is not within the permissible limits.
RequestId:573c5aa7-101e-0077-7c7b-a2a692000000
Time:2022-07-28T12:14:05.0191115Z</Message></Error>
Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!
It would be great to remove this limitation or at least extend the supported name length.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Resource names | Cloud APIs - Google Cloud
In resource-oriented APIs, resources are named entities, and resource names are their identifiers. Each resource must have its own unique resource name.
Read more >AIP-122: Resource names
All resource names defined by an API must be unique within that API. ... In this situation, the service should use the full...
Read more >Naming rules and restrictions for Azure resources
This article summarizes naming rules and restrictions for Azure resources. For recommendations about how to name resources, see Recommended ...
Read more >The Resource Name is too long: 256 characters cannot be ...
A resource list that contains more than 256 characters cannot be edited or deleted or used on the To line of a message....
Read more >After 1.8, scheduler could reject unknown extended resource ...
I've no idea. Scheduler could only check if the names of resources requested follow the naming scheme, but could not tell if corresponding ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I tried to run again the pipeline exactly as before and now I don’t have the issue anymore… no idea what happened nor how I can reproduce it…
Perhaps the issue can be closed?
@francesco086 Great to hear that it works now. Quick google didn’t provide any meaningful results, so I guess lets indeed close for now, since we can’t reproduce either. Let us know if this comes back.