Okay, I'm taking Groovy as an example first.. after installing.. I had:
/etc/nvme/hostid and /etc/nvme/hostnqn correctly generated. After removing nvme package, I had:
dpkg: warning: while removing nvme-cli, directory '/usr/lib/systemd/system' not empty so not removed
dpkg: warning: while removing nvme-cli, directory '/etc/nvme' not empty so not removed
which is a good sign, it kept my local uuid and nqn:
Okay, I'm taking Groovy as an example first.. after installing.. I had:
/etc/nvme/hostid and /etc/nvme/hostnqn correctly generated. After removing nvme package, I had:
dpkg: warning: while removing nvme-cli, directory '/usr/lib/ systemd/ system' not empty so not removed
dpkg: warning: while removing nvme-cli, directory '/etc/nvme' not empty so not removed
which is a good sign, it kept my local uuid and nqn:
[rafaeldtinoco@ groovy ~]$ cat /etc/nvme/host* 0dae-4dd1- 8dc5-b3f490658e 3a 08.org. nvmexpress: uuid:a1e6adf3- 9213-4929- 833a-ce44226e74 e4
5e430ded-
nqn.2014-
Installing package again and contents are the same... remove it and wipe those files.. I got new files:
[rafaeldtinoco@ groovy ~]$ cat /etc/nvme/host* 5a5d-4dc9- 9dde-698c166af6 22 08.org. nvmexpress: uuid:5d6e5dc5- 1799-4cc5- b116-c710dca399 c7
d76c6ba9-
nqn.2014-
So I believe this is the correct behavior and it is fine not to worry about existing hostid uuids in Groovy as it is our -devel release.
Going to Focal now...