Actions
Bug #28172
closedCompute resource create with region does not has validation for invalid type regions
Difficulty:
Triaged:
Yes
Bugzilla link:
Description
Compute resource create with region does not has validation for invalid type regions
i.e. a region could pass as "East_US", "EastUS", "East-US" however valid one is 'eastus'(lower case)
Steps:
# hammer compute-resource create --name CLI_Test1 --organization-id 1 --location-id 2 --provider AzureRM --app-ident "your-app-id" --secret-key "your_key_details" --sub-id "your_sub_id" --tenant "your_tenat_id" --region "East-US" Compute resource created. # hammer compute-resource create --name CLI_Test2 --organization-id 1 --location-id 2 --provider AzureRM --app-ident "your-app-id" --secret-key "your_key_details" --sub-id "your_sub_id" --tenant "your_tenat_id" --region "EastUS" Compute resource created. # hammer compute-resource create --name CLI_Test3 --organization-id 1 --location-id 2 --provider AzureRM --app-ident "your-app-id" --secret-key "your_key_details" --sub-id "your_sub_id" --tenant "your_tenat_id" --region "East_US" Compute resource created. # hammer compute-resource create --name CLI_Test4 --organization-id 1 --location-id 2 --provider AzureRM --app-ident "your-app-id" --secret-key "your_key_details" --sub-id "your_sub_id" --tenant "your_tenat_id" --region "eastus" Compute resource created.
Updated by Vijay Singh about 5 years ago
- Related to Feature #27405: CLI support for AzureRM Compute Resource added
Updated by Aditi Puntambekar almost 5 years ago
- Status changed from New to Ready For Testing
- Triaged changed from No to Yes
- Pull request https://github.com/theforeman/foreman_azure_rm/pull/48 added
Updated by Aditi Puntambekar almost 5 years ago
- Related to Tracker #28389: Bug fixes after refactoring to sdk added
Updated by Aditi Puntambekar almost 5 years ago
- Status changed from Ready For Testing to Resolved
Updated by Aditi Puntambekar almost 5 years ago
- Status changed from Resolved to Closed
Actions