Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update warning message for replica install #421

Closed
wants to merge 1 commit into from

Conversation

Akasurde
Copy link
Member

@Akasurde Akasurde commented Jan 30, 2017

New warning message in replica install describes more about
"insufficient privilege" error

Fixes https://fedorahosted.org/freeipa/ticket/6352

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com

@MartinBasti
Copy link
Contributor

Hello,

I'd not omit the fact, that insufficient privilege error can be be caused by user credentials as well, I also wouldn't mention that hostgroup must exists explicitly.

I propose something like this, but I'm open to any suggestions and improvements

Insufficient privileges to promote the server.
Possible issues:
- a user has insufficient privileges
- this client has insufficient privileges to become replica (is the host member of "ipaservers" group)

@Akasurde
Copy link
Member Author

@MartinBasti I am OK for changing the warning message. I will wait for other to comment.

Copy link
Contributor

@stlaz stlaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, fix the raised issues

raise ScriptError("\nInsufficient privileges to promote the server.")
raise ScriptError("\nInsufficient privileges to promote the server."
"\nPossible issues:"
"\n- An user has insufficient privileges"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"A user" - you use the article depending on the pronunciation of the following word.

raise ScriptError("\nInsufficient privileges to promote the server."
"\nPossible issues:"
"\n- An user has insufficient privileges"
"\n- Thin Client has insufficient privileges "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"s/Thin Client/This client"

"\nPossible issues:"
"\n- An user has insufficient privileges"
"\n- Thin Client has insufficient privileges "
"to become IPA Replica Server")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"s/IPA Replica Server/an IPA replica"

raise ScriptError("\nInsufficient privileges to promote the server."
"\nPossible issues:"
"\n- A user has insufficient privileges"
"\n- This Client has insufficient privileges "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, have the "C" in "Client" lowercased and I'll ACK this :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

New warning message in replica install describes more about
"insufficient privilege" error

Fixes https://fedorahosted.org/freeipa/ticket/6352

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
@stlaz
Copy link
Contributor

stlaz commented Feb 17, 2017

Wonderful, thank you for your patch.

@stlaz stlaz added the ack Pull Request approved, can be merged label Feb 17, 2017
@MartinBasti MartinBasti added the pushed Pull Request has already been pushed label Feb 17, 2017
@MartinBasti
Copy link
Contributor

@Akasurde
Copy link
Member Author

@stlaz Thanks for your comments.

@Akasurde Akasurde deleted the tkt6352 branch February 17, 2017 11:21
@Akasurde
Copy link
Member Author

@MartinBasti Thanks for your comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
3 participants