Inconsistent git protocols used during deploy

Bug #1364195 reported by Paul Gear
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wordpress (Juju Charms Collection)
Fix Released
Critical
Paul Gear

Bug Description

In environments which filter egress traffic, https should be used consistently to ensure that git clones can be proxied. At present, this charm depends on https://github.com/wp-cli/wp-cli.git and git://github.com/jlogsdon/php-cli-tools.git. The latter should be made to use https also. See log extract below:

...
2014-09-02 01:30:41 INFO install + ln -s /mnt/php5 /var/lib/
2014-09-02 01:30:41 INFO install + juju-log 'Creating random secret key ...'
2014-09-02 01:30:41 INFO juju-log Creating random secret key ...
2014-09-02 01:30:41 INFO install + '[' '!' -f .wp-secret ']'
2014-09-02 01:30:41 INFO install + pwgen -s 10 1
2014-09-02 01:30:41 INFO install + juju-log 'Installing wp-cli to make this charm'\''s life a little easier ...'
2014-09-02 01:30:41 INFO juju-log Installing wp-cli to make this charm's life a little easier ...
2014-09-02 01:30:41 INFO install + git clone https://github.com/wp-cli/wp-cli.git /usr/src/wp-cli
2014-09-02 01:30:41 INFO install Cloning into '/usr/src/wp-cli'...
2014-09-02 01:30:58 INFO install + cd /usr/src/wp-cli
2014-09-02 01:30:58 INFO install + git reset --hard v0.6.0
2014-09-02 01:30:58 INFO install HEAD is now at 15009ab wp cache switch_to_blog does not make sense as a standalone subcommands. see #155
2014-09-02 01:30:58 INFO install + git submodule update --init
2014-09-02 01:30:58 INFO install Submodule 'src/php/php-cli-tools' (git://github.com/jlogsdon/php-cli-tools.git) registered for path 'src/php/php-cli-tools'
2014-09-02 01:30:58 INFO install fatal: unable to connect to github.com:
2014-09-02 01:30:58 INFO install github.com[0: 192.30.252.131]: errno=Connection refused
2014-09-02 01:30:58 INFO install
2014-09-02 01:30:58 INFO install Cloning into 'src/php/php-cli-tools'...
2014-09-02 01:30:58 INFO install Clone of 'git://github.com/jlogsdon/php-cli-tools.git' into submodule path 'src/php/php-cli-tools' failed
2014-09-02 01:30:58 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1

Related branches

Revision history for this message
Paul Gear (paulgear) wrote :
Marco Ceppi (marcoceppi)
Changed in wordpress (Juju Charms Collection):
status: New → Fix Released
assignee: nobody → Paul Gear (paulgear)
importance: Undecided → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.