Project

General

Profile

Actions

Bug #27303

closed

VM edit fails as 'NoMethodError in Hosts#edit'

Added by Vijay Singh over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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

VM.png View VM.png 53.7 KB Virtual Machine Vijay Singh, 08/13/2019 09:18 AM
vm1.png View vm1.png 73.1 KB Interface Vijay Singh, 08/13/2019 09:18 AM

Related issues 2 (0 open2 closed)

Related to AzureRM - Tracker #27271: AzureRM as a compute resource for Foreman with Azure Ruby SDKClosedAditi Puntambekar

Actions
Related to AzureRM - Bug #27952: Values lost on edit page (host/ compute profile)ClosedAditi PuntambekarActions
Actions

Also available in: Atom PDF