Skip to content

Instantly share code, notes, and snippets.

(venv) paloalto@openstackclient:~$ openstack image show LiaC-msft-w10-disk1
+------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Keybase proof

I hereby claim:

  • I am rmeleromira on github.
  • I am techistheway (https://keybase.io/techistheway) on keybase.
  • I have a public key ASDMx5U-PKYgLDmeqbaJ6_DtD345sHi_E31VEqHr-cc8WQo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am rmeleromira on github.
* I am techistheway (https://keybase.io/techistheway) on keybase.
* I have a public key ASDMx5U-PKYgLDmeqbaJ6_DtD345sHi_E31VEqHr-cc8WQo
To claim this, I am signing this object:
root@sec38:~# zen-cli z_gettotalbalance
{
"transparent": "0.00",
"private": "0.002",
"total": "0.002"
}
root@sec:/home/zend/nodetracker# zen-cli z_gettotalbalance
{
"transparent": "0.00",
"private": "0.002",
"total": "0.002"
}
2018-07-26 02:02:22,063 [salt.loaded.int.module.cmdmod:392 ][INFO ][18417] Executing command 'qemu-nbd -c /dev/nbd9 /var/lib/libvirt/images/ctl01.trainings.local/system.qcow2' in directory '/root'
2018-07-26 02:02:22,137 [salt.loaded.int.module.cmdmod:392 ][INFO ][18417] Executing command 'sfdisk -d /dev/nbd9' in directory '/root'
2018-07-26 02:02:22,206 [salt.loaded.int.module.cmdmod:392 ][INFO ][18417] Executing command 'partprobe /dev/nbd9' in directory '/root'
2018-07-26 02:02:23,282 [salt.loaded.int.module.cmdmod:392 ][INFO ][18417] Executing command 'mount -o defaults /dev/nbd9p1 /tmp/nbd/nbd9/nbd9p1' in directory '/root'
2018-07-26 02:02:24,142 [salt.loaded.ext.module.seedng:161 ][INFO ][18417] salt-minion pre-installed on image, configuring as ctl01.trainings.local
2018-07-26 02:02:24,153 [salt.loaded.int.module.cmdmod:392 ][INFO ][18417] Executing command 'mount -l' in directory '/root'
2018-07-26 02:02:24,234 [salt.loaded.int.module.cmdmod:392 ][INFO ][18417] Executing command '
root@ubuntu-xenial:~# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists... Done
root@ubuntu-xenial:~# apt-get install python3 python3-pip python-lxc libssl-dev git -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@ctl01:~# ceilometer --debug meter-list
DEBUG (client) RESP BODY: {"error_message": {"debuginfo": null, "faultcode": "Server", "faultstring": "TransportError(400, u'parsing_exception')"}}
root@log01:~# curator_cli --dry-run --host log01 delete_indices --filter_list '[{"filtertype":"pattern","kind":"regex","value":"^(log|notification)-.*$"},{"direction": "older", "exclude": "null", "filtertype": "age", "source": "name", "timestring": "%Y.%m.%d"}]'
2018-05-07 16:44:49,884 ERROR Schema error: expected bool for dictionary value @ data['exclude']
2018-05-07 16:44:49,884 ERROR Schema error: Configuration: filter: Location: singleton, filter #1: {'direction': 'older', 'exclude': 'null', 'filtertype': 'age', 'source': 'name', 'timestring': '%Y.%m.%d'}: Bad Value: "null", expected bool for dictionary value @ data['exclude']. Check configuration file.
root@cryptomn:~# cat clone2.sh
#!/bin/bash
set -x
template=$1
new=$2
fqdn=$3
stake=$4
newip=$5
echo "copying container $template to $new"
lxc-copy -n $1 -N $2