Skip to content

Fix installation activation bug

Mark Chao requested to merge 4646-fix into master

What does this MR do and why?

There is a bug when attempting installation's auto activation, and if connectivity issue occurs, a NoMethodError would be raised. This is because the errors can sometimes be a string instead of array.

How to set up and validate locally

  1. Stop CDot if it is already running
  2. Create a cloud license subscription on CDot, and obtain its activation code
  3. On SM instance, run bundle exec rake gitlab:license:load GITLAB_ACTIVATION_CODE=foobar

The result should print out CONNECTIVITY_ERROR without ruby exception.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to customers-gitlab-com#4646 (closed)

Edited by Mark Chao

Merge request reports

Loading