gitlab does not deploy in limited network environments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gitlab (Juju Charms Collection) |
New
|
Low
|
Unassigned |
Bug Description
I am doing some testing on charms and I discovered that the gitlab does not deploy on environments with limited network access.
Here is the error from the
2014-08-22 20:21:31 INFO juju-log Installing bundler gem
2014-08-22 20:21:31 INFO install + sudo gem install bundler
2014-08-22 20:23:39 INFO install ERROR: Could not find a valid gem 'bundler' (>= 0) in any repository
From what I can tell gem was not able to find bundler on the network. Since the system has a limited network I am running Juju with proxies. The ubuntu-
I found the command:
sudo gem install --http-proxy $HTTP_PROXY bundler
works and installs the bundler. Therefore I would recommend changing the install hook to use the HTTP_PROXY when available:
if [ -n "${HTTP_PROXY}" ]; then
fi
juju-log "Installing bundler gem"
sudo gem install ${GEM_OPTIONS} bundler
I tried the code fix listed above and the bundler gem installs! The charm hits another bug and fails in the install hook.
https:/
tags: | added: audit |
tags: | added: ppc64le |
Changed in gitlab (Juju Charms Collection): | |
importance: | Undecided → Medium |
description: | updated |
tags: |
added: ppc64el removed: ppc64le |
tags: | added: ppc64le |
tags: | removed: ppc64le |
Can you confirm if this is a ppc64 issue or a gitlab - networking - ubuntu issue? If non-ppc64el, can we remove ppc64el tag?