We experienced a problem with Octopus roles due to case sensitivity. Apparently someone had added an existing role name to new machine, but forcefully recreated the same name using an upper-cased first letter (instead of just selecting the auto complete popup name). So we ended up with the following scenario:
Machine1: my-role
Machine2=My-role
After ‘My-role’ was added to Machine2, a project that had ‘my-role’ set in the Variables could no longer see the “my-role” name. It appeared blank in the Scope setting.
Also note, after the name ‘My-role’ was created, it was the only option available in the list of names offered in the auto complete selection.
To clear the problem, we had to manually delete the ‘My-role’ setting on Machine2, then forcefully recreate it as ‘my-role’ (Note that ‘My-role’ was still popping up as the auto complete option). Afterwards, the original ‘my-role’ value could suddenly be viewed again in the project variable Scope setting.
Thanks