[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2021-03-01 Thread Bug Watch Updater
** 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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-11-23 Thread Launchpad Bug Tracker
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-11-18 Thread Dan Streetman
** 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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-11-18 Thread Dan Streetman
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-11-10 Thread Brian Murray
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-22 Thread Launchpad Bug Tracker
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-18 Thread Dan Streetman
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-18 Thread Dan Streetman
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*

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-18 Thread Dan Streetman
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-18 Thread Dan Streetman
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*

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-18 Thread Dan Streetman
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-18 Thread Dan Streetman
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-08 Thread Brian Murray
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-08 Thread Rafael David Tinoco
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-06 Thread Dan Streetman
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-04 Thread Dan Streetman
** 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.

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-04 Thread Dan Streetman
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-02 Thread Rafael David Tinoco
** 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.

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-02 Thread Rafael David Tinoco
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-02 Thread Matt Schulte
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-02 Thread Rafael David Tinoco
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.

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-02 Thread Matt Schulte
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.

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-02 Thread Rafael David Tinoco
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-02 Thread Rafael David Tinoco
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, +

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-02 Thread Rafael David Tinoco
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-02 Thread Rafael David Tinoco
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:

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-01 Thread Brian Murray
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-01 Thread Dan Streetman
@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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-09-01 Thread Dan Streetman
** 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.

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-08-31 Thread Launchpad Bug Tracker
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-08-31 Thread Dan Streetman
** 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.

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-08-29 Thread gurubawa
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-08-28 Thread Dan Streetman
** 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.

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-08-28 Thread Dan Streetman
** 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. + +

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-08-28 Thread Dan Streetman
** 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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-08-28 Thread Dan Streetman
** 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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-05-20 Thread Jennifer Duong
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-04-22 Thread Jennifer Duong
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:

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-04-08 Thread Jennifer Duong
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

[Bug 1867366] Re: hostnqn fails to automatically generate after installing nvme-cli

2020-03-24 Thread Jennifer Duong
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