Skip to content

Instantly share code, notes, and snippets.

@andyshinn
Last active August 8, 2017 04:49
Show Gist options
  • Save andyshinn/5dc9c84cf4ed3b04f2a2c69acafcfc9d to your computer and use it in GitHub Desktop.
Save andyshinn/5dc9c84cf4ed3b04f2a2c69acafcfc9d to your computer and use it in GitHub Desktop.
ubuntu@maasnode7:~$ ps fauxw
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         2  0.0  0.0      0     0 ?        S    04:16   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [kworker/0:0H]
root         7  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [rcu_sched]
root         8  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [rcu_bh]
root         9  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [migration/0]
root        10  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [watchdog/0]
root        11  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [kdevtmpfs]
root        12  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [netns]
root        13  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [perf]
root        14  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [khungtaskd]
root        15  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [writeback]
root        16  0.0  0.0      0     0 ?        SN   04:16   0:00  \_ [ksmd]
root        18  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [crypto]
root        19  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [kintegrityd]
root        20  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [bioset]
root        21  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [kblockd]
root        22  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [ata_sff]
root        23  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [md]
root        24  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [devfreq_wq]
root        25  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [kworker/u2:1]
root        28  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [kswapd0]
root        29  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [vmstat]
root        30  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [fsnotify_mark]
root        31  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [ecryptfs-kthrea]
root        47  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [kthrotld]
root        48  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [acpi_thermal_pm]
root        49  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [bioset]
root        50  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [bioset]
root        51  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [bioset]
root        52  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [bioset]
root        53  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [bioset]
root        54  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [bioset]
root        55  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [bioset]
root        56  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [bioset]
root        57  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [scsi_eh_0]
root        58  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [scsi_tmf_0]
root        59  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [scsi_eh_1]
root        60  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [scsi_tmf_1]
root        66  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [ipv6_addrconf]
root        79  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [deferwq]
root        80  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [charger_manager]
root        81  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [bioset]
root       131  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [kpsmoused]
root       150  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [kworker/0:1H]
root       165  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [scsi_eh_2]
root       166  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [scsi_tmf_2]
root       167  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [bioset]
root       240  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [raid5wq]
root       269  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [bioset]
root       293  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [jbd2/sda1-8]
root       294  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [ext4-rsv-conver]
root       358  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [iscsi_eh]
root       381  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [kauditd]
root       429  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [ib_addr]
root       439  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [ib_mcast]
root       440  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [ib_nl_sa_wq]
root       450  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [ib_cm]
root       451  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [iw_cm_wq]
root       452  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [rdma_cm]
root       478  0.0  0.0      0     0 ?        S    04:16   0:00  \_ [kworker/0:6]
root       537  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [iprt-VBoxWQueue]
root       805  0.0  0.0      0     0 ?        S<   04:16   0:00  \_ [ttm_swap]
root      4795  0.0  0.0      0     0 ?        S    04:32   0:00  \_ [kworker/0:0]
root      4804  0.0  0.0      0     0 ?        S    04:33   0:00  \_ [kworker/u2:2]
root         1  0.0  0.1  37640  5704 ?        Ss   04:16   0:01 /sbin/init
root       366  0.0  0.2  40184  7936 ?        Ss   04:16   0:00 /lib/systemd/systemd-journald
root       399  0.0  0.0  94772  1524 ?        Ss   04:16   0:00 /sbin/lvmetad -f
root       423  0.0  0.1  44360  4008 ?        Ss   04:16   0:00 /lib/systemd/systemd-udevd
systemd+   493  0.0  0.0 100324  2696 ?        Ssl  04:16   0:00 /lib/systemd/systemd-timesyncd
root       986  0.0  0.0   5224   160 ?        Ss   04:16   0:00 /sbin/iscsid
root       987  0.0  0.0   5724  3524 ?        S<Ls 04:16   0:00 /sbin/iscsid
root       989  0.0  0.1 272944  5868 ?        Ssl  04:16   0:00 /usr/lib/accountsservice/accounts-daemon
message+   992  0.0  0.1  42952  4152 ?        Ss   04:16   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root      1007  0.0  0.0  26068  2536 ?        Ss   04:16   0:00 /usr/sbin/cron -f
root      1014  0.0  0.0   4400  1320 ?        Ss   04:16   0:00 /usr/sbin/acpid
syslog    1030  0.0  0.1 260632  3744 ?        Ssl  04:16   0:00 /usr/sbin/rsyslogd -n
daemon    1033  0.0  0.0  26044  2284 ?        Ss   04:16   0:00 /usr/sbin/atd -f
root      1038  0.0  0.0  28680  3096 ?        Ss   04:16   0:00 /lib/systemd/systemd-logind
root      1042  0.0  0.0  95368  1396 ?        Ssl  04:16   0:00 /usr/bin/lxcfs /var/lib/lxcfs/
root      1045  0.0  0.6 278516 24976 ?        Ssl  04:16   0:00 /usr/lib/snapd/snapd
root      1068  0.0  0.1 277180  6048 ?        Ssl  04:16   0:00 /usr/lib/policykit-1/polkitd --no-debug
root      1118  0.0  0.0  13376   168 ?        Ss   04:16   0:00 /sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --syslog
root      1133  0.0  0.0  14660  1768 tty1     Ss+  04:16   0:00 /sbin/agetty --noclear tty1 linux
root      1222  0.0  0.1  65520  5444 ?        Ss   04:16   0:00 /usr/sbin/sshd -D
root      1466  0.0  0.1  95364  6748 ?        Ss   04:17   0:00  \_ sshd: ubuntu [priv]
ubuntu    1596  0.0  0.1  95364  4036 ?        S    04:17   0:00      \_ sshd: ubuntu@pts/0
ubuntu    4861  0.2  0.1  21392  5264 pts/0    Ss   04:47   0:00          \_ -bash
ubuntu    4879  0.0  0.0  36228  3512 pts/0    R+   04:48   0:00              \_ ps fauxw
ubuntu    1516  0.0  0.1  45248  4676 ?        Ss   04:17   0:00 /lib/systemd/systemd --user
ubuntu    1518  0.0  0.0  61188  1904 ?        S    04:17   0:00  \_ (sd-pam)
ntp       2335  0.0  0.1  40264  4972 ?        Ss   04:17   0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 112:116
root      4364  0.8  3.6 834732 131156 ?       Ssl  04:18   0:14 /usr/lib/juju/mongo3.2/bin/mongod --dbpath /var/lib/juju/db --sslPEMKeyFile /var/lib/juju/server.pem --ssl
root      4504  0.0  0.0  18036  2960 ?        Ss   04:18   0:00 bash /var/lib/juju/init/jujud-machine-0/exec-start.sh
root      4511  0.3  1.9 453856 69888 ?        Sl   04:18   0:06  \_ /var/lib/juju/tools/machine-0/jujud machine --data-dir /var/lib/juju --machine-id 0 --debug
root      4644  0.0  0.1  30024  5360 ?        Sl   04:18   0:00 lxd-bridge-proxy --addr=[fe80::1%lxdbr0]:13128
root      4666  0.2  0.4 453084 17608 ?        Ssl  04:18   0:03 /usr/bin/lxd --group lxd --logfile=/var/log/lxd/lxd.log
$ conjure-up kubernetes
Exception in ev.run():
Traceback (most recent call last):
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/ubuntui/ev.py", line 82, in run
    cls.loop.run()
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/urwid/main_loop.py", line 1328, in run
    raise self._exc_info[0](self._exc_info[1]).with_traceback(self._exc_info[2])
  File "/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/events.py", line 127, in _run
    self._callback(*self._args)
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/conjureup/ui/views/deploystatus.py", line 31, in _refresh_nodes_on_main_thread
    status = model_status()
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/conjureup/juju.py", line 32, in _decorator
    login(force=True)
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/conjureup/juju.py", line 123, in login
    uuid = get_model(app.current_controller, app.current_model)['model-uuid']
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/conjureup/juju.py", line 756, in get_model
    "Unable to find model: {}".format(name))
LookupError: Unable to find model: conjure-up-kubernetes-core-802
Traceback (most recent call last):
  File "/usr/local/bin/conjure-up", line 11, in <module>
    load_entry_point('conjure-up==2.2b2', 'console_scripts', 'conjure-up')()
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/conjureup/app.py", line 367, in main
    EventLoop.run()
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/ubuntui/ev.py", line 82, in run
    cls.loop.run()
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/urwid/main_loop.py", line 1328, in run
    raise self._exc_info[0](self._exc_info[1]).with_traceback(self._exc_info[2])
  File "/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/events.py", line 127, in _run
    self._callback(*self._args)
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/conjureup/ui/views/deploystatus.py", line 31, in _refresh_nodes_on_main_thread
    status = model_status()
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/conjureup/juju.py", line 32, in _decorator
    login(force=True)
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/conjureup/juju.py", line 123, in login
    uuid = get_model(app.current_controller, app.current_model)['model-uuid']
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/conjureup/juju.py", line 756, in get_model
    "Unable to find model: {}".format(name))
LookupError: Unable to find model: conjure-up-kubernetes-core-802
exception calling callback for <Future at 0x111d6f908 state=finished returned NoneType>
Traceback (most recent call last):
  File "/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/concurrent/futures/_base.py", line 297, in _invoke_callbacks
    callback(self)
  File "/usr/local/Cellar/conjure-up/2.2-beta2/libexec/lib/python3.6/site-packages/conjureup/controllers/deploystatus/gui.py", line 29, in __wait_for_applications
    relations_done_future.result()
AttributeError: 'NoneType' object has no attribute 'result'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment