{"push_id":2765549859,"size":1,"distinct_size":1,"ref":"refs/heads/bugfix/storage_partition_scope_fixes_STACKI_567","head":"8594d98d99fc06aaff66ea6ccbbec2619f41fe53","before":"a827e8b8b749e340518f53b2f444b646a617a4dc","commits":[{"sha":"8594d98d99fc06aaff66ea6ccbbec2619f41fe53","author":{"name":"Taylor Sanchez","email":"02d9e57f6490303088a087740e3c1d020c692d7e@gmail.com"},"message":"BUGFIX: storage partition scope fixes\n\nParameter \"scope\" defaults to global for:\n  `stack <add|list|remove> storage partition scope=<global|os|appliance|host|environment>`\n\n\"scope\" can also be input via object:\n  `stack add <os|appliance|host|environment> storage partition`\n\nBackwards compatibility with scope-less partition.csv\nScope column added to partition.csv to avoid possible overlapping names.\n    Name,Scope,Device,Mountpoint,Size,Type,Options\n    backend-0-1,host,sda,,40,,--asprimary --partition_id=18\n    backend-0-0,,sda,,40,,--asprimary --partition_id=18\n    global,global,sda,,40,,--asprimary --partition_id=18\n    test,environment,sda,,40,,--asprimary --partition_id=18\n    sles,os,sda,,40,,--asprimary --partition_id=18\n    backend,appliance,sda,,40,,--asprimary --partition_id=1\n\nstack <add|list|remove> storage partition commands require scope when called\n`stack list storage partition` now lists scope and name.\nPreviously name was labaled as scope.\nPreviously all partitions settings were list by default, now scope is needed:\n\nold list:\n    frontend-0-0:~ # stack list storage partition\n    SCOPE       DEVICE PARTID MOUNTPOINT SIZE FSTYPE OPTIONS\n    global      sda    1      ---------- 40   ------ --asprimary --partition_id=18 1\n    backend-0-1 sda    1      ---------- 40   ------ --asprimary --partition_id=18 1\n    backend-0-0 sda    1      ---------- 40   ------ --asprimary --partition_id=18 1\n    backend     sda    1      ---------- 40   ------ --asprimary --partition_id=18 1\n\nnew list:\n    frontend-0-0:~ # stack list storage partition\n    SCOPE  DEVICE PARTID MOUNTPOINT SIZE FSTYPE OPTIONS\n    global sda    1      ---------- 40   ------ --asprimary --partition_id=18\n    frontend-0-0:~ # stack list host storage partition\n    SCOPE NAME        DEVICE PARTID MOUNTPOINT SIZE FSTYPE OPTIONS\n    host  backend-0-0 sda    1      ---------- 40   ------ --asprimary --partition_id=18\n    host  backend-0-1 sda    1      ---------- 40   ------ --asprimary --partition_id=18\n\nBREAKING CHANGE:\nDatabase enum addition\n    ```\n    $ mysql cluster\n    MariaDB [cluster]> ALTER TABLE storage_partition MODIFY COLUMN Scope enum('global', 'os', 'appliance', 'host', 'environment');\n\nINTERNAL:\nController load errors now raise errors instead of just calling the error function.","distinct":true,"url":"https://api.github.com/repos/Teradata/stacki/commits/8594d98d99fc06aaff66ea6ccbbec2619f41fe53"}]}
{"actor":{"display_login":"TaylorSanchez"}}