Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cva dev #593

Closed
wants to merge 12 commits into from
Closed

cva dev #593

wants to merge 12 commits into from

Commits on Sep 26, 2024

  1. Fix a go vet warning in resvol

    drivers/resvol/main.go:364:7: github.com/opensvc/om3/util/key.T struct literal uses unkeyed fields
    cvaroqui authored and cgalibern committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    6cba954 View commit details
    Browse the repository at this point in the history
  2. Remove "om dns dump" and show "om daemon dns dump"

    One less breaking change, freeing the "dns" object name again,
    same as b2.1
    
    Also coherent with "om daemon relay status" commande location
    in the command tree.
    cvaroqui authored and cgalibern committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    741a4ee View commit details
    Browse the repository at this point in the history
  3. Fix "om mon" not honoring --color value

    coloring functions and icons where renderer before color.noColor is set,
    so ended up always colored.
    cvaroqui authored and cgalibern committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    333cf7d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7428e81 View commit details
    Browse the repository at this point in the history
  5. Remove viper from core/ox

    Also drop the --config flag.
    cvaroqui authored and cgalibern committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    e6c2158 View commit details
    Browse the repository at this point in the history
  6. Move Frame struct from core/cluster to core/monitor

    And move daemon/ccfg.getClusterConfig() to core/cluster.GetConfig(), so
    it can be called from the CRM too.
    cvaroqui authored and cgalibern committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    72bae11 View commit details
    Browse the repository at this point in the history
  7. Move object.FileToKey() to a new util/keystore mod

    So ox can use this func without requiring the object mod.
    cvaroqui authored and cgalibern committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    65a8fdd View commit details
    Browse the repository at this point in the history
  8. Mark "ox <sel> enter" todo

    cvaroqui authored and cgalibern committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    752bf34 View commit details
    Browse the repository at this point in the history
  9. Implement "ox edit key"

    cvaroqui authored and cgalibern committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    6e99956 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1b8eaf9 View commit details
    Browse the repository at this point in the history
  11. Remove viper import

    viper was used to load:
    
    * /etc/{default,sysconfig}/opensvc
      for OSVC_ROOT_PATH, OSVC_CLUSTERNAME
      => replace by direct use of gotenv.ParseStrict(), the mod that vipers
         imports.
    
    * /etc/cluster.conf
      for caching of NodeSection and ClusterSection
      => the daemon already switched to cluster.ConfigData for this caching.
         just teach the CRM to use directly object.Ccfg.Config
    
    * ~/.opensvc/config.yaml
      for output colors.
      => Use OSVC_COLORS=primary=blue:secondary=yellow env var instead, like
         the ls command does.
    
    Related changes:
    
    * rawconfig.LoadSection() is dropped.
    
    * clusternode.Get() is no longer used.
    
    * client.New() does no longer know how to get the cluster secret, so the
      caller must set it with the WithPassword() funcopt.
    
    * New resource manifest context keys: ContextObjectFQDN and
      ContextObjectDomain.
    
    * nodeselector now only look at the nodes_info.json to find cluster
      nodes.
    
    * replace omcrypto.Message type with omcrypto.Factory that implement the
      encryptDecrypter interface required by the sec and usr object kinds.
    cvaroqui authored and cgalibern committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    731c2db View commit details
    Browse the repository at this point in the history
  12. Adapt the symmetrix array driver for captype=cyl

    Newer symcli don't accept MB captype anymore.
    cvaroqui authored and cgalibern committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    a0a3118 View commit details
    Browse the repository at this point in the history