(CommandList children: [ (C {(set)} {(-x)}) (C {(rm)} {(-f)} {(/etc/ceph/) (Lit_Other "*")}) (C {(pkill)} {(-9)} {(ceph-mon)}) (C {(pkill)} {(-9)} {(ceph-osd)}) (C {(pkill)} {(-9)} {(ceph-mds)}) (C {(mkdir)} {(-p)} {(/var/lib/ceph)}) (C {(mkdir)} {(-p)} {(/var/lib/ceph/osd)}) (C {(mkdir)} {(-p)} {(/var/lib/ceph/osd/ceph-0)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:MASTER) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(hostname)} {(-s)})]) left_token: <Left_Backtick "`"> spids: [105 109] ) } spids: [104] ) ] spids: [104] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ip) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(ip)} {(-4)} {(-o)} {(a)}) (C {(grep)} {(eth0)}) (C {(awk)} {(SQ <"{print $4}">)}) (C {(cut)} {(-d) (SQ </>)} {(-f1)}) ] negated: False ) ] ) left_token: <Left_CommandSub "$("> spids: [113 146] ) } spids: [112] ) ] spids: [112] ) (SimpleCommand words: [{(echo)} {(DQ ($ VSub_Name "$ip") (" ") ($ VSub_Name "$MASTER"))}] redirects: [(Redir op_id:Redir_DGreat fd:-1 arg_word:{(/etc/hosts)} spids:[156])] ) (C {(ceph-deploy)} {(--overwrite-conf)} {(new)} {(${ VSub_Name MASTER)}) (C {(ceph-deploy)} {(--overwrite-conf)} {(mon)} {(create-initial)} {(${ VSub_Name MASTER)}) (C {(ceph-deploy)} {(--overwrite-conf)} {(mon)} {(create)} {(${ VSub_Name MASTER)}) (C {(ceph-deploy)} {(gatherkeys)} {(${ VSub_Name MASTER)}) (SimpleCommand words: [{(echo)} {(DQ ("osd crush chooseleaf type = 0"))}] redirects: [(Redir op_id:Redir_DGreat fd:-1 arg_word:{(/etc/ceph/ceph.conf)} spids:[218])] ) (SimpleCommand words: [{(echo)} {(DQ ("osd journal size = 100"))}] redirects: [(Redir op_id:Redir_DGreat fd:-1 arg_word:{(/etc/ceph/ceph.conf)} spids:[228])] ) (SimpleCommand words: [{(echo)} {(DQ ("osd pool default size = 1"))}] redirects: [(Redir op_id:Redir_DGreat fd:-1 arg_word:{(/etc/ceph/ceph.conf)} spids:[238])] ) (SimpleCommand words: [{(echo)} {(DQ ("osd pool default pgp num = 8"))}] redirects: [(Redir op_id:Redir_DGreat fd:-1 arg_word:{(/etc/ceph/ceph.conf)} spids:[248])] ) (SimpleCommand words: [{(echo)} {(DQ ("osd pool default pg num = 8"))}] redirects: [(Redir op_id:Redir_DGreat fd:-1 arg_word:{(/etc/ceph/ceph.conf)} spids:[258])] ) (C {(/sbin/service)} {(ceph)} {(-c)} {(/etc/ceph/ceph.conf)} {(stop)} {(mon.) (${ VSub_Name MASTER)}) (C {(/sbin/service)} {(ceph)} {(-c)} {(/etc/ceph/ceph.conf)} {(start)} {(mon.) (${ VSub_Name MASTER)}) (C {(ceph)} {(osd)} {(create)}) (C {(ceph-osd)} {(-i)} {(0)} {(--mkfs)} {(--mkkey)}) (C {(ceph)} {(auth)} {(add)} {(osd.0)} {(osd)} {(SQ <"allow *">)} {(mon)} {(SQ <"allow rwx">)} {(-i)} {(/var/lib/ceph/osd/ceph-0/keyring)} ) (C {(ceph)} {(osd)} {(crush)} {(add)} {(0)} {(1)} {(Lit_VarLike "root=") (default)} {(Lit_VarLike "host=") (${ VSub_Name MASTER)} ) (C {(ceph-osd)} {(-i)} {(0)} {(-k)} {(/var/lib/ceph/osd/ceph-0/keyring)}) (C {(ceph)} {(osd)} {(tree)}) (C {(ceph)} {(osd)} {(pool)} {(create)} {(cephfs_data)} {(4)}) (C {(ceph)} {(osd)} {(pool)} {(create)} {(cephfs_metadata)} {(4)}) (C {(ceph)} {(fs)} {(new)} {(cephfs)} {(cephfs_metadata)} {(cephfs_data)}) (C {(ceph-deploy)} {(--overwrite-conf)} {(mds)} {(create)} {(${ VSub_Name MASTER)}) (Pipeline children:[(C {(ps)} {(-ef)})(C {(grep)} {(ceph)})] negated:False) (C {(ceph)} {(osd)} {(dump)}) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/etc/ceph/ceph.client.kube.keyring)} spids: [465] ) (HereDoc op_id: Redir_DLess fd: -1 body: { (DQ ("[client.kube]\n") (" key = AQAMgXhVwBCeDhAA9nlPaFyfUSatGD4drFWDvQ==\n") (" caps mds = ") (Right_DoubleQuote "\"") ("allow rwx") (Right_DoubleQuote "\"") ("\n") (" caps mon = ") (Right_DoubleQuote "\"") ("allow rwx") (Right_DoubleQuote "\"") ("\n") (" caps osd = ") (Right_DoubleQuote "\"") ("allow rwx") (Right_DoubleQuote "\"") ("\n") ) } do_expansion: True here_end: EOF was_filled: True spids: [469] ) ] ) (C {(ceph)} {(auth)} {(import)} {(-i)} {(/etc/ceph/ceph.client.kube.keyring)}) (C {(ceph-fuse)} {(-m)} {(${ VSub_Name MASTER) (Lit_Other ":") (6789)} {(/mnt)}) (C {(cp)} {(/tmp/index.html)} {(/mnt)}) (C {(chmod)} {(644)} {(/mnt/index.html)}) (C {(ceph)} {(-w)}) ] )