Project

General

Profile

Bug #37013

Gitlab plugin hangs and never finishes installing

Added by Joe Maloney over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Nice to have
Assignee:
Lola Yang
Category:
GUI (new)
Target version:
Seen in:
Severity:
New
Reason for Closing:
Not Applicable
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

I have not encountered this with other plugins but with gitlab it seems to hang at post-install. It never finishes, and I cannot access the web interface. I've tried removing and re-installing the plugin about 10 times in a row. Other plugins do not seem to have this issue it seems to be specific to gitlab.


Related issues

Related to FreeNAS - Feature #36948: Use callback to return iocage plugin progressDone
Blocked by FreeNAS - Feature #39288: Need size info for pluginsClosed

History

#1 Updated by Joe Maloney over 2 years ago

  • File debug-fn02-20180707151336.txz added
  • Private changed from No to Yes

#2 Updated by Dru Lavigne over 2 years ago

  • Category changed from GUI (new) to OS
  • Assignee changed from Release Council to Martin Wilke

#3 Updated by Martin Wilke over 2 years ago

  • Status changed from Unscreened to In Progress

The install takes about 15/20 min dependents on hardware and network, I just tested it from the terminal it works fine and as expected. What I suspect is that when you use the web interface that u run in a timeout.

#4 Updated by Martin Wilke over 2 years ago

  • Assignee changed from Martin Wilke to Joe Maloney

I have been retested it over and over again, it does work fine. It can really take up till an hour, which is depended on Network and Hardware.

#5 Updated by Joe Maloney over 2 years ago

I tested today with:

I had to use iocage fetch -P --name gitlab dhcp=on vnet=on bpf=yes

For about 40 minutes the plugin install provides output like this:

I, [2018-07-18T13:32:07.725020 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/sidebar/components/participants/sidebar_participants-1e1ed28f1fac06d620793f4e19b9041e42f70e58f7d4a2f99672636b3d24015b.vue
I, [2018-07-18T13:32:07.731584 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/sidebar/components/subscriptions/sidebar_subscriptions-f7dc7e08ec0c398aa87bb52f0a61cdf9ea2a9a804b04c8246bc1ac0eefa7f2e3.vue
I, [2018-07-18T13:32:07.738003 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/sidebar/components/subscriptions/subscriptions-c1e7f34ed097ea7d0d8b8159ed790bbadd36c36ce1abae1a777034aa92b3d32e.vue
I, [2018-07-18T13:32:07.744804 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/sidebar/components/time_tracking/collapsed_state-83a8b271cfbd0fcafa738d04d34555ccadc46e21a0011c7b7d62484f9b625883.vue
I, [2018-07-18T13:32:07.751157 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/sidebar/components/time_tracking/comparison_pane-eb44c806a77a5bcf7fdabba4a6b5780616c38d68484d7a6056457aa7f66f8110.vue
I, [2018-07-18T13:32:07.758439 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/sidebar/components/time_tracking/time_tracker-7207db41a05887630cc9dc3f749a04f2be9617174a98b01781c3672943fd2d16.vue
I, [2018-07-18T13:32:07.773471 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/vue_merge_request_widget/components/deployment-a0881ed0328556d07a9921cb95adb96f99907d87cf0bac46eb76826ce954786c.vue
I, [2018-07-18T13:32:07.780527 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/vue_merge_request_widget/components/memory_usage-a7b1bb6dba192cb8cfd6753873ee67c8dede32bf436e654a693b43af5f15bca7.vue
I, [2018-07-18T13:32:07.786898 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/vue_merge_request_widget/components/mr_widget_author-95ce3522b445666ccf26e0a3e9719aa2945b9807e3adc812198cce44589112a5.vue
I, [2018-07-18T13:32:07.793513 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/vue_merge_request_widget/components/mr_widget_author_time-76934567faae9ff4142d427b476aad4c1f410954d9c715f44129d0db24c7656f.vue
I, [2018-07-18T13:32:07.799860 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/vue_merge_request_widget/components/mr_widget_header-70c3fa1aa8570d25d8900cefa99a1a2cf739a533ed76a0203b821ed089e0739d.vue
I, [2018-07-18T13:32:07.806973 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/vue_merge_request_widget/components/mr_widget_maintainer_edit-8672365b02a4bce092175d8c51c53d58e9fa038dc3f548be6462248d4c26a57e.vue
I, [2018-07-18T13:32:07.813541 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/vue_merge_request_widget/components/mr_widget_merge_help-e7826d9a0df0b78274ae9843e51c811966f4aaa3fd70321c8a76b150d9940ebb.vue
I, [2018-07-18T13:32:07.820018 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/vue_merge_request_widget/components/mr_widget_pipeline-92c26b582afa280a83f06b65f5ed2eff90f55693b4f69e6ec575e9b61962e709.vue
I, [2018-07-18T13:32:07.826527 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/vue_merge_request_widget/components/mr_widget_related_links-909cf208a426814973b1bf93944be9c7eeb34435d48b1201931f2a570c53ac5b.vue
I, [2018-07-18T13:32:07.832947 #92791]  INFO -- : Writing /usr/local/www/gitlab/public/assets/vue_merge_request_widget/components/mr_widget_status_icon-a0f11c531bf49df7ad8afbd4f914884f4c356a17bd7d7bd2ab10d4b8609901e2.vue

Finally at the end of install we get this:

Gitaly with pid 96538 is running.
GitLab and all its components are up and running.
Starting gltlab pages...
Starting sshd...
Generating RSA host key.
2048 SHA256:S/5ylSHmQU4fzBCqC0caDIAx5aSR4mOmXAwBP7+2k4E root@gitlab (RSA)
Generating ECDSA host key.
256 SHA256:nIuOWSHs46PpH4USzfNTkM7QvsL91lx9d0SeNex4Z1E root@gitlab (ECDSA)
Generating ED25519 host key.
256 SHA256:ltStaIpSZlWyWSYSLJh8qB16VmeTFYQLP2zVCoQs33c root@gitlab (ED25519)
Performing sanity check on sshd configuration.
Starting sshd.
Database Name: gitlabhq_production
Database User: git
Database Password: sOie5s3nBQ4wmipN
Please open the URL to set your password, Login Name is root.

Admin Portal:
http://10.231.5.163

The above password is needed to finish the installation of gitlab. I see a few problems here. For one we have no progress bars for jails so the user will most likely assume the install hangs, and never finishes. In my case I would observe that even after an hour I am stuck looking at a please wait screen. If I refresh I cannot get to the management interface. The only way I could get the plugin to install is to use the CLI command I have presented here. Secondly we do not provide any output so how is the user supposed to obtain the password. I would assume maybe we would want to document that this plugin should be installed with CLI only, and make seperate tickets for providing the required output, and progress to ensure successful plugin installation. I am not sure what the right solution is here so I will hand this over to release engineering for discussion to determine if we should transfer this ticket to the UI team, or not.

#6 Updated by Dru Lavigne over 2 years ago

  • Related to Feature #36948: Use callback to return iocage plugin progress added

#7 Updated by Dru Lavigne over 2 years ago

  • Category changed from OS to GUI (new)
  • Assignee changed from Joe Maloney to Erin Clark
  • Target version changed from Backlog to 11.2-BETA3

#9 Updated by Erin Clark over 2 years ago

  • Related to Feature #36948: Use callback to return iocage plugin progress added

#10 Updated by Erin Clark over 2 years ago

  • Status changed from In Progress to Blocked
  • Reason for Blocked set to Dependent on a related task to be completed

UI Meeting: We should tell the user how big a plugin is before they install it so they have a better idea of how long it will take. We should set a floor to the size of the plugin that tells the user if the plugin is really big.

Eventually we will also have a progress bar that will assist the user in knowing how long it will take as well but that is a little further off.

#11 Updated by Erin Clark over 2 years ago

#13 Updated by Dru Lavigne about 2 years ago

  • Related to deleted (Feature #36948: Use callback to return iocage plugin progress)

#14 Updated by Dru Lavigne about 2 years ago

  • Status changed from Blocked to Not Started
  • Reason for Blocked deleted (Dependent on a related task to be completed)

#15 Updated by Erin Clark about 2 years ago

  • Assignee changed from Erin Clark to Lola Yang

#16 Updated by Lola Yang about 2 years ago

  • Status changed from Not Started to Done

plugin already have a progress bar for the installation.

#17 Updated by Dru Lavigne about 2 years ago

  • File deleted (debug-fn02-20180707151336.txz)

#18 Updated by Dru Lavigne about 2 years ago

  • Status changed from Done to Closed
  • Target version changed from 11.2-BETA3 to N/A
  • Private changed from Yes to No
  • Reason for Closing set to Not Applicable

Also available in: Atom PDF