Skip to content

Instantly share code, notes, and snippets.

View vharsh's full-sized avatar
🔵
playing with Bluetooth

Harsh Vardhan vharsh

🔵
playing with Bluetooth
View GitHub Profile
@vharsh
vharsh / Kolla-kinda-fail
Created September 11, 2017 14:55
Kolla-post-deploy-fail
vharsh@KollaQuick:/etc/kolla$ sudo !!
sudo kolla-ansible post-deploy
Post-Deploying Playbooks : ansible-playbook -i /usr/local/share/kolla-ansible/ansible/inventory/all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla /usr/local/share/kolla-ansible/ansible/post-deploy.yml
ERROR! Unexpected Exception: 'module' object has no attribute 'SSL_ST_INIT'
to see the full traceback, use -vvv
Command failed ansible-playbook -i /usr/local/share/kolla-ansible/ansible/inventory/all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla /usr/local/share/kolla-ansible/ansible/post-deploy.yml
vharsh@KollaQuick:/etc/kolla$
@vharsh
vharsh / Kolla-fail
Created September 6, 2017 14:17
Kolla-ansible-phail
TASK [common : include] ***********************************************************************************************************************
included: /usr/local/share/kolla-ansible/ansible/roles/common/tasks/start.yml for localhost
TASK [common : Starting fluentd container] ****************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "failed": true, "msg": "'Traceback (most recent call last):\\n File \"/tmp/ansible_ethb65/ansible_module_kolla_docker.py\", line 781, in main\\n result = bool(getattr(dw, module.params.get(\\'action\\'))())\\n File \"/tmp/ansible_ethb65/ansible_module_kolla_docker.py\", line 595, in start_container\\n self.pull_image()\\n File \"/tmp/ansible_ethb65/ansible_module_kolla_docker.py\", line 445, in pull_image\\n repository=image, tag=tag, stream=True\\n File \"/usr/local/lib/python2.7/dist-packages/docker/api/image.py\", line 175, in pull\\n self._raise_for_status(response)\\
@vharsh
vharsh / Pressnix.txt
Created August 9, 2017 09:37
Pressy for Linux
harsh@genesis:~$ dbus-monitor --profile
#type timestamp serial sender destination path interface member
# in_reply_to
sig 1502271339.555493 2 org.freedesktop.DBus :1.464 /org/freedesktop/DBus org.freedesktop.DBus NameAcquired
sig 1502271339.555600 4 org.freedesktop.DBus :1.464 /org/freedesktop/DBus org.freedesktop.DBus NameLost
sig 1502271343.401054 30 :1.426 <none> /org/freedesktop/Notifications org.freedesktop.Notifications NotificationClosed
volume alter
mc 1502271354.328490 19 :1.44 :1.426 /org/freedesktop/Notifications org.freedesktop.Notifications Notify
sig 1502271354.331182 132 :1.47 <none> /com/canonical/indicator/sound org.gtk.Actions Changed
mr 1502271354.332707 31 :1.426 :1.44 19
stack@vagrant:~$ nova service-list
+----+------------------+---------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+---------+----------+---------+-------+----------------------------+-----------------+
| 3 | nova-conductor | vagrant | internal | enabled | up | 2017-07-20T11:21:19.000000 | - |
| 5 | nova-scheduler | vagrant | internal | enabled | up | 2017-07-20T11:21:14.000000 | - |
| 8 | nova-consoleauth | vagrant | internal | enabled | up | 2017-07-20T11:21:14.000000 | - |
| 9 | nova-compute | vagrant | nova | enabled | up | 2017-07-20T11:21:13.000000 | - |
| 14 | nova-console | vagrant | internal | enabled | down | 2017-07-18T09:06:33.000000 | - |
+----+------------------+---------+----------+---------+-------+----------------------------+
@vharsh
vharsh / cat
Created July 20, 2017 10:49
system logs
This file has been truncated, but you can view the full file.
-- Logs begin at Thu 2017-07-20 10:36:55 UTC, end at Thu 2017-07-20 10:42:12 UTC. --
Jul 20 10:36:57 vagrant systemd[1]: Started Devstack devstack@n-cpu.service.
Jul 20 10:36:57 vagrant systemd[1]: Started Devstack devstack@n-novnc.service.
Jul 20 10:36:57 vagrant systemd[1]: Started Devstack devstack@n-cauth.service.
Jul 20 10:36:57 vagrant systemd[1]: Starting Devstack devstack@n-api-meta.service...
Jul 20 10:36:57 vagrant systemd[1]: Started Devstack devstack@n-cond.service.
Jul 20 10:36:58 vagrant systemd[1]: Starting Devstack devstack@n-api.service...
Jul 20 10:36:58 vagrant systemd[1]: Started Devstack devstack@n-sch.service.
Jul 20 10:36:59 vagrant devstack@n-api-meta.service[982]: [uWSGI] getting INI configuration from /etc/nova/nova-metadata-uwsgi.ini
Jul 20 10:36:59 vagrant devstack@n-api.service[1027]: [uWSGI] getting INI configuration from /etc/nova/nova-api-uwsgi.ini
@vharsh
vharsh / Things to add to bashrc
Last active July 25, 2017 10:36
OpenStack things
$ nova-manage bash-completion
@vharsh
vharsh / hello.js
Created June 23, 2017 07:12
hello.js
define(function(){
function load_ipython_extension(){
console.info('this is my first extension');
alert('hey mama');
}
return {
load_ipython_extension: load_ipython_extension
};
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.