[10:46:49] Hi all, I would like to request a Cloud VPS server for a project, but before opening the request on Phabricator I wanted to see which were the characteristics of the machine available and I cannot find those on the wiki. [11:04:36] I'm not sure we publish that info, let me check [11:06:57] CristianCantoro: could you please open a phab task requesting we publish flavor details on wikitech? [11:07:45] right now, the only way for an external user is to go to https://openstack-browser.toolforge.org/project/tools and look at the VM instance list [11:08:22] and figure out the "type" column with the others columns containing the HW spec information: RAM, CPU, etc [14:04:15] arturo: ok, I will do it [14:23:17] thanks! [16:12:37] CristianCantoro: https://wikitech.wikimedia.org/wiki/File:Cloud_vps_flavors_2020-10.png [16:37:00] thanks mutante :-) [16:39:02] np:) [16:48:04] stwalkerster: could you have a go at fixing puppet on accounts-db5.account-creation-assistance.eqiad1.wikimedia.cloud? It's currently showing 'WARNING: Failed to apply catalog' [16:48:50] Not right now, but I'll check later tonight :) [16:55:54] !log sso deleting idp and cfssl instances as per jbond42's comments (and because puppet is broken) [16:55:56] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Sso/SAL [17:01:58] !log devtools fixed puppet runs on phabricator-stage-1001 (previously puppetmaster name mismatch) [17:02:01] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Devtools/SAL [17:08:46] thanks andrewbogott [17:50:02] andrewbogott: from what I can tell, it's got a run already in progress? [17:51:21] oh, actually, I wonder if it's just the lockfile which is stuck from an old execution [17:52:56] yeah, agent lock file is from 23 days ago, uptime is 23 days, last reported execution is 23 days. I guess the instance rebooted(?) in the middle of a puppet run [17:55:21] andrewbogott: `puppet agent -t` spat out a load of text, and finished with: "Notice: Applied catalog in 32.48 seconds" - please can you confirm that you see it as fixed now? [18:03:00] stwalkerster: sounds about right, the lock file thing happened to me like you describe it i think. and ending in "Applied catalog" should mean it's fixed [18:04:09] I just merged a change to base::labs which adds a new option for cloud VPS users. They can now opt-in via Hiera to get a systemd timer that empties out the puppet client bucket. (ref: T165885) [18:04:10] T165885: Create a cron to clean clientbucket every day or hour - https://phabricator.wikimedia.org/T165885 [18:52:13] thank you stwalkerster, that host isn't showing up on my report anymore :) [18:58:43] !log toolsbeta deleting toolsbeta-puppetmaster-03 — seems broken and unused [18:58:46] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Toolsbeta/SAL [19:18:40] thanks mutante! [19:19:31] should I still create a phabricator task create a documentation or not, arturo? [19:22:20] yes, i think so. That would be better in an official place instead of my User page and as an image [19:39:00] Hello, I am rather new to Toolforge (and programming as such), so please excuse if this is a trivial question. I am trying to run a Python script (bot.py) including Selenium on the Toolforge, but despite having installed selenium via "pip install selenium" (and it worked) and having copied a chromedriver.exe directly into the same folder as bot.py, [19:39:01] I get an error message that the folder may have wrong permissions [19:39:13] The file runs fine locally [19:40:03] Folder, bot.py and chromedriver.exe all have rw-r--r-- rights [19:41:03] Any ideas? Probably just a small thing that I'm currently overlooking [19:45:13] !help [19:45:13] If you don't get a response in 15-30 minutes, please create a phabricator task -- https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?projects=wmcs-kanban [19:46:14] madmelone, what exactly is the command and error message you are seeing? [19:47:27] Thanks for trying to help. I start up a virtual environment as described in https://wikitech.wikimedia.org/wiki/Help:Toolforge/Python . Then I go to to the directory where the file is and simply run it via "python3 bot.py" [19:48:28] can you paste the traceback you get when you do that? [19:49:01] mhh, noob question: how do you copy&paste out of putty? (sry) [19:49:54] (WTB_venv) tools.wikitennisbot@tools-sgebastion-07:~/bots/ITF_property_change$ python3 bot.py [19:49:55] 676, in __init__ [19:49:58] line 73, in [19:50:01] "/mnt/nfs/labstore-secondary-tools-project/wikitennisbot/WTB_venv/lib/python3.5/site-packages/selenium/webdriver/common/service.py", line 88, in start [19:50:03] https://sites.google.com/a/chromium.org/chromedriver/home [19:51:36] madmelone, you can use something like https://pastebin.com to make it easier to read your "paste" [19:52:48] https://pastebin.com/eri1s4U7 [19:52:51] it's hard to understand that traceback, but do you have the correct chromedriver? it's not going to be chromedriver.exe [19:52:58] you need a linux binary [19:54:46] oh, that makes sense [19:55:32] it's likely not finding your webdriver is my guess [19:57:00] so, I downloaded a Linux file from https://chromedriver.storage.googleapis.com/index.html?path=86.0.4240.22/ and uploaded it into the folder, but still get the error [19:58:58] new, bigger error message/traceback: https://pastebin.com/9XFz5YWy [20:06:21] madmelone, that's a good error. Now you need to make sure the driver is somewhere your script can find it [20:06:46] Yeah, but it is in the very same directory... [20:06:56] again: this is all new for me [20:07:45] madmelone, I'm not sure what your init for the driver looks like, but try setting the explicit path there [20:08:01] Something like webdriver.Chrome(executable_path='/path/to/chromedriver') [20:08:57] you can also add chromedriver to PATH or link it/copy it somewhere that is in path. [20:09:14] tried this, but didn't seem to have the right PATH [20:10:44] if you specify the path it should find it.. or at least I imagine change the traceback :-) [20:11:00] if it's blank, it will check the system PATH [20:12:20] if it's in the same directory though, python adds the current directory to PATH on invocation, so it should work without specifying I would think [20:13:20] I would also make sure chromedriver is executable [20:13:21] ok, I think I will try to work with something like os.path.dirname(os.path.abspath(__file__)) [20:14:26] doesn't work either :( [20:14:49] Thank you so much for trying to help, but I will call it a day now and take a fresh approach tomorrow [20:14:57] Greatly appreciate the support [20:15:02] Take care! [20:15:07] madmelone, if it's giving you trouble, you can always try a packaged solution: https://pypi.org/project/webdriver-manager/ [20:15:15] or install the packaged apt version [20:15:24] madmelone, you are most welcome! [20:45:50] arturo, mutante here's the task: https://phabricator.wikimedia.org/T266710 [21:58:14] !log tools set 'mount_nfs: false' on the tools-k8s-ingress prefix T266506 [21:58:18] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [21:58:18] T266506: Getting "502 Bad Gateway" on Toolforge tools ordia and scholia - https://phabricator.wikimedia.org/T266506 [22:10:27] !log tools launching tools-k8s-ingress-3 to try and get an NFS-free node T266506 [22:10:31] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [22:10:31] T266506: Getting "502 Bad Gateway" on Toolforge tools ordia and scholia - https://phabricator.wikimedia.org/T266506 [23:42:03] !log tools dramatically elevated the egress cap on tools-k8s-ingress nodes that were affected by the NFS settings T266506 [23:42:09] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [23:42:09] T266506: Getting "502 Bad Gateway" on Toolforge tools ordia and scholia - https://phabricator.wikimedia.org/T266506