This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
cephlonaccess [2025/05/27 15:42] akraitman |
cephlonaccess [2025/11/16 14:55] (current) akraitman [Cephlon] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Cephlon ====== | ====== Cephlon ====== | ||
| + | |||
| + | **__For now this tool can only be used in the downstream tucson lab__** (We are working in making it available in the upstream lab) | ||
| + | |||
| + | |||
| ===== Requesting Access ===== | ===== Requesting Access ===== | ||
| Requesting access to cephlon: | Requesting access to cephlon: | ||
| - | - Request a new snipe-it user and password**. | + | - Request a new snipe-it user and password**. **write down your desired username, e-mail address and public ssh key** |
| - [[https://tracker.ceph.com/projects/internal_lab/issues/new|File a ticket]]. ** | - [[https://tracker.ceph.com/projects/internal_lab/issues/new|File a ticket]]. ** | ||
| - After receiving your Snipe-IT user and password login to the Snipe-IT tool[[http://ceph25.ceph.tuc.ibm.com/|Snipe-IT]]. | - After receiving your Snipe-IT user and password login to the Snipe-IT tool[[http://ceph25.ceph.tuc.ibm.com/|Snipe-IT]]. | ||
| Line 13: | Line 17: | ||
| {{:snipe-it2.png|}} | {{:snipe-it2.png|}} | ||
| - | - Clone the cephlon repo locally and git checkout to the wip-cephlon branch [[https://github.ibm.com/ceph/Cephlon/tree/wip-cephlon|Cephlon]]. | + | - Clone the [[https://github.ibm.com/ceph/Cephlon/tree/main|cephlon]] repo to your workstation. |
| - | - Run the ./bootstrap script | + | - '' cd cephlon'' |
| - | - Create a .config file or rename the .config.template to .config and place your snipe-it api key in the .config file along with the snipe-it url(you can find it in your tracker ticket) | + | - '' docker build -t cephlon .'' |
| + | - In the same directory, create a ''.config'' file or ''cp configs/.config.template .config'' and replace ''<your snipe-it api token>'' with your API token. | ||
| <code> | <code> | ||
| [api] | [api] | ||
| - | url = XXXXXXXXXXXXX | + | url = http://ceph25.ceph.tuc.ibm.com/api/v1/hardware |
| - | access_token = XXXXXXXXXXXXXXXX | + | access_token = <your snipe-it api token> |
| </code> | </code> | ||
| - | And now you can start using cephlon | + | Test that everything is configured correctly by running ''./cephlon status'' |
| **For more information on how to use cephlon you can checkout the readme file in the cephlon repo** | **For more information on how to use cephlon you can checkout the readme file in the cephlon repo** | ||