Actions
Bug #27303
closedVM edit fails as 'NoMethodError in Hosts#edit'
Difficulty:
Triaged:
No
Description
VM edit fails as 'NoMethodError in Hosts#edit'
Steps:
Hosts => Click on host => Edit
Traceback:
NoMethodError in Hosts#edit Showing /home/rootazure/foreman_azure_rm/app/views/compute_resources_vms/form/azurerm/_base.html.erb where line #87 raised: undefined method `location' for #<ForemanAzureRM::AzureRMCompute:0x007f3106659210> Extracted source (around line #29): 27 28 29 30 31 32 def region @azure_vm.location end def region=(setregion) Trace of template inclusion: app/views/hosts/_compute_detail.html.erb, app/views/hosts/_compute.html.erb, app/views/hosts/_unattended.html.erb, app/views/hosts/_form.html.erb, app/views/hosts/edit.html.erb Rails.root: /home/rootazure/foreman
Files
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
Seems to be solved with latest changes in the PR.
Actions
#3
Updated by Vijay Singh over 5 years ago
Vijay Singh wrote:
VM edit fails as 'NoMethodError in Hosts#edit'
Steps:
Hosts => Click on host => Edit
Traceback:
[...]
Able to click on edit however 'Virtual Machine' and 'Interface' shows values deselected .
Updated by Aditi Puntambekar about 5 years ago
- Related to Bug #27952: Values lost on edit page (host/ compute profile) added
Updated by Aditi Puntambekar about 5 years ago
- Status changed from Ready For Testing to Closed
Actions