Skip to content

Instantly share code, notes, and snippets.

View vmorris's full-sized avatar

Vance Morris vmorris

View GitHub Profile
@vmorris
vmorris / terraform_run.log
Created May 4, 2016 14:59
terraform plan, apply, destroy - instance volume not removed
(openstack) volume list
+--------------------------------------+--------------+-----------+------+-----------------------------------------------+
| ID | Display Name | Status | Size | Attached to |
+--------------------------------------+--------------+-----------+------+-----------------------------------------------+
| 718e3e3e-f577-4f69-8530-f423b65e5bb3 | None | in-use | 10 | Attached to vem-terraform-ubuntu on /dev/vda |
| 4fcc3064-2129-4042-9880-dde32ca5ef3a | None | in-use | 10 | Attached to vem-terraform-sles on /dev/vda |
+--------------------------------------+--------------+-----------+------+-----------------------------------------------+
vance@zs95k5:~/terraform/ubu-sle$ terraform plan
Refreshing Terraform state prior to plan...
Errors:
* openstack_compute_instance_v2.vm1: 1 error(s) decoding:
* '' has invalid keys: custom_install
provider "openstack" {
user_name = "${var.user_name}"
tenant_name = "${var.tenant_name}"
password = "${var.password}"
auth_url = "${var.auth_url}"
}
resource "openstack_compute_instance_v2" "vm1" {
name = "${var.name}"
region = "${var.region}"
openstack_compute_floatingip_v2.floating_ip_vm1: Creating...
address: "" => "<computed>"
fixed_ip: "" => "<computed>"
instance_id: "" => "<computed>"
pool: "" => "External-10.20.102"
region: "" => "RegionOne"
Error applying plan:
1 error(s) occurred:
#!/usr/bin/env python
modules = {
'sys': 'sys',
'os': 'os',
'time': 'time',
'foo': 'foo',
'bar': 'bar'
}
unit-rabbitmq-server-0: 00:06:58 INFO juju.worker.uniter no operations in progress; waiting for changes
unit-rabbitmq-server-0: 00:06:58 DEBUG unit.rabbitmq-server/0.juju-log Hardening function 'install'
unit-rabbitmq-server-0: 00:06:59 DEBUG unit.rabbitmq-server/0.juju-log Hardening function 'upgrade_charm'
unit-rabbitmq-server-0: 00:06:59 DEBUG unit.rabbitmq-server/0.juju-log Hardening function 'config_changed'
unit-rabbitmq-server-0: 00:06:59 DEBUG unit.rabbitmq-server/0.juju-log Hardening function 'update_status'
unit-rabbitmq-server-0: 00:06:59 DEBUG unit.rabbitmq-server/0.juju-log No hardening applied to 'update_status'
unit-rabbitmq-server-0: 00:06:59 INFO unit.rabbitmq-server/0.juju-log Updating status.
unit-rabbitmq-server-0: 00:07:06 INFO unit.rabbitmq-server/0.juju-log getting local nodename for ip address: 10.113.186.139
unit-rabbitmq-server-0: 00:07:07 INFO unit.rabbitmq-server/0.juju-log local nodename: ubuntu
unit-rabbitmq-server-0: 00:07:07 DEBUG unit.rabbitmq-server/0.juju-log Running ['/usr/
machine-0: 10:11:13 INFO juju.cmd running jujud [2.0-rc3 gc go1.6.2]
machine-0: 10:11:13 DEBUG juju.cmd args: []string{"/var/lib/juju/tools/machine-0/jujud", "machine", "--data-dir", "/var/lib/juju", "--machine-id", "0", "--debug"}
machine-0: 10:11:13 DEBUG juju.agent read agent config, format "2.0"
machine-0: 10:11:13 INFO juju.cmd.jujud machine agent machine-0 start (2.0-rc3 [gc])
machine-0: 10:11:13 DEBUG juju.wrench couldn't read wrench directory: stat /var/lib/juju/wrench: no such file or directory
machine-0: 10:11:13 INFO juju.worker.upgradesteps no upgrade steps required or upgrade steps for 2.0-rc3 have already been run.
machine-0: 10:11:13 INFO juju.worker start "engine"
machine-0: 10:11:13 DEBUG juju.worker.dependency "proxy-config-updater" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
machine-0: 10:11:13 DEBUG juju.worker.dependency "storage-provisioner" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
machine-0: 1
vance@zs93kvi:~$ juju remove-unit rabbitmq-server/1 --debug
13:27:37 INFO juju.cmd supercommand.go:63 running juju [2.0-rc3 gc go1.6.2]
13:27:37 DEBUG juju.cmd supercommand.go:64 args: []string{"juju", "remove-unit", "rabbitmq-server/1", "--debug"}
13:27:37 INFO juju.juju api.go:72 connecting to API addresses: [10.113.186.232:17070]
13:27:37 INFO juju.api apiclient.go:507 dialing "wss://10.113.186.232:17070/model/9d757d27-e23d-45ad-8fdf-0bc4d0db83ea/api"
13:27:37 INFO juju.api apiclient.go:302 connection established to "wss://10.113.186.232:17070/model/9d757d27-e23d-45ad-8fdf-0bc4d0db83ea/api"
13:27:37 DEBUG juju.juju api.go:263 API hostnames unchanged - not resolving
13:27:37 DEBUG juju.api apiclient.go:558 health ping failed: connection is shut down
13:27:37 INFO cmd supercommand.go:465 command finished
unit-mysql-0: 16:03:09 INFO unit.mysql/0.juju-log Installing python-jinja2 with options: ['--option=Dpkg::Options::=--force-confold']
unit-mysql-0: 16:03:09 INFO unit.mysql/0.update-status Reading package lists...
unit-mysql-0: 16:03:09 INFO unit.mysql/0.update-status Building dependency tree...
unit-mysql-0: 16:03:09 INFO unit.mysql/0.update-status Reading state information...
unit-mysql-0: 16:03:09 INFO unit.mysql/0.update-status python-jinja2 is already the newest version (2.8-1).
unit-mysql-0: 16:03:09 INFO unit.mysql/0.update-status 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
unit-mysql-0: 16:03:09 INFO unit.mysql/0.update-status Traceback (most recent call last):
unit-mysql-0: 16:03:09 INFO unit.mysql/0.update-status File "/var/lib/juju/agents/unit-mysql-0/charm/hooks/update-status", line 68, in <module>
unit-mysql-0: 16:03:09 INFO unit.mysql/0.update-status from charmhelpers.contrib.hardening.harden import harden
unit-mysql-0: 16:03:09 INFO unit.mysql/0.update-status File "/v
Oct 10 15:16:22 juju-84a348-0 mongod.37017[20713]: [initandlisten] MongoDB starting : pid=20713 port=37017 dbpath=/var/lib/juju/db 64-bit host=juju-84a348-0
Oct 10 15:16:22 juju-84a348-0 mongod.37017[20713]: [initandlisten] db version v3.2.9
Oct 10 15:16:22 juju-84a348-0 mongod.37017[20713]: [initandlisten] git version: 22ec9e93b40c85fc7cae7d56e7d6a02fd811088c
Oct 10 15:16:22 juju-84a348-0 mongod.37017[20713]: [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
Oct 10 15:16:22 juju-84a348-0 mongod.37017[20713]: [initandlisten] allocator: system
Oct 10 15:16:22 juju-84a348-0 mongod.37017[20713]: [initandlisten] modules: none
Oct 10 15:16:22 juju-84a348-0 mongod.37017[20713]: [initandlisten] build environment:
Oct 10 15:16:22 juju-84a348-0 mongod.37017[20713]: [initandlisten] distarch: s390x
Oct 10 15:16:22 juju-84a348-0 mongod.37017[20713]: [initandlisten] target_arch: s390x
Oct 10 15:16:22 juju-84a348-0 mongod.37017[20713]: [initandlisten] options: { net: { ipv6: true, port: 37017, ssl: { PEMK