[go: up one dir, main page]

Page MenuHomePhabricator

mw-debug-repl fails with `container mediawiki-pinkunicorn-app is not valid for pod mw-debug.codfw.next-5d785576b4-sq6dv`
Closed, ResolvedPublic

Description

zabe@deploy2002:~$ mw-debug-repl enwiki
Becoming root...
Finding a mw-debug pod in codfw...
Now running shell.php for enwiki inside pod/mw-debug.codfw.next-5d785576b4-sq6dv...
Error from server (BadRequest): container mediawiki-pinkunicorn-app is not valid for pod mw-debug.codfw.next-5d785576b4-sq6dv
zabe@deploy2002:~$

Event Timeline

Clement_Goubert subscribed.

Thank you for the bug report!

This is because of the introduction of a next release. Fix for the script incoming will introduce -n|--next to select it, or use the default pinkunicorn release if not provided.

Change #1079284 had a related patch set uploaded (by Clément Goubert; author: Clément Goubert):

[operations/puppet@production] mw-debug-repl: Support next release

https://gerrit.wikimedia.org/r/1079284

Clement_Goubert changed the task status from Open to In Progress.Oct 10 2024, 1:33 PM
Clement_Goubert claimed this task.

Change #1079284 merged by Clément Goubert:

[operations/puppet@production] mw-debug-repl: Support next release

https://gerrit.wikimedia.org/r/1079284

cgoubert@deploy2002:~$ sudo /usr/local/bin/mw-debug-repl -e -d eqiad --wiki itwiki
Finding a mw-debug pod in eqiad...
Now running eval.php for itwiki inside pod/mw-debug.eqiad.pinkunicorn-6d6b466677-2p5g9 on release pinkunicorn...
> ^D
cgoubert@deploy2002:~$ sudo /usr/local/bin/mw-debug-repl -e -d eqiad --wiki itwiki -n
Finding a mw-debug pod in eqiad...
Now running eval.php for itwiki inside pod/mw-debug.eqiad.next-7bdff8548f-tf9zz on release next...
> ^D
cgoubert@deploy2002:~$ sudo /usr/local/bin/mw-debug-repl -e -d eqiad --wiki itwiki --next
Finding a mw-debug pod in eqiad...
Now running eval.php for itwiki inside pod/mw-debug.eqiad.next-7bdff8548f-tf9zz on release next...
> ^D
cgoubert@deploy2002:~$ sudo /usr/local/bin/mw-debug-repl -d eqiad --wiki itwiki --next
Finding a mw-debug pod in eqiad...
Now running shell.php for itwiki inside pod/mw-debug.eqiad.next-7bdff8548f-tf9zz on release next...
Psy Shell v0.12.3 (PHP 7.4.33 — cli) by Justin Hileman
> ^D

   INFO  Ctrl+D.

cgoubert@deploy2002:~$ sudo /usr/local/bin/mw-debug-repl -d eqiad --wiki itwiki -n
Finding a mw-debug pod in eqiad...
Now running shell.php for itwiki inside pod/mw-debug.eqiad.next-7bdff8548f-tf9zz on release next...
Psy Shell v0.12.3 (PHP 7.4.33 — cli) by Justin Hileman
> ^D

   INFO  Ctrl+D.

Fix looks good, resolving