Commit Graph

241 Commits

Author SHA256 Message Date
Daniel Wagner
8f525d5de8 Accepting request 997603 from home:dirkmueller:Factory
- Update to version 2.1.2:
  * build: Update version to v2.1.2
  * wrapper: Update SPDIX license
  * wrapper: Call library version of nvme_init_copy_range_f1
  * Revert "udev: re-read the discovery log page when a discovery controller reconnected"
  * nvme: Simplify ns list identify
  * meson: we don't need a c++ compiler
  * plugins/ocp: drop unused fd argument
  * plugins/wdc: remove fd argument from print functions
  * plugins/wdc: fix memset() on the address of a pointer
  * plugins/solidigm: fix return value on format parse failure
  * plugins/wdc: prevent duplicate close on NVMe device

OBS-URL: https://build.opensuse.org/request/show/997603
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=124
2022-08-18 06:15:18 +00:00
Dominique Leuenberger
9ae0c0cb5a Accepting request 992569 from Base:System
OBS-URL: https://build.opensuse.org/request/show/992569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=58
2022-08-04 11:22:57 +00:00
Dominique Leuenberger
8067912c17 Accepting request 992569 from Base:System
OBS-URL: https://build.opensuse.org/request/show/992569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=58
2022-08-04 11:22:57 +00:00
Daniel Wagner
50aff5fca5 Accepting request 992470 from home:dirkmueller:Factory
- Update to version 2.1.1:
  * build: Update version to v2.1.1
  * build: Extend release script to support micro version releases
  * build: Add minimum build requirement on libnvme
  * wrapper: Add weak nvme_init_copy_range_f1 symbol
  * build: Update version before regenerating docs
  * build: Update release version rules

OBS-URL: https://build.opensuse.org/request/show/992470
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=122
2022-08-03 12:09:11 +00:00
Daniel Wagner
9bde1e4f0e Accepting request 992455 from home:wagi:branches:Base:System
- Update to version v2.1:
  * nvme: Do not print error message in collect_effects_log helper
  * fabrics: Remove dhchap-ctrl-secret from discover/connect-all
  * nvme-print: sanitize the get-feature async event config output
  * nvme: Set default rae value for nvme_get_nsid_log users
  * fabrics: Avoid nvme_scan_ctrl when disconnecting
  * print: Fix nvme_id_uuid_list

OBS-URL: https://build.opensuse.org/request/show/992455
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=121
2022-08-03 07:18:34 +00:00
Richard Brown
288626c73e Accepting request 989206 from Base:System
OBS-URL: https://build.opensuse.org/request/show/989206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=57
2022-07-21 09:32:42 +00:00
Richard Brown
2a76cc951d Accepting request 989206 from Base:System
OBS-URL: https://build.opensuse.org/request/show/989206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=57
2022-07-21 09:32:42 +00:00
Daniel Wagner
b2f39917d8 Accepting request 989205 from home:wagi:branches:Base:System
- Update to version v2.1~rc0:
  * build and install fixes/improvements
  * documentation fixes
  * version reporting includes library version
  * various fixes reported by coverity
  * new solidigm plugin

OBS-URL: https://build.opensuse.org/request/show/989205
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=119
2022-07-14 15:26:11 +00:00
Dominique Leuenberger
47d67484a4 Accepting request 967890 from Base:System
OBS-URL: https://build.opensuse.org/request/show/967890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=56
2022-04-10 17:05:27 +00:00
Dominique Leuenberger
fa28c26323 Accepting request 967890 from Base:System
OBS-URL: https://build.opensuse.org/request/show/967890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=56
2022-04-10 17:05:27 +00:00
Daniel Wagner
1fef01231f Accepting request 967888 from home:wagi:branches:Base:System
- Update to version 2.0:
  * fabrics: Create persistent controller using unique subsystem NQN (bsc#1198243)
  * fabrics: Set KATO for discovery controller when connecting
  * fabrics: Do no modify default config for discovery controller
  * fabrics: Set default trsvcid ports for TCP and RDMA (bsc#1195858)
  * fabrics: Support connect even when no /etc/nvme/hostnqn file exists
  * nvme: update to nvme_scan_filter_t modifications (bsc#1195938)
  * plugins/intel: make 'buckets' a json array
  * plugins: Update WDC capabilities command with new commmands
  * plugins: Add OCP plugin

OBS-URL: https://build.opensuse.org/request/show/967888
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=117
2022-04-08 17:21:07 +00:00
Dominique Leuenberger
664724d3a2 Accepting request 966438 from Base:System
OBS-URL: https://build.opensuse.org/request/show/966438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=55
2022-04-03 19:30:41 +00:00
Dominique Leuenberger
08e8cd1fec Accepting request 966438 from Base:System
OBS-URL: https://build.opensuse.org/request/show/966438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=55
2022-04-03 19:30:41 +00:00
Daniel Wagner
de67f7792f Accepting request 966436 from home:wagi:branches:Base:System
- Update to version 2.0-rc8:
  * fabrics: Add DIM command
  * fabrics: Introduce force flag to overwrite persistence logic (bsc#1197076)
  * fabrics: Free non-matching controller during discovery
  * fabrics: add 'nvme config' command
  * fabrics: Correctly stringify discovery.conf and config.json paths
  * nvme-print: Add human readable print for nsattr field
  * nvme-print: Update Persistent Event log fields
  * nvme-print: print discovery async event support
  * nvme-rpmb: Fix spelling for 'Partition'
  * nvme-copy: add missing field to the command
  * nvme: add get_mi_cmd_support_effects_log command
  * nvme: Fixup namespace filtering yet again
  * nvme: Use type bool for OPT_FLAG
  * nvme: use filter for 'list-subsys <devname>' (bsc#1195938)
  * Add lbstm option to create-ns
  * argconfig: Do not use default value loading by getopt_long_only
  * argconfig: Rename CFG_NONE to CFG_FLAG
  * plugins: Use type bool for OPT_FLAG
  * documenation updates
- Drop 'ProtectKernelTunables=true' (bsc#1197076)

OBS-URL: https://build.opensuse.org/request/show/966436
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=115
2022-04-01 13:44:43 +00:00
Dominique Leuenberger
46d00ea3e2 Accepting request 963968 from Base:System
OBS-URL: https://build.opensuse.org/request/show/963968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=54
2022-03-24 21:56:54 +00:00
Dominique Leuenberger
edad0a38d4 Accepting request 963968 from Base:System
OBS-URL: https://build.opensuse.org/request/show/963968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=54
2022-03-24 21:56:54 +00:00
Daniel Wagner
4dfc0f22ca Accepting request 963967 from home:wagi:branches:Base:System
- Fix install conflict caused by new bash completion script
  location (bsc#1197365).

OBS-URL: https://build.opensuse.org/request/show/963967
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=113
2022-03-22 14:12:54 +00:00
Dominique Leuenberger
653025b626 Accepting request 962945 from Base:System
OBS-URL: https://build.opensuse.org/request/show/962945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=53
2022-03-20 19:55:12 +00:00
Dominique Leuenberger
d27099a3b7 Accepting request 962945 from Base:System
OBS-URL: https://build.opensuse.org/request/show/962945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=53
2022-03-20 19:55:12 +00:00
Daniel Wagner
e6464ce40c Accepting request 962943 from home:wagi:branches:Base:System
- Update to version 2.0-rc7:
  * netapp-nvme: fix smdevices segfault in json output (bsc#1195937)
  * fabrics: keep the backward compatibility
  * nvme: Do not slash escape strings in JSON output (bsc#1195937)
  * nvme: Print full device path
  * nvme-print: Make JSON keys consistent with nvme-cli 1.x
  * nvme-print: print generic device in list command
  * fabrics: check for discovery controller instead of subsystem NQN (bsc#1197061)
  * connect: Set errno to zero on nvmf_add_ctrl() success
  * documenation updates
- Set path to systemctl via newly introduced config option
- Update 0100-harden_nvmf-connect@.service.patch due to upstream file rename
- Moved bash completion script to /usr/share/bash-completion/completions/nvme

OBS-URL: https://build.opensuse.org/request/show/962943
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=111
2022-03-18 19:46:07 +00:00
Dominique Leuenberger
3bc1dadf28 Accepting request 961125 from Base:System
- Update to version 2.0-rc6:
  * nvme: print out ANA state for 'list-subsys' (bsc#1195938)
  * nvme: Explicit initialize all command line options (bsc#1195945)
  * nvme: Explicit initialize passthru command line options
  * nvme: list_ns bug fix (csi option enable)
  * nvme: nvme write bug fix (no parse for option)
  * documenation updates

OBS-URL: https://build.opensuse.org/request/show/961125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=52
2022-03-14 18:35:07 +00:00
Dominique Leuenberger
0144605243 Accepting request 961125 from Base:System
- Update to version 2.0-rc6:
  * nvme: print out ANA state for 'list-subsys' (bsc#1195938)
  * nvme: Explicit initialize all command line options (bsc#1195945)
  * nvme: Explicit initialize passthru command line options
  * nvme: list_ns bug fix (csi option enable)
  * nvme: nvme write bug fix (no parse for option)
  * documenation updates

OBS-URL: https://build.opensuse.org/request/show/961125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=52
2022-03-14 18:35:07 +00:00
Daniel Wagner
5c41756e61 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=109 2022-03-11 18:13:29 +00:00
Daniel Wagner
335c7c1264 - Update to version 2.0-rc6:
* nvme: print out ANA state for 'list-subsys' (bsc#1195938)
  * nvme: Explicit initialize all command line options (bsc#1195945)
  * nvme: Explicit initialize passthru command line options
  * nvme: list_ns bug fix (csi option enable)
  * nvme: nvme write bug fix (no parse for option)
  * documenation updates

OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=108
2022-03-11 18:08:56 +00:00
Dominique Leuenberger
59376f51a8 Accepting request 959374 from Base:System
OBS-URL: https://build.opensuse.org/request/show/959374
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=51
2022-03-05 13:43:07 +00:00
Dominique Leuenberger
9e50780491 Accepting request 959374 from Base:System
OBS-URL: https://build.opensuse.org/request/show/959374
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=51
2022-03-05 13:43:07 +00:00
Daniel Wagner
ddda39aeb2 Accepting request 959372 from home:wagi:branches:Base:System
- Update to version 2.0-rc5:
  * nvme: passthru bugfix(wrong jump, wrong file descriptor)
  * nvme-cli: Ignore traddr case (bsc#1194025)
  * nvme: fix segfault in nvme telemetry-log error handling
  * fabrics: ensure zero kato for non-persistent controllers
  * documenation updates

OBS-URL: https://build.opensuse.org/request/show/959372
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=106
2022-03-04 10:41:37 +00:00
Dominique Leuenberger
c194be7cbf Accepting request 956835 from Base:System
OBS-URL: https://build.opensuse.org/request/show/956835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=50
2022-02-23 15:25:57 +00:00
Dominique Leuenberger
f5dfd7de8d Accepting request 956835 from Base:System
OBS-URL: https://build.opensuse.org/request/show/956835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=50
2022-02-23 15:25:57 +00:00
Daniel Wagner
eb4a118b1e Accepting request 956833 from home:wagi:branches:Base:System
- Update to version 2.0-rc4:
  * netapp-nvme: free the nsdescs pointer after use
  * netapp-nvme: fix ontapdevices segfault in json output
  * nvme-print: fix 'nvme list -o json' segfault
  * nvme: get_ns_id command fails on nvme device
  * wdc: updated products list for telemetry (--type) argument
  * docs: fix typo in Data Set Management section
  * Fix ctrlist for attach-ns and detach-ns
  * netapp-nvme: fix nvme ns desc uuid handling for ontapdevices
  * wdc: Fix use-after-free access of cbs_data
  * Fixed regression with 'open namespace exclusive' (bsc#1195945)

OBS-URL: https://build.opensuse.org/request/show/956833
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=105
2022-02-22 17:53:38 +00:00
Dominique Leuenberger
6990569e43 Accepting request 953756 from Base:System
OBS-URL: https://build.opensuse.org/request/show/953756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=49
2022-02-13 18:50:27 +00:00
Dominique Leuenberger
4bb5643420 Accepting request 953756 from Base:System
OBS-URL: https://build.opensuse.org/request/show/953756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=49
2022-02-13 18:50:27 +00:00
Daniel Wagner
bbe824087d Accepting request 953754 from home:wagi:branches:Base:System
- Update to version v2.0-rc3:
  * nvme-print: Fix json output for list-subsys
  * nvme: Allow --verbose flag to increase log level
  * Added telemetry log fetch support for SN810, SN530 and SN740 series NVMe SSDs through wdc vs-internal-log command
  * nvmf: Remove --matching from systemd service file (bsc#1195665)
  * nvme: Fix --force flag inversion (bsc#1195637)
  * nvme: Add support for data area 4 to get-telemetry-log
  * nvme: Add Supported Capacity Configuration List log page(LID: 0x11)
  * nvme: Add Enhanced Controller Meta Data(FID: 0x7D)
  * nvme-print: Add NVME_FEAT_FID_ENH_CTRL_METADATA to nvme_feature_to_string
  * nvme-print: remove unused nvme_show_id_ctrl function
  * nvme: Add nvm-id-ns-lba-format(CNS 0Ah) command from TP4095
  * nvme: Add NVM Command Set specific identify namespace command
  * nvme: Add id-ns-lba-format(CNS 09h) command from TP4095
  * nvme: Add nulbaf(Number of Unique Capability LBA Formats) field on nvmd_id_ns
- Include precompiled documentation

OBS-URL: https://build.opensuse.org/request/show/953754
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=104
2022-02-11 14:40:49 +00:00
Dominique Leuenberger
8e2862acdd Accepting request 950644 from Base:System
OBS-URL: https://build.opensuse.org/request/show/950644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=48
2022-02-03 22:15:38 +00:00
Dominique Leuenberger
48480c6f58 Accepting request 950644 from Base:System
OBS-URL: https://build.opensuse.org/request/show/950644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=48
2022-02-03 22:15:38 +00:00
Daniel Wagner
c397bf9c7e Accepting request 950642 from home:wagi:branches:Base:System
- Update to version 2.0~2:
  * Adapt to logging API changes in libnvme
  * Adapt to scan API changes in libnvme
  * Reworked error message handling
  * Fix 'list-ns' (bsc#1195151)
  * Add 'gen-tls-key' and 'check-tls-key'
  * Add Media Unit Status log page support
  * Cleanups and build fixes
- Fix path to systemctl (bsc#1193699)

OBS-URL: https://build.opensuse.org/request/show/950642
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=103
2022-02-02 06:30:55 +00:00
Dominique Leuenberger
16962e0353 Accepting request 947398 from Base:System
OBS-URL: https://build.opensuse.org/request/show/947398
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=47
2022-01-22 07:17:52 +00:00
Dominique Leuenberger
5599bd045c Accepting request 947398 from Base:System
OBS-URL: https://build.opensuse.org/request/show/947398
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=47
2022-01-22 07:17:52 +00:00
Daniel Wagner
02ceeeeae5 Accepting request 947396 from home:wagi:branches:Base:System
- Fix zsh completion package depenedencies.

OBS-URL: https://build.opensuse.org/request/show/947396
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=102
2022-01-19 11:55:16 +00:00
Daniel Wagner
b244a29d6d Accepting request 947260 from home:wagi:branches:Base:System
- Use osc_scm to manage upstream input source.
- Fix version string.

OBS-URL: https://build.opensuse.org/request/show/947260
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=101
2022-01-18 15:52:19 +00:00
Daniel Wagner
515da9f2c2 Accepting request 946944 from home:wagi:branches:Base:System
- Update Source URL and introduce a variable for the release canditate
  version string.

OBS-URL: https://build.opensuse.org/request/show/946944
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=100
2022-01-17 13:11:40 +00:00
Hannes Reinecke
35fda8d32e Accepting request 946916 from home:wagi:branches:Base:System
- Update to v2.0-rc0
 * Depends on libnvme
 * rename harden_nvmf-connect@.service.patch to 0100-harden_nvmf-connect@.service.patch
 * drop 0102-nvme-cli-Add-script-to-determine-host-NQN.patch

OBS-URL: https://build.opensuse.org/request/show/946916
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=99
2022-01-17 09:11:39 +00:00
Dominique Leuenberger
16f3e22663 Accepting request 937645 from Base:System
OBS-URL: https://build.opensuse.org/request/show/937645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=46
2021-12-09 18:44:52 +00:00
Dominique Leuenberger
e0bf4a989b Accepting request 937645 from Base:System
OBS-URL: https://build.opensuse.org/request/show/937645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=46
2021-12-09 18:44:52 +00:00
Daniel Wagner
20104c4e19 Accepting request 937405 from home:dimstar:Factory
- Update to version 1.16:
  + Print ProductName found even if subvendor/subdevice is unknown.
  + Add New fields on PEL based on NVMe 2.0a.
  + nvme-cli:
    - Split media units written/read into hi/lo 64 bit fields.
    - Add support for new SN650 device.
    - Update WDC pluging version to 1.15.3.
    - fix the [data|mdata]_len param (boo#1193547).
    - Add support for C3/Latency Monitor Log page parsing.
    - ctrl-loss-tmo should accept -1 as value.
  + nvme: add spinup control feature (fid=0x1A).
  + nvme: Add Identify for CNS 08h NVMe spec 2.0a based.
  + nvme: add boot partition log support.
  + nvme: add support for fid supported and effects log(lid =
    0x12).
  + add identify endurance group list (cns 0x19) support.
  + add json support for zns report zones.
  + fabrics: fix 'nvme discover' segfault if sysfs path is not
    available.

OBS-URL: https://build.opensuse.org/request/show/937405
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=98
2021-12-09 09:25:36 +00:00
Dominique Leuenberger
b78c77e963 Accepting request 925485 from Base:System
OBS-URL: https://build.opensuse.org/request/show/925485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=45
2021-10-16 20:47:04 +00:00
Dominique Leuenberger
a8898b3467 Accepting request 925485 from Base:System
OBS-URL: https://build.opensuse.org/request/show/925485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=45
2021-10-16 20:47:04 +00:00
Daniel Wagner
7f98666461 Accepting request 925474 from home:jsegitz:branches:systemdhardening_protectclock
- Drop ProtectClock hardening, can cause issues if other device acceess is needed

OBS-URL: https://build.opensuse.org/request/show/925474
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=97
2021-10-15 14:11:15 +00:00
Daniel Wagner
c0f839dfcb Accepting request 924887 from home:jsegitz:branches:systemdhardening:Base:System
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/924887
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=96
2021-10-13 13:09:55 +00:00
Dominique Leuenberger
0c784a686b Accepting request 913727 from Base:System
OBS-URL: https://build.opensuse.org/request/show/913727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=44
2021-08-25 18:56:29 +00:00