Commit Graph

241 Commits

Author SHA256 Message Date
Ana Guerrero
e725890a1b Accepting request 1171773 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1171773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=75
2024-05-05 10:10:29 +00:00
Daniel Wagner
cfcdd735dd Accepting request 1171771 from home:wagi:branches:Base:System
- Update to version 2.9.1:
  * plugins/spdk: drop the plugin
- Update to version 2.9:
  * nvme-print: expand the maximum field length to prevent misalignment
  * plugins/spdk: plugin to list SPDK subsystems
  * nvme-print: check if controller belong to SPDK
  * plugins/spdk: plugin to list SPDK controllers
  * nvme-print-stdout: fix ASQB, ACQB and BMBBA prints
  * build: bump libnvme wrap
  * nvmf-autoconnect: fix string encoding
  * nvme: identify primary ctrl do not accept nsid
  * nvme-wrap: remove unused nvme_cli_get_log_ana_groups()
  * nvme-print-json: use admin queue attributes definitions
  * nvme-print-json: use CSTS definitions
  * nvme-print-stdout: use POWER_OF_TWO macro
  * nvme-print-json: use controller configuration definitions
  * nvme-print-json, nvme-print-stdout: add tertiary version number
  * nvme-print-json: use NVME_MAJOR and NVME_MINOR definitions
  * nvme-print-json: use NVME_BOOT_PARTITION_INFO field definitions
  * nvme-print-json: add support telemetry log create event in PEL
  * nvme-print-json: add support set feature event in PEL
  * nvme-print-json: add obj_d() function
  * nvme-print-json: add obj_add_uint_0nx() function
  * meson.build: Fix spelling of sed-opal.h filename
  * sed_opal: Only build when we really have sed_opal headers
  * nvme: fix error path if write() fails in get_telemetry_log()
  * plugins/solidigm: Additional LID for temperature statistics.
  * plugins/solidigm: Improved Solidigm UUID index detection.
  * nvme-print-stdout: Add CSTS.ST register stdout print
  * nvme-print-stdout: Use NVME_CMIC definitions
  * nvme-print: Use NVME_UNIT definitions
  * nvme-print-stdout: Use NVME_CMBMSC/STS/EBS/SWTP definitions
  * plugins/ssstc: add a new plugin for SSSTC driver
  * nvmf-connect: systemd hardening effort
  * plugins/ocp: Adjusted variable type size carrying UUID index to 8 bit.
  * nvme: fix security buffer allocation size
  * nvme: Change fw-download xfer initialization to set 0
  * nvme: Add fw-download warning message for FWUG alignment error
  * plugins/ocp: Split ocp_get_uuid_index() into find and get functions.
  * nvme: fix mem leak in multiple key related functions (bsc#1223331)
  * fabrics: fix mem leak in nvmf_check_hostid_and_hostnqn() (bsc#1223331)
  * nvme-print-stdout: Use NVME_BPRSEL definitions
  * nvme-print-stdout: Use NVME_BPINFO definitions
  * nvme-print-stdout: Use NVME_CMBSZ definitions
  * nvme-print-stdout: Use NVME_CMBLOC definitions
  * Revert "logging: fix error handling for ioctl passthru wrappers"
  * fabrics: align identify command payload
  * ocp: Unify line start spacing as tabs
  * ocp: support OCP DSSD Async Event Config feature
  * nvme: Add support for get-reg and set-reg commands
  * nvme-print-json: Add register print functions
  * nvme-print-stdout: Add register print functions
  * nvme-print: Add register print functions
  * nvme: Refactor mmap_registers to add writable parameter
  * nvme-print: Change PMRSZU string function as unit string
  * nvme-print: Refactor CMBLOC and PMRSTS registers function
  * logging: fix error handling for ioctl passthru wrappers
  * nbft: Fix scandir() error check
  * nbft: Refactor connection attempt out
  * nvme-print: Use EOM optional data present macros changed
  * nvme-print: Print cntlid number for controller
  * nvme: check-tls-key fails despite having hostnqn file (bsc#1223331)
  * nvme: print retained key for gen-tls-key's -i option too (bsc#1223331)
  * fabrics : allow host to create duplicate connections to target
  * fabrics: Fix fast_io_fail_tmo option
  * nvme-print-stdout: use admin queue attributes definitions
  * nvme-print-stdout: use CSTS definitions
  * nvme-print-stdout: use controller configuration definitions
  * nvme-print-stdout: use NVME_MAJOR and NVME_MINOR definitions
  * nvme-print-stdout: use FDP configuration attributes definitions
  * nvme: add new function 'tls_key'
  * nvme: use library functions for importing and exporting TLS keys (bsc#1216982)
  * nvme: extend error message for ns scan failures
  * nvme-print-json: Bugfix status json key of sanitize-log
  * sed: update SED password when initalizing (bsc#1222168)
  * plugins/memblaze: add performance stats
  * plugins/memblaze: fix code mis-type error
  * plugins/memblaze: code refactor on applying __packed on more structs
  * plugins/memblaze: code refactor on using cleanup_nvme_dev
  * nvme: Fix to cleanup free raw_secret memory allocated
  * plugins/memblaze: code-format on leading indent and align
  * plugins/wdc: Fix narrow index variable type in for loop to __u32
  * plugins/wdc: Whitespace changes
  * nvme: Delete unused nvme root scanned
  * ocp: support OCP 2.5 Set Telemetry Profile feature
  * nvme: Don't seg fault if given device is not char/block device
  * nbft: Include SSNS index in error messages (bsc#1222026)
  * nbft: Pause logging for expected connection failures (bsc#1222026)
  * nbft: Silence connection failures for unavailable SSNS (bsc#1222026)
  * nbft: Fix 'verbose' argument type (bsc#1222026)
  * plugins/nbft: Implement verbose logging
  * plugins/nbft: Print the new SSNS flags
  * nbft: Fix uninitialized variable
  * plugins/nbft: Fix uninitialized variables
  * plugins/sed: Fix uninitialized variable
  * nvme-print-stdout: Fix uninitialized variable
  * nvme-print-json: Fix uninitialized variable
  * build: Switch default meson buildtype to 'debugoptimized'
  * nvme: do not scan topology when mmaping registers
  * nvme-print-stdout: Use NVME_BOOT_PARTITION_INFO field definitions
  * nvme-print-stdout: Use NVME_GET for MI commands supported and effects CSP
  * nvme-print-stdout: Use NVME_GET for FID supported and effects FSP
  * nvme-print-stdout: Use NVME_SET_FEAT_EVENT register definitions
  * nvme-print: Add PEL EHAI port identifier type printf function
  * build: bump libnvme wrap
  * ocp: fix for power-state argument checking
  * nvme: do not issue warning when nvme_core module is not loaded
  * wdc: Review changes and build fixes
  * wdc:  Fix timestamp displayed by vs-firmware-activate-history command
  * logging: Split to output ioctl latency by log info level
  * nvme-print-stdout: Change hexadecimal value 0x prefix to use %#x
  * nvme-print-stdout: Fix LBA status DSLBA output as hexadecimal
  * nvme-print-stdout: Split line length exceeded 100 columns
  * nvme-print-stdout: Use NVME_PMRMSC register definitions to print
  * nvme-print-stdout: Use NVME_PMRSWTP register definitions to print
  * nvme-print-stdout: Use NVME_PMREBS register definitions to print
  * nvme-print-stdout: Use NVME_PMRSTS register definitions to print
  * nvme-print-stdout: Use NVME_PMRCTL_EN register definition to print
  * nvme-print-stdout: Use NVME_PMRCAP register definition to print
  * doc: Fix admin and io passthru cdw parameters description
  * doc: Add get-feature cdw11 and set-feature cdw12 parameters
  * micron-nvme: Unuse stat() to check if strMainDirName exists
  * doc: Fix get-property and set-property offset and value descriptions
  * doc: Fix documentation file mode 100755 to 100644
  * nvme-print-stdout: Fix channel configuration descriptors pointer
  * nvme-print-stdout: Check sscanf return value
  * nvme-print-stdout: Fix linux kernel check patch errors
  * nvme: Delete unusual fallthrough for cases have no body
  * nvme: Delete duplicated semicolon
  * nvme-print, common: Fix for whitespace change
  * logging: output ioctl debugging info
  * nvme: track verbose level
  * logging: track log level globally
  * logging: move logging code to a new file
  * nvme: update include for libnvme
  * nvme: remove unused declaration
  * build: bump libnvme wrap
  * nvme-netapp: add nspath tlv handling (bsc#1220971)
  * rpm: Add missing rule and service files
  * nvme-print-json, nvme-print-stdout: Use CHAR_BIT definition
  * nvme-print-stdout: Delete duplicated if condition checking line
  * ocp: Fix timestamp displayed by fw-activate-history command
  * wdc: Add support for the get-drive-status command to SN861
  * nvme-print: Fix nvme_host_metadata_type_to_string() indentation errors
  * nvme-print: Add PEL RCI port identifier type printf function
  * nvme-print-stdout: Use persistent event log RCI definitions
  * build: bump libnvme wrap
  * nvme: Add show-regs and get-property commands NSSD print outputs
  * nvme-print: print more details in ns-descs verbose output (bsc#1223331)
  * Revert "nvme-print-json: remove obj_print helper"
  * sed: Confirm entered password before initialization.
- drop systemd service harden file, upstream ships this patch.
  * remove 0100-harden_nvmf-connect@.service.patch

OBS-URL: https://build.opensuse.org/request/show/1171771
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=157
2024-05-03 14:21:24 +00:00
Ana Guerrero
dd86553c45 Accepting request 1146582 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1146582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=74
2024-02-15 19:59:12 +00:00
Daniel Wagner
8f42c1046a Accepting request 1146580 from home:wagi:branches:Base:System
- Update to version 2.8:
  * nvme-print-json: append array object in json_support_log
  * sed: Add plugin for basic SED Opal operations (jsc#PED-5061)
  * don't include newlines in already wrapped text
  * nvme: do not include meta data for PRACT=1 and MD=8 (version 2)
  * create-ns: align the namespaces to 1Mib boundaries when using SI suffixes
  * doc: Fix config-schema.json's URL
  * plugins/solidigm: Compressing vs-internal-log log files into zip file.
  * nbft: do not issue an error if ACPI tables are missing
  * nbft: fixup include for libnvme
  * doc: Fix short option name for cfg-file
  * completions: added Solidigm plugin to autocomplete scripts
  * nvme: Remove unused cfg argument from NVME_ARGS() macro
  * nvme: fix directive receive identify offsets
  * nvme-fabrics: enable option 'concat'
  * build: Update libnvme wrap
  * plugins/wdc: Add Debug Log Collection Support
  * nbft: fix tcp/dhcp address fallback retry (bsc#1218873)
  * nvme: use correct telemetry log size
  * nvme-print: fix typo in list verbose output (bsc#1219086)
  * nvme: print inserted tls key for check-tls-key (bsc#1219086)
  * plugins/wdc: Plugin fixes and updates
  * fabrics: move hostid/hostnqn warnings to verbose level (bsc#1219086)

  * nvme-print-stdout: enhance connect message (bsc#1219086)
  * fabrics: fix connect error if hostid file does not exist (bsc#1219086)
  * fabrics: fix invalid output format error during nvme connect (bsc#1219086)
  * nvme: restric hmac options for gen-tls-key (bsc#1219086)
  * udev-rules: rename netapp udev rule (bsc#1219086)
  * udev-rules: set ctrl_loss_tmo to -1 for ONTAP NVMe/TCP (bsc#1219086)

OBS-URL: https://build.opensuse.org/request/show/1146580
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=155
2024-02-14 13:45:25 +00:00
Ana Guerrero
0f6104321b Accepting request 1139715 from Base:System
- Update to version 2.7.1:
  * nvme-print-json: Revert field name changes (bsc#1218306)
- Update to version 2.7:
  * nvme-print-json: include vs for identify namespace
  * nvme-print-stdout: enhance connect message
  * fabrics: fix connect error if hostid file does not exist
  * fabrics: fix invalid output format error during nvme connect
  * wdc: Fix vs-smart-add-log Command for SN650 and SN655
  * nvme: restric hmac options for gen-tls-key
  * wdc: Fix UUID index fallback mechanism
  * plugins/ocp: Add OCP Telemetry String log page, Telemetry log page
  * completions: Add bash completions for telemetry string log page
  * plugins/solidigm: Added OCP 2.0 compatibility version command
  * plugins/solidigm: Added OCP 2.0 vs-drive-info command.
  * plugins/ocp: Fix printing order of various Latency Monitor Log buckets
  * nvme: validate output format split status from flag return value
  * nvme: simplify cleanup_nvme_dev()
  * cleanup: remove unused cleanup_charp()
  * wdc: Add support for SN861 2nd pci device id
  * nvme: replace libhugetlbfs with mmap and madvise
  * util/mem: move alloc helper to util section
  * nvme: auto cleanup filedescriptors
  * nvme: auto cleanup buffers
  * nvme: return error code in get_persistent_event_log
  * nvme: sanitize nvme-gen-tls-key
  * nvme: print out the resulting TLS identity for 'nvme check-tls-key'
  * nvme: Add version '1' identifier for nvme-gen-tls-key
  * subprojects/libnvme: update wrapper for TP8018
  * plugins/solidigm: Added re_sku_count smart atrribute
  * doc: Fix nvme-connect manpage --application option string
  * plugins/ocp: changed command clear-pcie-correctable-error-counters to match OCP 2.0 spec.
  * plugins/solidigm: Added command to clear PCIe Correctable Error Counters according to OCP 2.0
  * plugins/ocp: Reorganized clear feature code for better reuse
  * nvme: fixup length calculation for 'nvme gen-tls-key --secret'
  * doc: remove invalid hostkey info for --dhchap-secret
  * nvme-print-json: use human helper everywhere
  * nvme-print-json: remove obj_print helper
  * plugins/ocp: update nvme_show_select_result call
  * mailmap: only show contributer's name
  * nvme-print-json: Change to report status and message in array
  * nvme-print-json: Change to report feature select in array
  * nvme-print-json: Change to report error and data in array
  * nvme-print-json: Add show_init/finish calls to report features in array
  * nvme-print: Add nvme_show_error_status() to merge error message and status
  * nvme-print-json: Use r instead of root and use obj_add_***(r, ..., ...)
  * nvme-print-json: Delete static const char string global variables
  * nvme-print-json: Add remaining controller registers readable format
  * nvme-print-json: Add readable format cap, vs, cc, csts, nssr and crto registers
  * nvme-print-json: Combine duplicated json key and val string variables
  * nvme-print-json: Replase json_array_add_value_string() to array_add_str()
  * nvme-print-json: Replase json_object_add_value_uint128() to obj/root_add_uint128()
  * nvme-print-json: Replase json_object_add_value_object() to obj/root_add_obj()
  * nvme-print-json: Replase json_array_add_value_object() to array_add_obj()
  * nvme-print-json: Replase json_object_add_value_array() to obj/root_add_array()
  * nvme-print-json: Replase json_object_add_value_uint() to obj/root_add_uint()
  * nvme-print-json: Replase json_object_add_value_int() to obj/root_add_int()
  * nvme-print-json: Replase json_object_add_value_uint64() to obj/root_add_uint64()
  * nvme-print-json: Replase json_object_add_value_string() to obj/root_add_str()
  * nvme-print-json: Update feature_show_fields_*** to use root/obj_add_***()
  * nvme-print-json: Update lba_status_log to use root_add_***() and obj_add_***()
  * nvme-print-json: Replace lba_status_log printf() to root_add_result()
  * nvme-print-json: Add list_item print function
  * nvme-print-json: Add lba_status_info print function
  * nvme-print-json: Add lba_range print function
  * nvme-print-json: Add id_ctrl_rpmbs print function
  * nvme-print-json: Unify json_list and jroot object names to root
  * nvme-print-json: Add json_zns_changed print function
  * nvme-print-json: Add root_add_result() to output result message
  * nvme-print-json: Split persistent_event_log print function
  * nvme-print-json: Remove unnecessary string newline code
  * nvme-print-json: Replace effects_log_list print to use json_print()
  * nvme-print-json: Print persistent_event_log no log data result correctly
  * nvme-print-json: Add static "result" and "erorr" strings variables
  * nvme-print-json: Add single_property printf function
  * nvme: Replace get feature command stderr output to nvme_show_error()
  * nvme-print-json: Change d() output to use d_json()
  * nvme: Fix get-feature command mixed stdout and json outputs
  * nvme-print-json: Add remaining feature fields print functions
  * nvme-print-json: Update formatting and codying style
  * build: Add -std=c99 to CFLAGS for muon on CentOS 7
  * fabrics: add udev rule to avoid renaming nbft interfaces
  * fabrics: autoconnect: add service unit for connecting NBFT subsystems
  * fabrics: autoconnect: explicitly express module dependency
  * Updates to codeql config
  * libnvme-wrap: exit on VOID_FN lookup failure
  * plugins/ocp:Added the ocp C6h feature api
  * plugin/ocp_fid_c6h:Added the ocp C6h feature api
  * nvme-copy: support cross-namespace copy
  * nvme/plugins: fix mismatch operator
  * nvme: fix overflow possiblity
  * nvme: reduce identify cmd issue
  * nvme: allow set-features to take input from stdin
  * Fix common misspellings from codespell project
  * nvme-print: Correct to print correct ascii character string length
  * print-stdout: print Host Behavior Support correctly
  * build: Bump libnvme wrap
  * plugins/solidigm: Added support for temperature statistics log page
  * Add support for codeql sweeps
  * doc: Add virt-mgmt command
  * doc: Add id-uuid command
  * doc: Add list-secondary command
  * doc: Add id-ns-granularity command
  * doc: Add nvme commands --output-format and --verbose options
  * completions: Add nvme-mi-recv nad nvme-mi-send commands completions
  * completions: Change short option -o and -v duplicated to upper case
  * doc: Change short option -o and -v duplicated to upper case
  * nvme: Change short option -o and -v duplicated to upper case
  * nvme: Change phy-rx-eom-log command to use NVME_ARGS instead
  * plugins/memblaze: Add smart-log-add and latency-feature functions
  * plugins/solidigm: internal-logs Telemetry auto detect last data area.
  * nvme: Change to use NVME_FLBAS_META_EXT() macro to check flbas value
  * nvme-print-json: Add host memory buffer and timestamp features print functions
  * nvme-print-json: Add feature fields print functions
  * nvme-print-json: Add TMPTH feature print function
  * nvme-print-json: Add show_feature_fields print function
  * nvme-print-json: Add select_result print function
  * nvme-print-json: Use json_print to print and free object
  * nvme-print-json: Add lba_status print function
  * nvme-print-json: Combine variable definition and setting value
  * nvme-print-json: Add id_iocs print function
  * nvme-print-stdout: Fix coding style errors
  * nvme-print-json: Add directive print function
  * nvme: Fixed segmentation fault when getting host initiated telemetry
  * plugins/wdc: enhanced SN861 device support
  * plugins/wdc: cleanup line lengths
  * nvme: do not include meta data for PRACT=1 and MD=8
  * nvme: use block-count arg if provided
  * build: bump libnvme to disable tests option
  * build: Add static build on CI target
  * nvme-print: Add nvme_zns_start_zone_list() API function
  * nvme-print: Add nvme_zns_finish_zone_list() API function
  * nvme-print-binary: Set list function to NULL if unimplemented
  * nvme-print-json: Change order list functions and set NULL if unimplemented
  * nvme-print-stdout: Fix to set stdout_list_item print function missed
  * plugins/solidigm: log page name extraction using nvme_log_to_string function
  * nvme-print: Added missing logpage names in nvme_log_to_string function
  * udev-rules: rename netapp udev rule
  * udev-rules: set ctrl_loss_tmo to -1 for ONTAP NVMe/TCP
- Remove upstreamed patches
  * remove 0001-fabrics-autoconnect-add-service-unit-for-connecting-.patch
  * remove 0002-fabrics-add-udev-rule-to-avoid-renaming-nbft-interfa.patch
- Update spec file
  * remove libhugetblfs depedency
  * update NetApp udev rule file name

OBS-URL: https://build.opensuse.org/request/show/1139715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=73
2024-01-19 22:00:03 +00:00
Ana Guerrero
0050dd4b50 Accepting request 1134429 from openSUSE:Factory
https://bugzilla.opensuse.org/show_bug.cgi?id=1218306

OBS-URL: https://build.opensuse.org/request/show/1134429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=72
2023-12-21 22:38:02 +00:00
Ana Guerrero
6239338fa5 Accepting request 1134429 from openSUSE:Factory
https://bugzilla.opensuse.org/show_bug.cgi?id=1218306

OBS-URL: https://build.opensuse.org/request/show/1134429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=72
2023-12-21 22:38:02 +00:00
Daniel Wagner
251e6d8ad7 Accepting request 1134483 from home:wagi:branches:Base:System
- Update to version 2.7.1:
  * nvme-print-json: Revert field name changes (bsc#1218306)

OBS-URL: https://build.opensuse.org/request/show/1134483
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=152
2023-12-21 15:55:42 +00:00
Ana Guerrero
7ed7b83c55 Accepting request 1134176 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1134176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=71
2023-12-20 20:00:30 +00:00
Ana Guerrero
c2d3e8d0ed Accepting request 1134176 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1134176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=71
2023-12-20 20:00:30 +00:00
Daniel Wagner
6dabd6f56b Accepting request 1134174 from home:wagi:branches:Base:System
- Update to version 2.7:
  * nvme-print-json: include vs for identify namespace
  * nvme-print-stdout: enhance connect message
  * fabrics: fix connect error if hostid file does not exist
  * fabrics: fix invalid output format error during nvme connect
  * wdc: Fix vs-smart-add-log Command for SN650 and SN655
  * nvme: restric hmac options for gen-tls-key
  * wdc: Fix UUID index fallback mechanism
  * plugins/ocp: Add OCP Telemetry String log page, Telemetry log page
  * completions: Add bash completions for telemetry string log page
  * plugins/solidigm: Added OCP 2.0 compatibility version command
  * plugins/solidigm: Added OCP 2.0 vs-drive-info command.
  * plugins/ocp: Fix printing order of various Latency Monitor Log buckets
  * nvme: validate output format split status from flag return value
  * nvme: simplify cleanup_nvme_dev()
  * cleanup: remove unused cleanup_charp()
  * wdc: Add support for SN861 2nd pci device id
  * nvme: replace libhugetlbfs with mmap and madvise
  * util/mem: move alloc helper to util section
  * nvme: auto cleanup filedescriptors
  * nvme: auto cleanup buffers
  * nvme: return error code in get_persistent_event_log
  * nvme: sanitize nvme-gen-tls-key
  * nvme: print out the resulting TLS identity for 'nvme check-tls-key'
  * nvme: Add version '1' identifier for nvme-gen-tls-key
  * subprojects/libnvme: update wrapper for TP8018
  * plugins/solidigm: Added re_sku_count smart atrribute
  * doc: Fix nvme-connect manpage --application option string
  * plugins/ocp: changed command clear-pcie-correctable-error-counters to match OCP 2.0 spec.
  * plugins/solidigm: Added command to clear PCIe Correctable Error Counters according to OCP 2.0

OBS-URL: https://build.opensuse.org/request/show/1134174
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=150
2023-12-20 10:20:18 +00:00
Ana Guerrero
1b67d49edd Accepting request 1124997 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1124997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=70
2023-11-13 21:17:09 +00:00
Ana Guerrero
127f43644b Accepting request 1124997 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1124997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=70
2023-11-13 21:17:09 +00:00
Daniel Wagner
38d2eb14b0 Accepting request 1123233 from home:wagi:branches:Base:System
* udev-rule: apply round-robin iopolicy on i/o subsystems alone (bsc#1215994)
  * fabrics: For TCP/RDMA, compare IP addresses with nvme_ipaddrs_eq() (bsc#1213768)
  * fabrics: lookup_discovery_ctrl() must look under host and not root (bsc#1213768)
  * fabrics: only look for matching ctrl on same host (bsc#1213768)

OBS-URL: https://build.opensuse.org/request/show/1123233
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=148
2023-11-03 13:16:45 +00:00
Ana Guerrero
9c7eed8348 Accepting request 1117512 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1117512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=69
2023-10-13 21:14:27 +00:00
Ana Guerrero
5edf6bf0cf Accepting request 1117512 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1117512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=69
2023-10-13 21:14:27 +00:00
Daniel Wagner
31d4229bd7 Accepting request 1117510 from home:wagi:branches:Base:System
- Add missing jsc# and bsc# tracking entries in change log.

- Enable test during build (bsc#1207686)
  * nbft: added NBFT v1.0 table support (jsc#PED-1449)

OBS-URL: https://build.opensuse.org/request/show/1117510
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=146
2023-10-12 17:25:38 +00:00
Ana Guerrero
4b95947813 Accepting request 1116610 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1116610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=68
2023-10-11 21:53:54 +00:00
Ana Guerrero
bc928fc681 Accepting request 1116610 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1116610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=68
2023-10-11 21:53:54 +00:00
Daniel Wagner
7e49889644 Accepting request 1116606 from home:wagi:branches:Base:System
- Use fixed timestamps for documentation allowing reproducable builds
- Announce nvmeof-boot-support support via Provides
- Filter rpmlint warnings for systemd-service-without-service_ macros
- Add missing service files for NBFT feature
  * add 0001-fabrics-autoconnect-add-service-unit-for-connecting-.patch
  * add 0002-fabrics-add-udev-rule-to-avoid-renaming-nbft-interfa.patch

- Update to version 2.6 (jsc#PED-3610 jsc#PED-4879 jsc#PED-5061):
  * json: fix seg. fault converting NULL to JSON string (bsc#1213762)
  * nvme-print: Show subsystem iopolicy (bsc#1124564)
  * nvme-print-stdout: Do not show non reachable ns in namespace topology (bsc#1212598)
  * nvme-print-stdout: List only ctrls which are part of ns (bsc#1212598)
  * nvme-print-stdout: Support subsys reachable from several hosts (bsc#1212598)
  * ccan: Add htable, strset and dependencies (bsc#1212598)
  * ccan: Remove unused documentation (bsc#1212598)
  * nvme-print: fix counter while looping through uuid_list (bsc#1212598)
  * fabrics: fix fc config JSON file handling (bsc#1210089)
 Refresh 0100-harden_nvmf-connect@.service.patch
- Update to version 2.4 (jsc#PED-553 jsc#PED-3884):
  * nvme-print: sanitize supported-log-pages output (bsc#1209550)
  * nvme: fix block count and data size logic (bsc#1209564)
  * nvme-doc: update man page for supported-log-pages (bsc#1209550)
  * fabrics: Fix ordering for auto connect services (bsc#1208075)
  * json_discovery_log: avoid buffer overrun (bsc#1207435)
  * Fix connect nbft regressions (bsc#1209905)
  * Fix auto connect conditions (bsc#1210105)
  * Fix auto boot for NBFT connections (bsc#1211647)
  * fabrics: Honor JSON config file in connect-all command (bsc#1199504)
  * udev: Add HOST_IFACE to udev rule (bsc#1208001)
  * fabrics: Remove dhchap-ctrl-secret from discover/connect-all (bsc#1201701)

OBS-URL: https://build.opensuse.org/request/show/1116606
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=144
2023-10-10 07:41:58 +00:00
Ana Guerrero
af455ba467 Accepting request 1115659 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1115659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=67
2023-10-05 18:03:06 +00:00
Ana Guerrero
2fbab4a034 Accepting request 1115659 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1115659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=67
2023-10-05 18:03:06 +00:00
Daniel Wagner
e5c3de679c Accepting request 1115658 from home:wagi:branches:Base:System
- Enable test during build
- Drop minimum version meson dependency
- Add asciidoc dependency
- Build documentation when requested

OBS-URL: https://build.opensuse.org/request/show/1115658
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=142
2023-10-04 15:20:00 +00:00
Ana Guerrero
6dfd41f4ee Accepting request 1114411 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1114411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=66
2023-10-01 19:21:44 +00:00
Ana Guerrero
8b4608a4bf Accepting request 1114411 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1114411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=66
2023-10-01 19:21:44 +00:00
Daniel Wagner
77c42d1f72 Accepting request 1114409 from home:wagi:branches:Base:System
- Update to version 2.6:
  * nvme: allocate payload buffer in create-ns command
  * nvme-print-stdout: Add CAP.CPS and CAP.NSSS human readable outputs
  * nvme: Add output-format default option instead of argconfig json option
  * nvme: fw-download offset only describes FW offset, not file offset
  * unit: add locale number test
  * util: handle utf-8 thousend separators correctly
  * nvme: Change to use NVME_ARGS verbose default option from OPT_ARGS
  * fabrics: Fix NVMF_ARGS macro to use parameter n correctly
  * nvme: Add verbose default option to show command debug output
  * util: Fix to set argconfig output format json option correctly
  * util: Split argconfig output format json function to set and get
  * nvme: Spport Phy Rx Eye Opening Measurement Log
  * nvme: Introduce nvme_realloc function
  * nvme: Fix for fdpa reserved field printing
  * completion: add 'version' and 'help' to list
  * udev-rule: apply round-robin iopolicy on i/o subsystems alone
  * nvme: Add support for the OAQD ID controller field
  * plugins/solidigm: use static log macro to calc bitmask
  * plugins/ocp: Rename FW activation history command
  * nvme: auto free nvme_dev resource
  * nvme: allocate aligned payloads for all nvme commands
  * nvme: introduce alloc helper with alignment support
  * util: add cleanup function for generic memory allocations
  * nvme: append huge to nvme_{alloc|free} function
  * nvme: fw_download use nvme_alloc only
  * fabrics: Removing duplicate code and moving to libnvme
  * nvme-print: omit size of protection information
  * tree: Modify label name close_fd to close_dev
  * fabrics: For TCP/RDMA, compare IP addresses with nvme_ipaddrs_eq()

OBS-URL: https://build.opensuse.org/request/show/1114409
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=140
2023-09-29 16:19:36 +00:00
Ana Guerrero
204fa29655 https://bugzilla.suse.com/show_bug.cgi?id=1213712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=65
2023-07-27 12:13:15 +00:00
Ana Guerrero
01fb007457 https://bugzilla.suse.com/show_bug.cgi?id=1213712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=65
2023-07-27 12:13:15 +00:00
OBS User buildservice-autocommit
64b6bd841c Updating link to change in openSUSE:Factory/nvme-cli revision 65
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=838556d7b026dd818e32db16710ed99d
2023-07-27 12:13:15 +00:00
Ana Guerrero
ca398d42dd Accepting request 1099870 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1099870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=64
2023-07-26 11:21:34 +00:00
Ana Guerrero
dd19ce75ad Accepting request 1099870 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1099870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=64
2023-07-26 11:21:34 +00:00
Daniel Wagner
18544c9813 Accepting request 1099861 from home:anag:branches:Base:System
Fix nvme-cli in Factory

- Fix FTBFS: Remove nvme-cli-2.4.obscpio and add instead nvme-cli-2.5.obscpio
- Update patch 0100-harden_nvmf-connect@.service.patch
- Update installation path for regress script.

OBS-URL: https://build.opensuse.org/request/show/1099861
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=138
2023-07-21 09:12:55 +00:00
Daniel Wagner
ae3c565f6c OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=137 2023-07-12 16:09:51 +00:00
Dominique Leuenberger
4373a1b237 Accepting request 1076527 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1076527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=63
2023-04-02 17:16:51 +00:00
Dominique Leuenberger
c90bbf6e74 Accepting request 1076527 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1076527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=63
2023-04-02 17:16:51 +00:00
Daniel Wagner
2abae5e095 Accepting request 1076524 from home:wagi:branches:Base:System
- Update to version 2.4:
  * plugins/ocp: Add SMART cloud log to solidigm plugin
  * nvme-print: Unify number base format for nsid
  * nvme-(discover,connect,connect-all): enable options '--keyring' and '--tls_key'
  * nvme-connect: enable option '--tls'
  * nvme-check-tls-key: add options to derive a 'retained' TLS key
  * nvme-gen-tls-key: add options to derive a TLS key
  * plugins/ocp: Move SMART cloud log methods to separate file for reusability
  * nvme: validate storage tag size correctly
  * nvme-print-json: Add json output status function
  * util: Cleanup argconfig parse function
  * nvme: Fix format command function indentation errors
  * util: Use argconfig commandline options pointer directly
  * nvme-print: Fix nvme show status function indentation errors
  * nvme: Check fw-commit command support MUD
  * print: print csi and opcode in error log (TP4113)
  * plugins/inspur: Cast vendor specific smart log value
  * nvme: Use correct ABORT type for self abort test
  * plugins/solidigm: Do not overwrite previously initialized variable
  * nvme-print: sanitize supported-log-pages output
  * nvme: Enforce length to a multiple of 4 in get_log_page
  * nvme: fix block count and data size logic
  * util: Introduce argconfig simple helper to check seen condition
  * plugins/ocp: Add set feature EOL/PLP failure mode no-uuid option
  * plugins/ocp: Refactor to clear feature identifier C1h and C3h
  * plugins/ocp: Add support for clear PCIe correctable error counters feature
  * nvme-doc: update man page for supported-log-pages
  * plugins/ocp: OCP 2.0 field updates for SMART cloud log
  * nvme: Fix parameter limit range
  * fdp: Fix wrong Reclaim Unit Handle Status size

OBS-URL: https://build.opensuse.org/request/show/1076524
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=135
2023-03-31 16:01:35 +00:00
Dominique Leuenberger
1e021ac240 Accepting request 1062070 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1062070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=62
2023-01-31 15:08:49 +00:00
Dominique Leuenberger
b340b43d23 Accepting request 1062070 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1062070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=62
2023-01-31 15:08:49 +00:00
Daniel Wagner
8bf4b974cc Accepting request 1062068 from home:wagi:branches:Base:System
- Update to version 2.3:
  * Added support for Flexible Data Placement (TP4146)
  * Added Persistent Discovery Controller support (TP8013/TP8014)
  * nvme-mi: support for firmware downloads
  * nvme device-self-test learned the --wait command line argument
    which makes nvme-cli to wait (incl. progress bar) in foreground
    until the test has finished.
  * A lot of bug fixes all over the place
- Update spec file
  * Project depends on meson >= 0.50.0
  * make build dependency dropped

OBS-URL: https://build.opensuse.org/request/show/1062068
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=133
2023-01-30 14:36:18 +00:00
Dominique Leuenberger
3d54ca2530 Accepting request 1033048 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1033048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=61
2022-11-03 18:13:47 +00:00
Dominique Leuenberger
4e164340a9 Accepting request 1033048 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1033048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=61
2022-11-03 18:13:47 +00:00
Daniel Wagner
1aa78b710b Accepting request 1033046 from home:wagi:branches:Base:System
- Update to version 2.2.1:
  * Added parsing for Solidigm telemetry observable data.
  * add item ddr_ecc_err_cnt in smart-log-add
  * build: Drop dependency on libuuid
  * build: Fix endian check for cross build
  * build: Remove unused uuid.wrap file
  * build: Remove unusned uuid.h include
  * completions: Add show-topology tab completion
  * fabrics: Honor JSON config file in connect-all command
  * fabrics: Trigger auto connect if config.json exists
  * fabrics: fix 'persistent' handling during connect-all with JSON file
  * fabrics: nvme config --modify depends on -n and -t argument
  * fabrics: re-read the discovery log page when a discovery controller reconnected
  * json: Support uint64 types serialization for older json-c versions
  * nvme, plugins: fix __u64 -> unsigned long long assumptions
  * nvme-print: Add missing values in id-ctrl for JSON output
  * nvme-print: Handle NULL hostid in JSON output
  * nvme-print: Output 128bit values as uint128 type instead of double
  * nvme-print: Print fguid as a UUID
  * nvme-print: Use uint128 JSON function for media_units_written
  * nvme-print: decode MI status values
  * nvme-print: decode status types
  * nvme-print: fix wrong json key
  * nvme: Add helper function to parse 16-bit comma separated list
  * nvme: Add nvme_cmd wrapper for get_features
  * nvme: Add show-topology command
  * nvme: Add wrapper for Format NVM
  * nvme: Add wrapper for Sanitize NVM
  * nvme: Add wrappers for Get Log page helpers
  * nvme: Add wrappers for Identify controller lists
  * nvme: Add wrappers for NS attach/detach
  * nvme: Add wrappers for NS management functions
  * nvme: Add wrappers for basic NS identify
  * nvme: Add wrappers for firmware commands
  * nvme: Fix set feature command to get feature identifier 0Dh length as zero
  * nvme: Introduce a union in struct nvme_dev for different transport types
  * nvme: Introduce nvme_cli_ wrappers, wrap identify and identify_ctrl
  * nvme: Make static nvme_dev private to open_dev(), use locals elsewhere
  * nvme: Masks SSTAT in sanize-log output
  * nvme: Remove static nvme_dev, allocate on open instead
  * nvme: Use correct print format specifier for sizeof arguments
  * nvme: Use local struct nvme_dev for show_registers & map_registers
  * nvme: check if cfg.metadata is NULL before passing it to strlen()
  * nvme: use helpers for checking status types
  * plugins/innogrit: Include timer.h
  * plugins/innogrit: add smart items for smart-log-add
  * plugins/micron-nvme: Use correct print format specifier for sizeof arguments
  * plugins/ocp: Include timer.h
  * plugins/ocp: Output 128bit values as uint128 type instead of double
  * plugins/ocp: pass struct nvme_dev to internal functions
  * plugins/seagate: Add support for OCP
  * plugins/toshiba: pass struct nvme_dev rather than fd + name
  * plugins/virtium: Output 128bit values as uint128 type instead of double
  * plugins/wdc: Add support for SN660 drive
  * plugins/wdc: Add type case for feature id
  * plugins/wdc: Output 128bit values as uint128 type instead of double
  * plugins/wdc: pass a struct nvme_dev around rather than a fd
  * plugins/wdc: pass struct nvme_dev rather than using global nvme_dev
  * plugins/ytmc: pass struct nvme_dev rather than fd + name
  * plugins: Use PRIu64 format specifier for 64bit types
  * print: Add Controller Ready Timeout Exceeded HW error code
  * solidgm: fix initialization warning
  * solidigm: Added parsing for telemetry customer screenable data
  * solidigm: Fix printf format for size_t variable
  * solidigm: Updated Telemetry parsing code to MIT license.
  * subprojects/libnvme: update for MI admin command coverage
  * tests: Update license to GPL-2.0-or-later
  * tree: Add NVMe-MI support
  * tree: Add dev_fd() helper
  * tree: Change nvme_dev from global to static
  * tree: Combine NVMe file descriptor into struct nvme_dev
  * tree: Move global device info to a single struct
  * tree: fail on non-negative return values from parse_and_open
  * udev: Add HOST_IFACE to udev rule
  * util/json.h: Add json_object_get_uint64 fallback implementation
  * util/json: Add 128 bit JSON helpers
  * util/types: Add 128 bit conversion helpers
  * util: Fix le128_to_cpu on big-endian
  * util: Fix le128_to_cpu on little-endian
  * util: Move common type conversion helpers into util section
  * utils/json: Add json_object_new_uint64 for json-c < 0.14
  * utils: Fix uint128_t usage
  * wdc:  OCP Log page updates and fixes
  * zns.c: report zones should be started after retrieved zone
- Handle suse-missing-rclink lint warnings by providing the symlinks
- Drop rpmlintrc as it is not needed anymore

OBS-URL: https://build.opensuse.org/request/show/1033046
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=131
2022-11-03 11:32:41 +00:00
Dominique Leuenberger
92712ff67b Accepting request 1005328 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1005328
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=60
2022-09-22 12:49:39 +00:00
Dominique Leuenberger
d65d86b658 Accepting request 1005328 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1005328
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=60
2022-09-22 12:49:39 +00:00
Daniel Wagner
bcdc35ef09 Accepting request 1005327 from home:wagi:branches:Base:System
- Support auto discovery, add %systemd_ordering to spec file (bsc#1186399)

OBS-URL: https://build.opensuse.org/request/show/1005327
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=129
2022-09-22 07:29:40 +00:00
Daniel Wagner
c40b8c962b Accepting request 1005185 from home:wagi:branches:Base:System
- Fix  "Add %systemd_requires to spec file (bsc#1186399)"
- Mark no binaries rpms as noarch

OBS-URL: https://build.opensuse.org/request/show/1005185
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=128
2022-09-21 11:43:51 +00:00
Daniel Wagner
91b4325ed5 - Add %systemd_requires to spec file (bsc#1186399)
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=127
2022-09-21 08:39:10 +00:00
Daniel Wagner
5889ced66d - Add %systemd_require to spec file (bsc#1186399)
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=126
2022-09-21 08:33:10 +00:00
Dominique Leuenberger
e0b43e6836 Accepting request 997666 from Base:System
OBS-URL: https://build.opensuse.org/request/show/997666
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=59
2022-08-19 15:53:08 +00:00
Dominique Leuenberger
669ef32562 Accepting request 997666 from Base:System
OBS-URL: https://build.opensuse.org/request/show/997666
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=59
2022-08-19 15:53:08 +00:00