NSLS-II-FMX / profile_collection

IPython profile configuration - Collection
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Deployment 2021-1.0 checklist #10

Open mrakitin opened 3 years ago

mrakitin commented 3 years ago

Current collection workstations

xf17id1-ws1  # interchangeable machine (can be used for DAMA tests if needed)
xf17id1-ws4  # interchangeable machine (can be used for DAMA tests if needed)
xf17id1-ws5  # interchangeable machine (can be used for DAMA tests if needed)
xf17id1-ca1  # collection server serving Jupyter notebooks, running via manage-ioc

Previsit

Housekeeping

Test deployment

Finish

mrakitin commented 3 years ago
...@xf17id1-ca1:~$ cat /usr/share/jupyter/kernels/collection-2021-1.0/kernel.json
{
  "argv": [
    "/opt/conda_envs/collection-2021-1.0/bin/python",
    "-m",
    "ipykernel",
    "-f",
    "{connection_file}",
    "--profile=collection",
    "--log-level=DEBUG"
  ],
  "display_name": "Data Collection (2021-1.0)"
}
mrakitin commented 3 years ago

Syncs:

mrakitin commented 3 years ago

@mfuchsbnl, @danielballan, I do not know what was going on at the beamline, but I was able to run the scan with the latest kernel with the collection-2021-1.0 conda environment: image

Please note, I created a separate kernel so that it does not interfere with the production kernels, and used a PR branch named deploy-2021-1.0 from #12 for my tests.

Is it something to do with the browser on the beamline? Can you try Google Chrome or a newer version of Firefox?

mrakitin commented 3 years ago
(/opt/conda_envs/collection-2021-1.0) mrakitin@xf17id1-ca1:~$ jupyter kernelspec list
Available kernels:
  python3                         /opt/conda_envs/collection-2021-1.0/share/jupyter/kernels/python3
  collection-17q2.0               /usr/share/jupyter/kernels/collection-17Q2.0
  collection-17q3.0               /usr/share/jupyter/kernels/collection-17Q3.0
  collection-2019-2.0             /usr/share/jupyter/kernels/collection-2019-2.0
  collection-2019-3.0             /usr/share/jupyter/kernels/collection-2019-3.0
  collection-2020-2.0rc8          /usr/share/jupyter/kernels/collection-2020-2.0rc8
  collection-2021-1.0             /usr/share/jupyter/kernels/collection-2021-1.0
  collection-2021-1.0-mrakitin    /usr/share/jupyter/kernels/collection-2021-1.0-mrakitin
mrakitin commented 3 years ago

That was successful with collection-2020-2.0rc8 too: image