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.
Bug 1868303 - Updating new role shows 'The page you were looking for doesn't exist.'
Summary: Updating new role shows 'The page you were looking for doesn't exist.'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Users & Roles
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.9.0
Assignee: Marek Hulan
QA Contact: Peter Ondrejka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-12 09:18 UTC by Stephen Wadeley
Modified: 2021-04-21 13:17 UTC (History)
6 users (show)

Fixed In Version: foreman-2.3.1.14-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-21 13:17:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 31934 0 Normal Closed User redirection does not work under certain conditions 2021-02-27 17:53:44 UTC
Red Hat Product Errata RHSA-2021:1313 0 None None None 2021-04-21 13:17:57 UTC

Description Stephen Wadeley 2020-08-12 09:18:19 UTC
Description of problem:

Saving a role (test_user) after setting the e-mail address, and navigating to:

https://cloud-qe-20.xxxx.redhat.com/users/8-test_user

displays page with:
The page you were looking for doesn't exist.


Version-Release number of selected component (if applicable):
Snap 11


~]# rpm -q satellite
satellite-6.8.0-0.7.beta.el7sat.noarch

How reproducible:
unsure


Steps to Reproduce:
1. Create user
2. log in as user, see prompt asking you to set e-mail address
3. try disable e-mail, but you are stillforced to set e-mail. Set e-mail, save

Actual results:

error page with:
The page you were looking for doesn't exist.

Expected results:

it just works

Additional info:

I will attach production logs

Comment 2 Brad Buckingham 2020-08-13 14:08:57 UTC
Is this a regression from Satellite 6.7?

Comment 3 Stephen Wadeley 2020-08-17 08:28:44 UTC
Hello Brad

Testing on Sat6.7

As Admin User:

Created test_user, left all default settings, did not add a role yet , Authorized by * INTERNAL, Submit


log out
log in as test_user

Warning pop-up is displayed:

An email address is required, please update your account details

test_user is open in edit view at this page:
 Users > Edit test_user

I add my e-mail address, click Submit

Green Pop says: Successfully updated test_user.

I am at the /hosts endpoint

So this bug is not a regression

Thank you

Comment 6 Shira Maximov 2021-01-21 10:27:04 UTC
Connecting redmine issue https://projects.theforeman.org/issues/10577 from this bug

Comment 8 Peter Ondrejka 2021-02-16 15:21:14 UTC
Still reproducible on sat 6.9 snap 13

The initial failed submit attempt is necessary to reproduce:
- on the first login of the new viewer user click submit without passing the email, the form doesn't allow this
- then supply an email and submit > The page you were looking for doesn't exist

Supplying email on the first go leads to success, also the impersonate tool doesn't show this behavior

Comment 9 Marek Hulan 2021-02-19 15:19:12 UTC
I can't reproduce in upstream nor 6.9 snap 14, Peter, if you still see that, can you please share the reproducing environment? I logged in as a new user without email address, I submitted the form, I see the validation error, I fill in the address and submit again, I'm redirected to the /hosts and I'm informed I don't have view_hosts permissions.

Comment 10 Peter Ondrejka 2021-02-22 09:04:35 UTC
Hello, still seeing it on snap 14. My host has viewer permissions, will share reproducer

Comment 11 Marek Hulan 2021-02-22 11:39:59 UTC
Thanks for the reproducer, this is still reproducible even in the upstream, the fix is one-liner. Opening a PR in a moment.

Comment 12 Bryan Kearney 2021-02-23 09:53:52 UTC
Upstream bug assigned to mhulan

Comment 13 Bryan Kearney 2021-02-23 09:53:55 UTC
Upstream bug assigned to mhulan

Comment 14 Bryan Kearney 2021-02-25 12:04:34 UTC
Upstream bug assigned to tbrisker

Comment 15 Bryan Kearney 2021-02-27 20:04:13 UTC
Upstream bug assigned to mhulan

Comment 17 Peter Ondrejka 2021-03-08 11:40:06 UTC
Verified on Satellite 6.9 snap 16

Comment 20 errata-xmlrpc 2021-04-21 13:17:39 UTC
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 (Moderate: Satellite 6.9 Release), 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/RHSA-2021:1313


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