Customer confusion about duplicate storage path warning
A customer got confused by the message we print when several storage names point to the same path:
One or more Gitaly storages are accessible by multiple filesystem paths: /var/opt/gitlab/git-data/repositories: gitaly-node-a, gitaly-node-b
They had the following configuration:
gitaly['configuration'] = {
listen_addr: '0.0.0.0:8075',
prometheus_listen_addr: '0.0.0.0:9236',
auth: {
token: '************',
},
storage: [
{
name: 'gitaly-node-a',
path: '/var/opt/gitlab/git-data/repositories',
},
{
name: 'gitaly-node-b',
path: '/var/opt/gitlab/git-data/repositories',
},
],
}
In their opinion, the error message is confusing because the same path is used for multiple storage names, not the other way around.