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

installer: update time estimates #529

Conversation

nicki-krizek
Copy link
Contributor

@nicki-krizek nicki-krizek commented Mar 1, 2017

Time estimates have been updated to be more accurate. Only
tasks that are estimated to take longer than 10 seconds have
the estimate displayed.

https://pagure.io/freeipa/issue/6596

@stlaz
Copy link
Contributor

stlaz commented Mar 7, 2017

This will say during replica installation (DL1):

Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes
  [1/2]: configure certmonger for renewals
  [2/2]: Importing RA key

but the operation lasts ~5 seconds at most.

@nicki-krizek nicki-krizek force-pushed the t6596-update-eta-in-installers branch from 1ec69e6 to 3ee3251 Compare March 7, 2017 17:51
@@ -134,8 +134,13 @@ def configure_instance(self, realm_name, host_name, dm_password,

self.step("enabling KRA instance", self.__enable_instance)

if ra_only:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure if this is necessary. Is kra install ever executed with ra_only=True option?

Copy link
Contributor

@stlaz stlaz Mar 8, 2017

Choose a reason for hiding this comment

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

Please rebase on current master
edit: never mind, you are rebased. I have no idea why you added this.

@nicki-krizek
Copy link
Contributor Author

@stlaz That estimate was a bit off :) Thanks for noticing!

@nicki-krizek nicki-krizek force-pushed the t6596-update-eta-in-installers branch from 3ee3251 to d2ba0a1 Compare March 8, 2017 09:06
@@ -401,7 +401,7 @@ def start_creation(self, start_message=None, end_message=None,
else:
end_message = "Done configuring %s." % self.service_desc

if runtime > 0:
if runtime and runtime > 0:
Copy link
Contributor

Choose a reason for hiding this comment

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

The correct condition is if runtime is not None and and runtime > 0

Copy link
Contributor

Choose a reason for hiding this comment

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

SyntaxError: invalid syntax :-P

Copy link
Contributor

Choose a reason for hiding this comment

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

🤕

@stlaz
Copy link
Contributor

stlaz commented Mar 10, 2017

Please fix the little issue and we will push this.

Time estimates have been updated to be more accurate. Only
tasks that are estimated to take longer than 10 seconds have
the estimate displayed.

https://pagure.io/freeipa/issue/6596
@nicki-krizek nicki-krizek force-pushed the t6596-update-eta-in-installers branch from d2ba0a1 to adfafc3 Compare March 10, 2017 13:47
@stlaz stlaz added the ack Pull Request approved, can be merged label Mar 10, 2017
@MartinBasti MartinBasti added the pushed Pull Request has already been pushed label Mar 10, 2017
@MartinBasti
Copy link
Contributor

master:

  • 09c6b75 installer: update time estimates

@nicki-krizek nicki-krizek deleted the t6596-update-eta-in-installers branch September 15, 2017 14:14
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