Actions
Bug #27365
closedCreate host with username+SSHKey fails with error 'undefined method `id' for nil:NilClass'
Difficulty:
Triaged:
No
Description
Create host with username+SSHKey fails with error 'undefined method `id' for nil:NilClass'
Steps:
Hosts => Create Host => Provide the all details along with 'Username/SSH Key'
Traceback:
10:32:10 rails.1 | **********FAILURE!!!*********** 10:32:10 rails.1 | Virtual Machine kathy-ridgley Created Successfully. 10:32:10 rails.1 | 2019-07-22T10:32:10 [W|app|d4b83b91] Failed to create a compute AzureCR1 (Azure Resource Manager) instance kathy-ridgley.example.com: undefined method `id' for nil:NilClass 10:32:10 rails.1 | | 10:32:10 rails.1 | | NoMethodError: undefined method `id' for nil:NilClass 10:32:10 rails.1 | | /home/rootazure/foreman_azure_rm/app/models/foreman_azure_rm/azure_rm_compute.rb:197:in `parse' 10:32:10 rails.1 | | /home/rootazure/foreman_azure_rm/app/models/foreman_azure_rm/azure_rm.rb:441:in `create_vm' 10:32:10 rails.1 | | /home/rootazure/foreman/app/models/concerns/orchestration/compute.rb:91:in `setCompute' 10:32:10 rails.1 | | /home/rootazure/foreman/app/models/concerns/orchestration.rb:222:in `execute' 10:32:10 rails.1 | | /home/rootazure/foreman/app/models/concerns/orchestration.rb:145:in `block in process' 10:32:10 rails.1 | | /home/rootazure/foreman/app/models/concerns/orchestration.rb:137:in `each' 10:32:10 rails.1 | | /home/rootazure/foreman/app/models/concerns/orchestration.rb:137:in `process' 10:32:10 rails.1 | | /home/rootazure/foreman/app/models/concerns/orchestration.rb:44:in `around_save_orchestration'
Updated by Vijay Singh over 5 years ago
- Related to Tracker #27271: AzureRM as a compute resource for Foreman with Azure Ruby SDK added
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/36 added
Updated by Aditi Puntambekar about 5 years ago
- Status changed from Ready For Testing to Closed
Actions