Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1191875 - subnet without organization/location and host using the subnet in org/loc => unable to set org/loc on the subnet
subnet without organization/location and host using the subnet in org/loc => ...
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: WebUI (Show other bugs)
6.1.0
Unspecified Unspecified
unspecified Severity medium (vote)
: Beta
: Unused
Assigned To: Shimon Shtein
Kedar Bidarkar
http://projects.theforeman.org/issues...
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-12 02:46 EST by Jan Hutař
Modified: 2016-07-27 04:47 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-27 04:47:55 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 9391 None None None 2016-04-22 10:54 EDT
Red Hat Product Errata RHBA-2016:1500 normal SHIPPED_LIVE Red Hat Satellite 6.2 Base Libraries 2016-07-27 08:24:38 EDT

  None (edit)
Description Jan Hutař 2015-02-12 02:46:17 EST
Description of problem:
When you create subnet without organization/location specified and create host using the subnet with organization/location, you are unable to configure organization/location for the subnet.


Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150210.0-Satellite-x86_64


How reproducible:
always


Steps to Reproduce:
1. Install Satellite (I have not created any extra organization/location
   besides default ones)
2. Configure provisioning (in my case I have used libvirt)
3. Create subnet without organization/location specified
   # hammer -u admin -p changeme subnet create --dhcp-id 1 --dns-id 1 \
     --tftp-id 1 --domain-ids 1 --name jhutar3 --network 192.168.160.0 \
     --mask 255.255.255.0
4. Create host using that subnet
5. Make sure you have "Default Organization@Default Location"
6. Look into Infrastructure -> Subnets
   => you can not see the subnet, which is expected
7. Switch to "Any Context"
8. Look into Infrastructure -> Subnets
   => you can see the subnet, which is expected
9. Attempt to set organization/location in Infrastructure -> Subnets
   -> <your_subnet> -> Locations or Organizations
   => default org/loc are already at right side (tooltip says
      "This is used by a host") and you can not configure it in any way


Actual results:
You can not configure it in any way


Expected results:
You should probably be able to configure it, or when it seems to be configured already (see step 9), it should appear with "Default Organization@Default Location" set as well.
Comment 1 RHEL Product and Program Management 2015-02-12 02:53:18 EST
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
Comment 3 Ohad Levy 2015-02-15 03:55:48 EST
Created redmine issue http://projects.theforeman.org/issues/9391 from this bug
Comment 4 Jan Hutař 2015-02-15 16:09:58 EST
Same for Compute Resource
Comment 5 Bryan Kearney 2015-02-18 18:06:47 EST
Upstream bug assigned to sshtein@redhat.com
Comment 6 Bryan Kearney 2015-04-22 08:05:08 EDT
Moving to POST since upstream bug http://projects.theforeman.org/issues/9391 has been closed
-------------
Shimon Shtein
Applied in changeset commit:8f695d94a2f32fea3363cc017fc59baf6ca15b17.
Comment 9 Kedar Bidarkar 2016-05-03 12:04:40 EDT
Looks like this is no longer an issue, as we can no longer create a host without subnet first being associated to a org/loc , neither via UI nor via hammer.

Can you please confirm this?
Comment 10 Kedar Bidarkar 2016-05-03 12:08:29 EDT
confirmed that we can no longer add subnet to host via UI and hammer, unless the subnet is part of the org/loc.


VERIFIED With sat62-snap9.3
Comment 12 errata-xmlrpc 2016-07-27 04:47:55 EDT
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

Note You need to log in before you can comment on or make changes to this bug.