Skip to content

Instantly share code, notes, and snippets.

@bac
bac / gist:b7097c44c4d2e62bbdfb
Created November 23, 2015 13:57
RT to cowboy openstack telemetry bundle display
James Page has requested that our display of the telemetry bundle at https://jujucharms.com/openstack be changed to be versionless as the v31 that we currently show is out of date.
He's asked that it be done soon. We've made the change to the blues_browser source but we cannot currently release to production due to dependency on charmstore changes that are not yet ready.
So we ask that the following text change be made on the jc-blues-browser machines:
cd /usr/share/blues_browser/lib/python2.7/site-packages/jaas_storefront-0.1.35-py2.7.egg
sed -i 's/telemetry\/31/telemetry/' jaas_storefront/templates/static_pages/openstack.jinja2
After performing those changes the blues browser app and apache must be restarted.
@bac
bac / 1485249.txt
Created November 13, 2015 19:45
bug 1485249 steps to reproduce
bac@vivid64:~$ which juju
/usr/bin/juju
bac@vivid64:~$ export PATH=$GOPATH/bin:$PATH
bac@vivid64:~$ which juju
/home/bac/go/bin/juju
bac@vivid64:~$ juju version
1.23.3-vivid-amd64
bac@vivid64:~$ juju switch ec2
ec2 -> ec2
bac@vivid64:~$ juju bootstrap
On the juju machine:
15 juju-deployer -c bundle.yaml.vivid-trunk -v -e ec2 -B
19 cd git/horizon_juju/
23 juju scp horizon_juju-0.0.1-py2.py3-none-any.whl openstack-dashboard/0:.
25 cd juju-gui/
28 juju scp jujugui-0.0.1.tar.gz openstack-dashboard/0:.
30 juju run --unit keystone/0 "open-port 5000"
32 juju expose openstack-dashboard
33 juju expose keystone
@bac
bac / horizon-liberty.yaml
Created August 31, 2015 20:57
horizon liberty
repositories:
- {name: requirements,
repository: 'git://github.com/openstack/requirements',
branch: master}
- {name: horizon,
repository: 'git://github.com/openstack/horizon',
branch: master}
@bac
bac / bundle.yaml.vivid-trunk
Created August 31, 2015 20:55
Juju deployer file pulling openstack from github master
series: vivid
services:
keystone:
charm: keystone
branch: lp:~openstack-charmers/charms/trusty/keystone/trunk
num_units: 1
options:
admin-password: openstack
ha-mcastport: 5403
openstack-origin: distro
@bac
bac / bundle.yaml.wily-liberty
Created August 26, 2015 13:28
Juju deployer file for liberty
series: wily
services:
keystone:
annotations:
gui-x: '500'
gui-y: '0'
charm: keystone
branch: lp:~openstack-charmers/charms/trusty/keystone/next
num_units: 1
options:
@bac
bac / bundle.yaml.vivid-kilo
Last active August 26, 2015 13:30
Juju deployer file for kilo
series: vivid
services:
keystone:
annotations:
gui-x: '500'
gui-y: '0'
charm: keystone
branch: lp:~openstack-charmers/charms/trusty/keystone/trunk
num_units: 1
options:
@bac
bac / query
Created October 2, 2014 18:38
example charmworld DSL query
{
"query": {
"filtered": {
"filter": {
"and": [
{
"or": [
{
"and": [
{

Keybase proof

I hereby claim:

  • I am bac on github.
  • I am bac (https://keybase.io/bac) on keybase.
  • I have a public key whose fingerprint is 7CB3 6A5A 0BE9 AB4E 7142 3FA7 C950 5C34 8A51 012D

To claim this, I am signing this object: