-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment 2021-1.0 checklist #18
Comments
@mrakitin I ran my acceptance tests at the beamline. Overall, there is nothing major and I think we can switch to this deployment. If you go into that branch, you will see one change in 90-user, which is simply changing the user cycle. Can be committed or skipped. I did not test databroker v2. However, I do have a few comments:
|
@andrewmkiss As far as I remember, we didn't complete work related to loading data from nanostage because start document did not contain sufficient metadata. As far as I remember, in current implementation the 'slow' axis is always vertical and 'fast' axis is always horizontal. Also, position data is not loaded if one of the scan axes is Z, so maps could be plotted only in pixels coordinates. Also PyXRF will now load data only from 3 detector channels. It can work with arbitrary number of channels, but there is some work that needs to be done. We may also need additional metadata that will allow to consistently identify the number of detector channels. Also I would like to mention that the sum is also computed using data from only 3 channels, we need to implement support for more detectors in order to be able to use them. |
Thanks for the tests, @andrewmkiss. Please commit & push that change.
I think it can be disabled, we need to experiment how to do that. I've created an issue: NSLS-II/nslsii#115.
Can you point me to the code? I guess the failure is legitimate due to the PVs are non-writable at that time. I guess it will fail too with the older conda env, so it's not directly relevant to the deployment process. Please create an issue in this repo, so we can spend some development/debugging time later this cycle.
Yes, I think the unused ROIs can be disabled. What does for i, cpt in enumerate(xs.channel1.rois.component_names):
if i < 3:
getattr(xs.channel1.rois, cpt).kind = 'normal'
else:
getattr(xs.channel1.rois, cpt).kind = 'omitted' (repeat the same for all channels) |
@andrewmkiss, did my reply answer your questions? |
I'll look at this right now. I got distracted with other work. |
@mrakitin Okay, so changes were pushed to deploy-2021-1.0. With the ROIs, the code was actually in there, but would only be applied if TOUCHBEAMLINE == 1. I have changed it so these will be applied whether or not TOUCHBEAMLINE is 1. **TOUCHBEAMLINE variable was setup so that multiple instances of bluesky could be opened without affecting each other. Basically, we needed bluesky open on a separate machine to get Merlin image data because it had the correct handler configured. I'll create an issue for the energy/undulator issue. |
#25 Undulator Fly-scanning issue created here. |
@andrewmkiss, thanks for the update. I don't see the aforementioned commit in https://github.com/NSLS-II-SRX/profile_collection/pull/24/commits. If I read it right, the changes were pushed to the branch which has already been merged into master and deleted from GitHub, and then recreated from a local push. I will create a new PR, so that we merge it to |
@mrakitin Okay, I pushed my latest changes to github. I tagged it as described above. When I click on the playbooks link, I get an error for page not found. Also @mrakitin I saw a step in there with ensible. can you deploy the collection-2021-1.0 profile to xf05id1-ws4? This is our backup data collection computer. |
Thanks, @andrewmkiss! This is done. The new collection conda environment is also om ws4 now. |
Previsit
profile_collection
bsui
remotely (does it touch any hardware?) - usegit grep .put
orgit grep caput
current_env_tag
in theproduction
fileHousekeeping
Update conda
Add BL staff to the BL GitHub organization as owners
Work with BL staff to commit any un-committed changes to their profiles
Tag the profile as-found as 2020C2.1
Enter a message such as
Before 2021C1.0 deployment.
Discuss with BL staff which conda envs they want to keep/delete and perform the cleanup
Check/update the beamline's inventory with the BL staff (in https://github.com/NSLS-II/playbooks/blob/master/production)
In
~/.bashrc
, if necessary, update the logging environment variables to use directory/var/log/bluesky/...
and addumask 0002
.and (if needed) create that directory with the following permissions and ownership:
Remember to
source ~/.bashrc
.Remove explicit setting of ophyd logging level from the first startup script
Double-check that if there is an open PR removing handlers, it is merged (and tested).
Migrate databroker handlers #9 needs a rebase.
Update vendored copy of
PersistentDict
to bug-fixed version (see the updated gist snippet: https://gist.github.com/jklynch/a4366b8900ec0c03883403455ae711b2).Make sure all repos have the BSD-3-Clause licenses (see Add a BSD-3-Clause license #16 as an example)
Test deployment
BS_ENV=collection-2021-1.0 bsui
Finish
Tag the updated profile as
2021C1.0
Enter a message such as
After 2021C1.0 deployment.
Open and merge a PR against https://github.com/NSLS-II/playbooks setting
current_env_tag="2021-1.0"
for the SRX beamlineUpdate BSUI via ansible to use the new environment (http://nsls-ii.github.io/deployment/upgrading-beamlines.html#change-bsui-s-default-environment)
The text was updated successfully, but these errors were encountered: