Description of problem: Even if you are not an admin user, you will be presented by an ability to upload a golden image. That is not correct, since all it will do is that it will lead to an error. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
@Matt: what should happen in this case? Should the link not be available at all?
We should probably just let them know they need to contact their admin to add the source. We shouldn't send them to a form they can't use.
OK, but how should it actually look like? The message today is this: "Operating system image not available. You can either <upload a new disk image> or define a boot source manually in the boot source dropdown". how should the new look like? Something like: "Operating system image not available. You can either talk to your administrator to define one or define a boot source manually in the boot source dropdown" Would this work?
Operating system source not available. Define a boot source manually below or request your administrator to define for the cluster. I'm sure if that is worded correctly - but trying to teach them what "Source available" means.
moving back to "assigned" since it does not work. I have a user which is not an admin and can not upload anything to the golden image namespace but the "upload a new disk image" button is present.
> Define a boot source manually below or request your administrator to define a source for the cluster. 'For the cluster' sounds not good, is it for the operating system?
(In reply to Guohua Ouyang from comment #8) > > Define a boot source manually below or request your administrator to define a source for the cluster. > > 'For the cluster' sounds not good, is it for the operating system? The text change is tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1880008 the proposed new text would be: Default operating system image not available. Define a boot source manually below or request your administrator to define one for this operating system via the PVC upload form. Moving this back to on_qa to verify if the behavior itself is correct
Move the bug to verified as there is no "upload a new disk image" if it's non-admin user.
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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196