Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Currently we are unable to create subnets from the UI using the "Infrastructre" --> "subnets"--> "new subnet" button.
2016-03-02 13:13:31 [app] [I] Failed to save: Subnet domains is invalid, Subnet domains is invalid
2016-03-02 13:13:31 [app] [I] Rendered subnets/_fields.html.erb (19.8ms)
2016-03-02 13:13:31 [app] [I] Rendered common/_edit_habtm.html.erb (39.1ms)
2016-03-02 13:13:31 [app] [I] Rendered taxonomies/_loc_org_tabs.html.erb (20.5ms)
2016-03-02 13:13:31 [app] [I] Rendered subnets/_form.html.erb (216.0ms)
2016-03-02 13:13:31 [app] [I] Rendered subnets/new.html.erb (218.0ms)
2016-03-02 13:13:31 [app] [I] Completed 200 OK in 454ms (Views: 203.0ms | ActiveRecord: 37.6ms)
Version-Release number of selected component (if applicable):
Sat6.2.0-Beta-SNAP1
How reproducible:
Steps to Reproduce:
1. create a new subnet with valid values
2.
3.
Actual results:
Unable to create new subnet via "Infrastructre" --> "subnets"--> "new subnet" button.
Expected results:
Should be able to create new subnet via "Infrastructre" --> "subnets"--> "new subnet" button.
Additional info:
Workaround: Currently using the "import subnet" button found on the smart-proxy dropdown helps identify subnet and create one for us.
Config: satellite-6.2.0-4.beta.el7sat.noarch
I was able to create a subnet with:
name: test
network address: 192.168.121.0
network mask: 255.255.255
domain: example.com
I am, however, unable to delete it in the UI. Doing so, results in an error indicating:
Error: test (192.168.121.0/24) is used by example.com
This is bug, you can't select domains on new subnet creation. If you don't choose any domain, it works. After it's persisted you can edit the subnet and assign domain. There's already a PR waiting to be re-reviewed and merged.
And just for the record, you can't delete subnet if it's used by some host so the error that Brad mentions is expected behavior. You'd have to disassociate the subnet from host prior subnet deletion.
Moving to POST since upstream bug http://projects.theforeman.org/issues/13711 has been closed
-------------
Anonymous
Applied in changeset commit:46eec8ba4163a8f237b3189f43d2f873a2267288.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2016:1500