Skip to content

Unable to set global parameters in command line mode #89

@guoguojenna

Description

@guoguojenna

I enabled CI testing in my forked repository of configshell-fb to validate changes. The CI workflow:

  1. Builds an RPM package from the latest source code
  2. Uses the newly built configshell-fb RPM while keeping other dependencies from Fedora/centos stream repositories
  3. Runs the test suite

Through this testing, I discovered an issue that where global parameters cannot be set in command line mode, though they work correctly in interactive mode. For example:

# targetcli /iscsi/ get global max_backup_files
max_backup_files=11 
# targetcli /iscsi/ set global max_backup_files=6
Parameter max_backup_files is now '6'.
# targetcli /iscsi/ get global max_backup_files
max_backup_files=11 
# targetcli /iscsi/ set global max_backup_files=10
Parameter max_backup_files is now '10'.
# targetcli /iscsi/ get global max_backup_files
max_backup_files=11 

https://artifacts.dev.testing-farm.io/72dcf404-3342-4bcb-9e5e-39e26e97ba9b/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions