Issues
Issues copied to clipboard
Downloading telemetry preview will generate warnings in the log if another user exists with a private space
Team
- [X] I've assigned a team label to this issue
Severity
Not blocking but can cause confusion in the logs
Version
Latest
Latest Version
I could reproduce the problem in the latest build
What happened?
You can download a preview of the telemetry at Configuration -> Telemetry -> Download Preview
. This will cause warnings if any users exist with their own private spaces as the current user won't have access to those spaces.
Reproduction
Requires a version which creates private spaces for new users (master
should work).
- Create an instance
- Create a user
- Download telemetry preview
Error and Stacktrace
No response
More Information
Internal slack thread: https://octopusdeploy.slack.com/archives/CNHBHV2BX/p1652678952393799
Workaround
No response
This issue is not caused by or limited to private spaces, the same warnings appear whenever there's a space that the user downloading the telemetry preview is not able to access.
To reproduce:
- Create a user
- Create a space
- Assign the new user to be the space manager for the new space
- Download telemetry logs
To be able to do this in local development, you'll likely need to increase the limit on the number of spaces allowed. Insert the following at line 928 of LicenseKey.cs:
SpaceLimit = SpacesLicenseLimit.Unlimited,
To rule out the new user's private space being the cause of the warnings, apply the change from the branch that excludes Private Spaces from the telemetry preview (which will not be merged).