ReleaseEngineering/Mozpool: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 60: Line 60:


At the BMM and Lifeguard levels, each imaging server is responsible for the pandas in its rack, as assigned in inventory.  At the Mozpool level, each imaging server is responsible for all requests that were initiated locally.  Mozpool uses HTTP to communicate with Lifeguard on other imaging servers when it needs to reserve a non-local device.
At the BMM and Lifeguard levels, each imaging server is responsible for the pandas in its rack, as assigned in inventory.  At the Mozpool level, each imaging server is responsible for all requests that were initiated locally.  Mozpool uses HTTP to communicate with Lifeguard on other imaging servers when it needs to reserve a non-local device.
= Mozpool Client =
In Release Engineering we use the mozpool client to talk with the Mozpool servers to request panda boards.
To do this we install the python package inside of a virtual environment.
The package is stored in here:
http://puppetagain.pub.build.mozilla.org/data/python/packages
To create a new one checkout mozpool and do the following:
<pre>
cd mozpoolclient
python setup.py sdist
scp dist/mozpoolclient-0.1.0.tar.gz `whoami`@releng-puppet1.srv.releng.scl3.mozilla.com:~
# as root on releng-puppet1
cd /data/python/packages/ && mv /tmp/mozpoolclient-0.1.0.tar.gz . && chown puppetagainsync mozpoolclient-0.1.0.tar.gz && chgrp puppetagainsync mozpoolclient-0.1.0.tar.gz && chmod 644 mozpoolclient-0.1.0.tar.gz
</pre>
Confirmed users
3,990

edits

Navigation menu