Last modified: 2014-03-24 13:51:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T64658, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62658 - Migrate Bugzilla Labs instances to new datacenter
Migrate Bugzilla Labs instances to new datacenter
Status: RESOLVED WONTFIX
Product: Wikimedia Labs
Classification: Unclassified
Infrastructure (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 62042
  Show dependency treegraph
 
Reported: 2014-03-14 20:29 UTC by Andre Klapper
Modified: 2014-03-24 13:51 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Andre Klapper 2014-03-14 20:29:11 UTC
Please migrate boogs.wmflabs.org to the new labs data center in EQIAD.

Confusion, for the records:
* I have no idea why https://wikitech.wikimedia.org/wiki/Nova_Resource:Bugzilla lists the "andre36762" instance - when I click on it it says "This instance has been deleted."
* I don't get why https://wikitech.wikimedia.org/wiki/Special:NovaResources for me shows the instance "boogswolibs" in the "bugzilla" project while https://wikitech.wikimedia.org/wiki/Nova_Resource:Bugzilla#Instances_for_this_project does not list that one.

The instances "boogswolibs", "bugzilla-current", "muzilla", "andre36762" can be deleted.
The instance "boogs" should be kept.
Comment 1 Tim Landscheidt 2014-03-15 22:48:36 UTC
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.
Comment 2 Andrew Bogott 2014-03-16 17:18:08 UTC
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:

https://wikitech.wikimedia.org/wiki/Labs_Eqiad_Migration_Howto#Preparing_to_migrate

If you're unable to get puppet running then ping me on IRC and I'll have a look :(
Comment 3 Andrew Bogott 2014-03-20 14:44:34 UTC
Please respond!
Comment 4 Andre Klapper 2014-03-20 16:03:45 UTC
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"
 
 # 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}/answerfile.pl",
                content => template('bugzilla/answerfile.pl.erb'),
                require => File[$dir],
-               notify  => Exec['check setup'],
        }
 
        # checksetup.pl 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,
        }
Comment 5 Andre Klapper 2014-03-20 21:28:27 UTC
Status (thanks a lot to mutante for helping!!), after changing "labs_bugzilla" to "role::bugzilla" on https://wikitech.wikimedia.org/w/index.php?title=Special:NovaInstance :

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 https://gerrit.wikimedia.org/r/#/c/119871/

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.
Comment 6 Andre Klapper 2014-03-24 13:51:07 UTC
Moved "Bugzilla" item on https://wikitech.wikimedia.org/wiki/Labs_Eqiad_Migration/Progress and WONTFIXing this ticket.
Setting it up from scratch should be easier.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links