Actions
Bug #28469
closedNo validation for compute_public_ip attribute in cli
Difficulty:
Triaged:
Yes
Description
Steps to reproduce:
hammer host create --name client7 --compute-resource-id 1\ --compute-attributes="resource_group=aditi-rg,vm_size=Standard_B2ms,\ username=azureuser,password=changeme123$,platform=Linux,\ script_command=touch /var/tmp/text.txt"\ --interface="*compute_public_ip=aditi*,compute_private_ip=false,\ compute_network=<id>" --location-id 2 --organization-id 1 --domain-id 1\ --architecture-id 1 --operatingsystem-id 1 --image-id 2
Actual Result:
Could not create host and defaults to None public ip and hence, no public IP is assigned.
Expected Result:
Shouldn't allow to create host with wrong type of value.
Updated by Aditi Puntambekar over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_azure_rm/pull/55 added
Updated by Aditi Puntambekar over 5 years ago
- Status changed from Ready For Testing to Resolved
Updated by Aditi Puntambekar over 5 years ago
- Status changed from Resolved to Closed
Actions