Last modified: 2014-03-24 13:51:07 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.
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: 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 :(
Please respond!
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, }
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.
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.