Project

General

Profile

Actions

Bug #4729

closed

Importing subnet fails on unknown attribute

Added by Ivan Necas over 10 years ago. Updated over 10 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
DHCP
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

1. configure foreman proxy on dhcp
2. import subnet on the proxy
3. submit

Expected:

subnet created

Current:

Warning!

unknown attribute: 1

Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #4731: Creating domain when organization selected produces duplicate key errorClosedJoseph Magen03/19/2014Actions
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Category set to DHCP

Any stacktrace in the logs? Which proxy DHCP provider?

Actions #2

Updated by Ivan Necas over 10 years ago

ActiveRecord::UnknownAttributeError
unknown attribute: 1
app/controllers/subnets_controller.rb:74:in `create_multiple'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

It was dhcpd provider, but I don't think it's related.

One thing I forgot to mention is I was in context of an organization.
With 'any context' it didn't happen.

Actions #3

Updated by Ivan Necas over 10 years ago

  • Status changed from New to Duplicate

Seems fix for http://projects.theforeman.org/issues/4731 also fixed this one (will repopen, if I hit this again)

Actions #4

Updated by Dominic Cleal over 10 years ago

  • Is duplicate of Bug #4731: Creating domain when organization selected produces duplicate key error added
Actions

Also available in: Atom PDF