OpenStack

Convert iptables info to graph with graph-easy and graphviz

Result create iptables chain graph. result is below. Prerequisite Install require commands #sudo cpan Graph::Easy # for graph-easy command sudo apt-get install libgraph-easy-perl # or use this command sudo apt-get install graphviz # for do…

Quantum multinode settings on DevStack

localrc compute-node host settings. NOVA_BRANCH=stable/grizzly CINDER_BRANCH=stable/grizzly KEYSTONE_BRANCH=stable/grizzly GLANCE_BRANCH=stable/grizzly QUANTUM_BRANCH=stable/grizzly SWIFT_BRANCH=stable/grizzly CEILOMETER_BRANCH=stable/griz…

Meter volume usage in ceilometer

Prerequisite version : stable/grizzly Problem Ceilometer can meter volume usage, but it can't cooperate with cinder in default settings. Cause Ceilometer use cinder exchange for cinder notifications. Similarly, nova exchange for nova, quan…

Version of python-keystoneclient in horizon at grizzly

It is current version of python-keystoneclient below commit 5c37d85944d9eed73ec6dd6254842108386bcc4f Currently, horizon in stable/grizzly branch using it can't work successfully. When you try changing tenant on horizon, following error occ…

Delete netns

When you try to delete netns(linux network namespace), You may get following error message. ubuntu@g01:~/devstack$ ip netns qdhcp-3c775ad1-3ca2-44fa-8289-bc04b6e295f9 qrouter-1dfabc31-85e8-4dba-a57c-4d9984f7e117 ubuntu@g01:~/devstack$ sudo…

Reasonable status on rejoin.sh

When you run rejoin.sh in devstack, screen process doesn't show proccess name at bottom of window, unlike with when you run stack.sh. Add following parameter at top of your stack-screenrc. hardstatus alwayslastline "%{= .} %-Lw%{= .}%> %n%…

Creating OS image from dashboard

Intro In folsom, OpenStack dashboard(Horizon) has function for creating OS image. I explain a sample scenario for create Ubuntu image from http://cloud-images.ubuntu.com Step Build OpenStack Folsom. I use devstack. Access Horizon. In this …

Using xvpvnc in OpenStack

Front window(title:XVP Viewer - QEMU(instance-00000001)) shows console window using xvpvnc. back window show shows console window using noVNC, you know well? Situation Ubuntu Server 12.04 64bit I use devstack for building OpenStack environ…

Mechanism of console display on Horizon

Layout actor IP address Controller Node 192.168.0.1 Compute Node 192.168.0.2 Parameter settings noVNC parameters on Controller Node no parameter? Connection to noVNC service(6080) is proxied to compute node's VNC server. So, task of nova-n…

Output log message in OpenStack

Coding You can add loggin code in any files. At here, I insert loggin code in keystone.service.AdminRouter class. class AdminRouter(wsgi.ComposingRouter): def init(self): LOG.warning('!!!!!THIS IS SAMPLE!!!!!!!!') mapper = routes.Mapper() …

DevStack on Amazon EC2

Layout EC2 instance spec property value Instance type m1.small(1CPU,1.7GB memory) OS Ubuntu Server 12.04 64bit Instance count 1 Step Follow devstack's install step, basically. As default, devstack create OpenStack environment in FlatDHCP n…

Apply iptables rule to bridge interface

Case Linux is running You had created bridge interface as br100 You had created iptables rule to br100 Check If you apply iptables rule to br100, you should check a parameter below. cat /proc/sys/net/bridge/bridge-nf-call-iptables If conte…

Security group behavior in FlatDHCP mode

System install I built OpenStack by using devstack. Version is folsom rc1. in Nova, detailed version is "commit 737ca6e7ecdfa9ffd6744e1e1a54c53c4c897d83" on folsom trunk. Test VM A ping to VM B. Condition factor is tenant, host, security g…