Page MenuHomeDevCentral

Read datacube information from pillar
ClosedPublic

Authored by dereckson on May 12 2023, 22:14.
Tags
None
Referenced Files
F3606421: D3087.id7881.diff
Mon, Sep 30, 02:19
Unknown Object (File)
Fri, Sep 27, 01:37
Unknown Object (File)
Wed, Sep 25, 19:00
Unknown Object (File)
Tue, Sep 24, 23:16
Unknown Object (File)
Tue, Sep 17, 14:04
Unknown Object (File)
Thu, Sep 12, 02:49
Unknown Object (File)
Thu, Sep 12, 01:08
Unknown Object (File)
Wed, Sep 11, 21:46
Subscribers
None

Details

Summary

The new datacubes pillar entry will allow to add arguments,
like the user for the directory or the ZFS volume.

Ref T1537

Test Plan

Deploy on WindRiver, should be no-op

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
datacube-pillar
Build Status
Buildable 4876
Build 5157: arc lint + arc unit

Event Timeline

Restore {{ tank }}/datacube

/datacube subdirs are correctly no-op:

Complector
$ salt windriver state.apply roles/devserver/datacube test=True
windriver:
----------
          ID: /datacube
    Function: file.directory
      Result: None
     Comment: The following files will be changed:
              /datacube: mode - 0711
     Started: 22:18:58.261691
    Duration: 8.386 ms
     Changes:
              ----------
              /datacube:
                  ----------
                  mode:
                      0711
----------
          ID: arcology/datacube
    Function: zfs.filesystem_present
      Result: True
     Comment: filesystem arcology/datacube is uptodate
     Started: 22:18:58.270735
    Duration: 32.547 ms
     Changes:
----------
          ID: arcology/datacube/bak
    Function: zfs.filesystem_present
      Result: True
     Comment: filesystem arcology/datacube/bak is uptodate
     Started: 22:18:58.303499
    Duration: 16.318 ms
     Changes:
----------
          ID: arcology/datacube/git
    Function: zfs.filesystem_present
      Result: True
     Comment: filesystem arcology/datacube/git is uptodate
     Started: 22:18:58.320045
    Duration: 17.354 ms
     Changes:
----------
          ID: arcology/datacube/t
    Function: zfs.filesystem_present
      Result: True
     Comment: filesystem arcology/datacube/t is uptodate
     Started: 22:18:58.337633
    Duration: 17.374 ms
     Changes:

Summary for windriver
------------
Succeeded: 5 (unchanged=1, changed=1)
Failed:    0
------------
Total states run:     5
Total run time:  91.979 ms
This revision is now accepted and ready to land.May 12 2023, 22:19
This revision was automatically updated to reflect the committed changes.