When creating an access key to add the server as a client to itself
And running the script output on the Netmaker client/server - the client install script attempts fails on:
Error installing: rpc error: code = Unknown desc = Key: 'Node.MacAddress' Error:Field validation for 'MacAddress' failed on the 'macaddress_unique' tag
This could be either due to failed cleanup install failure on the previous run; Where the cleanup occurs locally, but the mac address and initial connection attempt is not cleaned from the database?
or possibly the client just recognizing the servers mac address as its own, and does not liek
-- I re-ran it again, (I think I cleaned everything up before I did), and it failed with the doubled up macs again. So this does seem to be the server and client both claiming the same mac address? I could be wrong.
Note: I also deleted the key from the UI as well, before I created a new one for testing.
I ran into the following issue.
Because I manually edited /etc/netmaker/config/environments/dev.yaml to include the WAN IP address of the netmaker
server, the server/client was no longer set as localhost in the access key creation base64 encoded output
so I decoded it, removed the "localNetwork" designation from the end, and changed the wan IP address to localhost:127.0.0.1, I tried both separately, re-encoded it and used it as the key in sudo curl netclient install command.
This failed on the dual mac issue both attempts as well.
I'm going to put this as closed since we have changed the server client model since this was written, and the netmaker client is now automagically managed inside the container.
When creating an access key to add the server as a client to itself And running the script output on the Netmaker client/server - the client install script attempts fails on:
Error installing: rpc error: code = Unknown desc = Key: 'Node.MacAddress' Error:Field validation for 'MacAddress' failed on the 'macaddress_unique' tag
This could be either due to failed cleanup install failure on the previous run; Where the cleanup occurs locally, but the mac address and initial connection attempt is not cleaned from the database?
or possibly the client just recognizing the servers mac address as its own, and does not liek
-- I re-ran it again, (I think I cleaned everything up before I did), and it failed with the doubled up macs again. So this does seem to be the server and client both claiming the same mac address? I could be wrong.
Note: I also deleted the key from the UI as well, before I created a new one for testing. I ran into the following issue.
so I decoded it, removed the "localNetwork" designation from the end, and changed the wan IP address to localhost:127.0.0.1, I tried both separately, re-encoded it and used it as the key in sudo curl netclient install command. This failed on the dual mac issue both attempts as well.