Skip to content

Instantly share code, notes, and snippets.

View terriyu's full-sized avatar

Terri Yu terriyu

View GitHub Profile
@terriyu
terriyu / vagrant-ufw-config.txt
Created August 10, 2013 19:37
Trying to use Ubuntu's firewall configuration tool ufw to open up port 80 on my Vagrant VM so that I can check my Devstack's dashboard
vagrant@precise64:~$ sudo ufw allow 80
Rules updated
Rules updated (v6)
vagrant@precise64:~$ sudo ufw status
Status: inactive
vagrant@precise64:~$ sudo ufw status verbose
Status: inactive
vagrant@precise64:~$ sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup
@terriyu
terriyu / curl-dashboard.txt
Created August 10, 2013 19:44
Ran curl on my Vagrant VM to see if the OpenStack dashboard is running.
$ curl http://localhost/
<!DOCTYPE html>
<html lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Login - OpenStack Dashboard</title>
<link rel="stylesheet" href="/static/dashboard/css/514b40d0d2b2.css" type="text/css" media="screen" />
@terriyu
terriyu / diary-25jul2013.md
Last active December 20, 2015 22:48
Journal for OpenStack Ceilometer work -- 25 Jul 2013

25 Jul 2013

Checking dashboard after Devstack install

I was interested in learning how to run the dashboard after installing Devstack. The reason being that I need a method to check that Devstack installed correctly and the Devstack manual http://devstack.org/guides/single-vm.html mentions that you should be able to access the dashboard after installation.

@terriyu
terriyu / diary-26jul2013.md
Created August 12, 2013 01:30
Journal for OpenStack Ceilometer work -- 26 Jul 2013

26 Jul 2013

Todo: learn more about VirtualBox

Which hard drive file type to use in VirtualBox?? The choices are:

  • VDI (VirtualBox Disk Image) -- VirtualBox's own container format
  • VMDK (Virtual Machine Disk) -- open source
  • VHD (Virtual Hard Disk) -- Microsoft
@terriyu
terriyu / diary-30jul2013.md
Created August 12, 2013 01:44
Journal for OpenStack Ceilometer work -- 30 Jul 2013
@terriyu
terriyu / diary-31jul2013.md
Created August 12, 2013 01:44
Journal for OpenStack Ceilometer work -- 31 Jul 2013
@terriyu
terriyu / diary-1aug2013.md
Created August 12, 2013 03:35
Journal for OpenStack Ceilometer work -- 1 Aug 2013

1 Aug 2013

Unit testing / test driven development resources

I asked dhellmann for references on unit testing and test driven development. He said:

I think I picked up the idea from some old eXtreme Programming guides, but XP has been folded into the "Agile" methodologies camp now. If you like books, I

@terriyu
terriyu / ceilometer-api.log
Created August 12, 2013 05:02
This is the file /var/log/ceilometer-api/ceilometer-api.log . This is just an example, so we can see what kind of information is logged here.
2013-07-31 00:41:35.232 25724 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware
2013-07-31 00:41:35.234 25724 INFO keystoneclient.middleware.auth_token [-] Using /var/cache/ceilometer as cache directory for signing certificate
2013-07-31 00:41:35.235 25724 WARNING keystoneclient.middleware.auth_token [-] signing_dir mode is 0755 instead of 0700
2013-07-31 00:41:35.236 25724 DEBUG ceilometer.storage [-] looking for 'mongodb' driver in 'ceilometer.storage' get_engine /opt/stack/ceilometer/ceilometer/storage/__init__.py:68
2013-07-31 00:41:35.410 25724 INFO ceilometer.storage.impl_mongodb [-] connecting to MongoDB on mongodb://localhost:27017/ceilometer
2013-07-31 00:41:35.430 25724 DEBUG ceilometer.pipeline [-] Pipeline config file: /etc/ceilometer/pipeline.yaml setup_pipeline /opt/stack/ceilometer/ceilometer/pipeline.py:345
2013-07-31 00:41:35.439 25724 INFO ceilometer.pipeline [-] Pipeline config: [{'publishers': ['rpc://'], 'interval': 600, 'transformers': None, 'name': 'm
@terriyu
terriyu / diary-6aug2013.md
Created August 12, 2013 05:17
Journal for OpenStack Ceilometer work -- 6 Aug 2013
@terriyu
terriyu / diary-8aug2013.md
Created August 14, 2013 06:28
Journal for OpenStack Ceilometer work -- 8 Aug 2013

8 Aug 2013

Bugs reported

I discussed the issues below with jd and he suggested I file bug reports on them.

Cinder configuration for Ceilometer