Skip to content
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

Up2023.10 #174

Merged
merged 9 commits into from
Nov 17, 2023
Merged

Up2023.10 #174

merged 9 commits into from
Nov 17, 2023

Conversation

montjoie
Copy link
Collaborator

@montjoie montjoie commented Nov 8, 2023

Upgrade to 2023.10 and add some security by closing some unnecessary ports

If no master exists, lavalab-gen.py fail, so found the right master.
ser2net could be on a different host than where lava-worker ran.
So add a worker: option to permit to specify where it is.

Signed-off-by: Corentin LABBE <[email protected]>
The migration bug is handled only when upgrading to 2023.06.
But some users will migrate also to 2023.08/2023.10, let's handle this.

Signed-off-by: Corentin LABBE <[email protected]>
Permit the device-type loop to be faster by caching the device-type
list.
This also remove a crash when the call is inside the loop.
I dont find the reason of this crash, but it works now.

Signed-off-by: Corentin LABBE <[email protected]>
Since LAVA does not use zmq, lot of ports are now unnecessary to export.

Signed-off-by: Corentin LABBE <[email protected]>
If lava-docker is used with an apache in proxy mode, permit to restrict
it on a specific address (like localhost)

Signed-off-by: Corentin LABBE <[email protected]>
Signed-off-by: Corentin LABBE <[email protected]>
Copy link
Contributor

@patersonc patersonc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you montjoie!

@@ -344,6 +344,7 @@ boards:
devpath: the UDEV devpath to this uart for UART without serial number
interfacenum: (optional) The interfacenumber of the serial. (Used with two serial in one device)
use_ser2net: True/False (Deprecated, ser2net is the default uart handler)
worker: (optional) an host/IP where ser2net is running
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this be better as ser2net_worker as it's specifically for ser2net, like the other variables below?

Obviously lavalab-gen.py would need updating accordingly.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could be used for other purpose, with labgrid ser2net will be not used, but this information remains the same.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah okay :)

@montjoie montjoie merged commit 43c0a61 into kernelci:master Nov 17, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants