Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-22195

Make `pcs resource update` more intuitive and powerful [rhel-10]

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-9.3.0
    • pcs
    • None
    • High
    • rhel-ha
    • 40
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • None
    • None
    • Enhancement
    • Hide
      Feature, enhancement (describe the feature or enhancement from the user’s point of view):
      Reason (why has the feature or enhancement been implemented):
      Result (what is the current user experience):
      Show
      Feature, enhancement (describe the feature or enhancement from the user’s point of view): Reason (why has the feature or enhancement been implemented): Result (what is the current user experience):
    • None

      Goal

      All statements are bound to the behavior of `pcs resource update` command:

      • updating operations will no longer remove unspecified attributes that were set previously (for example: https://bugzilla.redhat.com/show_bug.cgi?id=1671597)
      • add ability to update operations by id
      • add ability to delete operations
      • keep current behavior in CLI but strengthen some checks (see Acceptance Criteria)

      Acceptance Criteria

      • This old syntax of the command is deprecated:
        update <resource id> [resource options] [op [<operation action> <operation options>]...] [meta <meta operations>...] [--agent-validation] [--wait[=n]]
        
      • The command has a new syntax:
        update <resource id> [resource options] 
        [op (add <operation action> [<operation options>]) | 
        (op update <operation id> <operation options>) | 
        (op delete | remove <operation id>)...]
        [meta <meta options>] [--agent-validation] [--wait[=n]]
        
      • Disallow updating of meta options remote-node and remote-addr without --force.
      • Setting meta options for clone and group resources without explicitly specifying meta is deprecated.
      • There is an API v2 call for resource meta and resource update lib commands.
      • Man page and help text is updated accordingly.
      • There are corresponding pcs / pcsd capabilities.

              mpospisi@redhat.com Michal Pospisil
              mpospisi@redhat.com Michal Pospisil
              Michal Pospisil Michal Pospisil
              Nina Hostakova Nina Hostakova
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: