Project

General

Profile

Actions

Bug #15735

closed

Subnet is not selected with domain

Added by Lukas Zapletal over 8 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

If you create a hostgroup that defines both subnet and domain and select it in the modal dialog, primary interface domain is set correctly but subnet is blank. Provisioning does work fine, but we should perhaps select it correctly.

When fixing this, add a test in test_edit_form_submit_parameters:

    assert_select '#host_interfaces_attributes_0_subnet_id [selected]' do |e|
      assert_equal hostgroup.subnet_id.to_s, e.first[:value]
    end


Files

New Host.png View New Host.png 121 KB Swapnil Abnave, 10/13/2016 03:24 AM

Related issues 1 (0 open1 closed)

Related to Discovery - Feature #4426: Allow changing/setting of organisation and location in the "Provision Host" screenClosedLukas Zapletal02/24/2014Actions
Actions #1

Updated by Lukas Zapletal over 8 years ago

  • Related to Feature #4426: Allow changing/setting of organisation and location in the "Provision Host" screen added
Actions #2

Updated by Swapnil Abnave about 8 years ago

@Lukas Zapletal
I am not able to reproduce this.
New Host -> Interaces -> Edit : Shows auto-filled "Domain" and "IPv4 Subnet"

I hope I am testing it right. If not can you help me reproduce it ?

PFA

Actions #3

Updated by Lukas Zapletal about 8 years ago

  • Status changed from New to Rejected

Hello, unable to reproduce too. I had to have Smart Proxy down or something. Thanks.

Actions

Also available in: Atom PDF