** Changed in: nvme-cli (Debian)
Status: Unknown => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867366
Title:
hostnqn fails to automatically generate after installing nvme-cli
This bug was fixed in the package nvme-cli - 1.5-1ubuntu1.1
---
nvme-cli (1.5-1ubuntu1.1) bionic; urgency=medium
* d/control, d/nvme-cli.postinst:
- add uuid-dev build dep so 'gen-hostnqn' command works
- add uuid-runtime dep as postinst calls uuidgen
- generate /etc/nvm
** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867366
Title:
hostnqn fails t
root@lp1867366-b:~# dpkg -l|grep nvme-cli
ii nvme-cli 1.5-1ubuntu1amd64
userspace tooling to control NVMe drives
root@lp1867366-b:~# cat /etc/nvme/hostnqn
cat: /etc/nvme/hostnqn: No such file or directory
root@lp1867366-b:~# nvme gen-hostnqn
Hello Jennifer, or anyone else affected,
Accepted nvme-cli into bionic-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/nvme-
cli/1.5-1ubuntu1.1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
http
This bug was fixed in the package nvme-cli - 1.9-1ubuntu0.1
---
nvme-cli (1.9-1ubuntu0.1) focal; urgency=medium
* d/control, d/rules, d/nvme-cli.postinst, d/nvme-cli.maintscript:
- wrap-and-sort -ast
- add uuid-dev build dep so 'gen-hostnqn' command works
- add uuid-runt
focal, with modified /etc/nvme/hostid but not modified hostnqn:
root@lp1867366-f:~# dpkg -l | grep nvme-cli
ii nvme-cli 1.9-1 amd64
userspace tooling to control NVMe drives
root@lp1867366-f:~# grep . /etc/nvme/host*
/etc/nvme/hostid:I'm
focal, with modified /etc/nvme/hostnqn but not modified hostid:
root@lp1867366-f:~# dpkg -l | grep nvme-cli
ii nvme-cli 1.9-1 amd64
userspace tooling to control NVMe drives
root@lp1867366-f:~# grep . /etc/nvme/host*
/etc/nvme/hostid:9ce7
focal, with both hostid and hostnqn modified:
root@lp1867366-f:~# dpkg -l | grep nvme-cli
ii nvme-cli 1.9-1 amd64
userspace tooling to control NVMe drives
root@lp1867366-f:~# grep . /etc/nvme/host*
/etc/nvme/hostid:I'm a modified hostid
focal, upgrade without modified /etc/nvme/host*:
root@lp1867366-f:~# dpkg -l | grep nvme-cli
ii nvme-cli 1.9-1 amd64
userspace tooling to control NVMe drives
root@lp1867366-f:~# grep . /etc/nvme/host*
/etc/nvme/hostid:9ce77162-5a3e-439b-
focal, verification for 'gen-hostnqn':
root@lp1867366-f:~# dpkg -l | grep nvme-cli
ii nvme-cli 1.9-1 amd64
userspace tooling to control NVMe drives
root@lp1867366-f:~# nvme gen-hostnqn
"gen-hostnqn" not supported. Install lib uuid and r
focal, fresh install:
root@lp1867366-f:~# dpkg -l nvme-cli
dpkg-query: no packages found matching nvme-cli
root@lp1867366-f:~# grep . /etc/nvme/*
grep: /etc/nvme/*: No such file or directory
root@lp1867366-f:~# apt install nvme-cli
Reading package lists... Done
Building dependency tree
Read
Hello Jennifer, or anyone else affected,
Accepted nvme-cli into focal-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/nvme-
cli/1.9-1ubuntu0.1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https
Sorry for the delay here @ddstreet. +1 on your comments ^ =). Cheers o/
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867366
Title:
hostnqn fails to automatically generate after installing nvme-cli
ok, new uploads in the b/f queues
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867366
Title:
hostnqn fails to automatically generate after installing nvme-cli
To manage notifications about this b
** Description changed:
[impact]
"nvme gen-hostnqn" does not work, leading to no content in
/etc/nvme/hostnqn
[test case]
ddstreet@thorin:~$ cat /etc/nvme/hostnqn
ddstreet@thorin:~$ nvme gen-hostnqn
"gen-hostnqn" not supported. Install lib uuid and rebuild.
[regressi
Thanks for the review and analysis!
> > Assumption:
> - If no hostnqn is given, then there is no way a fabric was configured, and
> you're
> safe to delete both files.
>
> Logic:
> - check if hostnqn is set in /etc/nvme/hostnqn, if yes warn user hostid can be
> duplicated
> - if not, check if h
** Changed in: nvme-cli (Ubuntu Focal)
Status: Incomplete => Confirmed
** Changed in: nvme-cli (Ubuntu Bionic)
Status: In Progress => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/b
Oops there is something else.. hostnqn *could* come from kernel (from
nvme-connect Documentation):
--hostnqn=::
Overrides the default Host NQN that identifies the NVMe Host.
If this option is not specified, the default is read from
/etc/nvme/hostnqn first. If that does not exist, the a
Yeah, makes sense. I would say to try to follow the iscsi iqn behavior,
good idea!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867366
Title:
hostnqn fails to automatically generate after install
As long as all policies from:
https://www.debian.org/doc/debian-policy/ch-files.html#configuration-
files
and other packaging guidelines are kept, there should be no issues.
But, the intent here is something else in my understanding: to avoid
breakage so the SRU is accepted by the SRU team. Let'
Rafael, would it be wrong to simply take any existing files and save
them with an .bak extension? That way if the user really wanted their
old ID they could go get it back?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.
Okay, checking focal source code..
config::hostid seems to used at:
build_options() <- generic function setting variables
connect_ctrl() <- function connecting to NVMEoF controller
connect() <- function to to connect to NVMEoF
discover() <- same thing
nvmf_hostid_file() <- function reading config
Let's say someone created a hostnqn by hand and kept the same hard-coded
uuid. This upgrade would brake this scenario.
+if [ "$2" = "1.9-1" ]; then
+# the hostid was hardcoded into the binary package, so if the
+# local file matches the 1.9-1 version hardcoded value,
+#
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 removi
Lemme review this...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867366
Title:
hostnqn fails to automatically generate after installing nvme-cli
To manage notifications about this bug go to:
htt
Setting to Incomplete while we wait for feedback from Rafael.
** Changed in: nvme-cli (Ubuntu Focal)
Status: In Progress => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867366
Tit
@rafaeldtinoco if you have a minute could you review the upload for this for
focal? specifically, because the 1.9-1 package version included hardcoded
(generated at build time) uuid in /etc/nvme/hostid, i added code in the
postinst to replace that value with a install-time generated uuid (so it'
** Description changed:
[impact]
"nvme gen-hostnqn" does not work, leading to no content in
/etc/nvme/hostnqn
[test case]
ddstreet@thorin:~$ cat /etc/nvme/hostnqn
ddstreet@thorin:~$ nvme gen-hostnqn
"gen-hostnqn" not supported. Install lib uuid and rebuild.
[regressi
This bug was fixed in the package nvme-cli - 1.12-1ubuntu1
---
nvme-cli (1.12-1ubuntu1) groovy; urgency=medium
* d/compat, d/control:
- bump debhelper-compat to 13
* d/control:
- add uuid-dev dep so 'gen-hostnqn' command works
- remove unneeded build deps
- add uui
** Description changed:
[impact]
"nvme gen-hostnqn" does not work, leading to no content in
/etc/nvme/hostnqn
[test case]
ddstreet@thorin:~$ cat /etc/nvme/hostnqn
ddstreet@thorin:~$ nvme gen-hostnqn
"gen-hostnqn" not supported. Install lib uuid and rebuild.
[regressi
Thanks https://www.unciatrails.com/tour/yulla-kanda-trek/
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867366
Title:
hostnqn fails to automatically generate after installing nvme-cli
To manage no
** Description changed:
[impact]
"nvme gen-hostnqn" does not work, leading to no content in
/etc/nvme/hostnqn
[test case]
ddstreet@thorin:~$ cat /etc/nvme/hostnqn
ddstreet@thorin:~$ nvme gen-hostnqn
"gen-hostnqn" not supported. Install lib uuid and rebuild.
[regressi
** Description changed:
+ [impact]
+
+ "nvme gen-hostnqn" does not work, leading to no content in
+ /etc/nvme/hostnqn
+
+ [test case]
+
+ ddstreet@thorin:~$ cat /etc/nvme/hostnqn
+
+ ddstreet@thorin:~$ nvme gen-hostnqn
+ "gen-hostnqn" not supported. Install lib uuid and rebuild.
+
+ [regressi
** Changed in: nvme-cli (Ubuntu Groovy)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867366
Title:
hostnqn fails to automatically generate after installing nvme-cli
** Also affects: nvme-cli (Ubuntu Groovy)
Importance: Undecided
Status: Confirmed
** Also affects: nvme-cli (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: nvme-cli (Ubuntu Bionic)
Importance: Undecided
Status: New
** Changed in: nvme-cli (Ubuntu F
I am still seeing this with Ubuntu 20.04 LTS
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867366
Title:
hostnqn fails to automatically generate after installing nvme-cli
To manage notifications a
Any update on this?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867366
Title:
hostnqn fails to automatically generate after installing nvme-cli
To manage notifications about this bug go to:
http
Has anyone had a chance to look at this?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867366
Title:
hostnqn fails to automatically generate after installing nvme-cli
To manage notifications about
Has anyone had a chance to look at this?
** Changed in: nvme-cli (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867366
Title:
hostnqn fails to automatically
40 matches
Mail list logo