Page MenuHomePhabricator

Migrate Bugzilla Labs instances to new datacenter
Closed, DeclinedPublic


Please migrate to the new labs data center in EQIAD.

Confusion, for the records:

The instances "boogswolibs", "bugzilla-current", "muzilla", "andre36762" can be deleted.
The instance "boogs" should be kept.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:51 AM
bzimport added a project: Cloud-VPS.
bzimport set Reference to bz62658.
bzimport added a subscriber: Unknown Object (MLST).

Hijacking this bug: With [[wikitech:Nova Resource:Toolsbeta]] I have the same problem: toolsbeta-pbuilder.pmtpa.wmflabs is listed in the "Instances for this project" list, but it is deleted and doesn't show up in [[wikitech:Special:NovaInstance]]. Apparently, SMW and OpenStack have gone out of sync.

The instance 'boogs' uses self-hosted puppet, and the current puppet run is broken. I cannot safely migrate an instance until it can cleanly run puppet using an updated puppet repo. Please complete:

If you're unable to get puppet running then ping me on IRC and I'll have a look :(

Well, I'm still trying to understand things a bit more, as Ori was so kind to set the instance up in May last year and "so far it worked for me". :/

It's going to be a bit more fun as Bugzilla in the meantime got puppetized thanks to Daniel.

For the records:

aklapper@boogs:~$ cd /var/lib/git/operations/puppet
aklapper@boogs:/var/lib/git/operations/puppet$ sudo GIT_SSH=/var/lib/git/ssh git pull --rebase
Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.
aklapper@boogs:/var/lib/git/operations/puppet$ git diff
diff --git a/manifests/site.pp b/manifests/site.pp
index 7d50d69..23e1edc 100644

  • a/manifests/site.pp

+++ b/manifests/site.pp
@@ -40,6 +40,7 @@ import "swift.pp"
import "varnish.pp"
import "webserver.pp"
import "zuul.pp"
+import "labs_bugzilla.pp"

  1. Include stages last import "stages.pp"

diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp
index a1ab5d8..8189349 100644

  • a/modules/bugzilla/manifests/init.pp

+++ b/modules/bugzilla/manifests/init.pp
@@ -198,7 +198,6 @@ class bugzilla (

path    => "${dir}/",
content => template('bugzilla/'),
require => File[$dir],
  • notify => Exec['check setup'], }
    1. needs to run twice: once to generate the

@@ -208,7 +207,7 @@ class bugzilla (

cwd         => $install_dir,
tries       => 2,
path        => '/usr/bin',
  • refreshonly => true,

+ creates => "$install_dir/data",

        require     => Exec['extra modules'],
        user        => $user,

Status (thanks a lot to mutante for helping!!), after changing "labs_bugzilla" to "role::bugzilla" on :

aklapper@boogs:/var/lib/git/operations/puppet$ sudo puppetd -tv
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class passwords::bugzilla for i-0000071a.pmtpa.wmflabs at /etc/puppet/modules/bugzilla/manifests/init.pp:40 on node i-0000071a.pmtpa.wmflabs

Daniel then created and merged

Also there is /srv/kanbanzilla/venv/bin/pyth now, maybe Ori knows (testing for bug 62272?) but that might mean the instance isn't clean anyway.

So setting up a fresh instance might even be easier.

Moved "Bugzilla" item on and WONTFIXing this ticket.
Setting it up from scratch should be easier.