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

Inform admin about important changes in update command output after update of Codenvy on-prem #865

Closed
dmytro-ndp opened this issue Sep 28, 2016 · 8 comments

Comments

@dmytro-ndp
Copy link
Contributor

dmytro-ndp commented Sep 28, 2016

We need to have an ability to display update specific info in terminal after the successful update of Codenvy on-prem, for example, for update to 5.0.0-M4:

[vagrant@dev ~]$ codenvy install
[CODENVY] Unzip Codenvy binaries to /tmp/codenvy [OK]
[CODENVY] Configure Codenvy                      [OK]
[CODENVY] Patch resources before update          [OK]
[CODENVY] Move Codenvy binaries to /etc/puppet   [OK]
[CODENVY] Update Codenvy                         [OK]
[CODENVY] Patch resources after update           [OK]
[CODENVY] {
  "artifacts" : [ {
    "artifact" : "codenvy",
    "version" : "5.0.0-M4",
    "status" : "SUCCESS"
  } ],
  "status" : "OK",
  "message" : "All users' passwords have been reset. If your Admin user is 'admin', then your password has been set to 'password'. This has been done as part of an internal database consolidation that increases system security."
}

Message should be in yellow color.

It is needed for issue #845.

@riuvshin
Copy link

can we have that message with some color ? I think we have to make sure user will receive that message.

@dmytro-ndp
Copy link
Contributor Author

dmytro-ndp commented Sep 28, 2016

We can display the message in yellow.

@dmytro-ndp dmytro-ndp changed the title Add ability to display predefined update specific info after update of Codenvy on-prem Inform users about important changes after update of Codenvy on-prem Sep 28, 2016
@dmytro-ndp dmytro-ndp changed the title Inform users about important changes after update of Codenvy on-prem Inform admin about important changes in update command output after update of Codenvy on-prem Sep 28, 2016
@riuvshin riuvshin modified the milestones: 5.0.0-M4, 5.0.0-M5 Sep 28, 2016
@bmicklea
Copy link
Contributor

The message should look like this (but in yellow):

[CODENVY] All users' passwords have been reset. If your Admin user is 'admin', then your password has been set to 'password'. This has been done as part of an internal database consolidation that increases system security.

@bmicklea
Copy link
Contributor

@skabashnyuk can we send the normal password reset emails to all users in the database either as part of the upgrade or immediately after upgrade?

@skabashnyuk
Copy link
Contributor

@bmicklea We never send emails like that. Before we send emails only for SAAS users.

@bmicklea
Copy link
Contributor

@dmytro-ndp how is this progressing?

@dmytro-ndp
Copy link
Contributor Author

Example of update command output:
update_info

@TylerJewell
Copy link
Contributor

Here is shorter language.
"This is a one-time event to increase security with an internal database consolidation."

dmytro-ndp pushed a commit that referenced this issue Oct 2, 2016
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
dmytro-ndp pushed a commit that referenced this issue Oct 2, 2016
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
dmytro-ndp pushed a commit that referenced this issue Oct 3, 2016
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
dmytro-ndp pushed a commit that referenced this issue Oct 3, 2016
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants