prowでPRのsquashしてもlgtmが外れないロジックの実装箇所

ここに書かれてる内容 に関して。 マージされたPRはkubernetes/community#5779。 GitHubのPRの各種イベントが発生したときにLGTMプラグインがラベルを外すかどうかを判断する部分は、prow のこの辺り に実際のロジックがある様子。 opts.StoreTreeHash の説…

ディスク使用率を見るためにdustをインストールする

Prerequisites asdfを使う Install asdf plugin add rust asdf list all rust asdf install rust stable asdf global rust stable cargo install du-dust asdf reshim rust Usage dust Ref Linuxメモ : あると便利かもしれないRust製コマンドラインツール - …

go get k8s.io/kubectl のリポジトリURLはどこから取得しているか

TL;DR go get k8s.io/kubectl の場合 k8s.io/kubectl?go-get=1 なURLを参照して、中に書いてあるmetaタグの情報からgithubへの参照URLを得ている。 動作の詳細は go help importpath に書いてある。 経緯 go get k8s.io/kubectl とかやったときにちゃんと gi…

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…

sequence graph for create volume

source URL:https://github.com/openstack/nova/tree/master/nova/volume

Developers[Social Enterprise]Summit 2012

# Developers[Social Enterprise]Summit 2012# ヘッダ 品川 7月27日# 参加セッション Sー1 Aー1 Aー2 Aー3 Bー4# SaleseForce CTO 及川さんより開始の挨拶 ソーシャルエンタープライズとは、特定のテクノロジーではなく、パッケージソリューションではない…

OpenStack Essex multi_host and VlanManager

I build OpenStack Essex in multi_host and VlanManger.multi_host is documented below. http://docs.openstack.org/trunk/openstack-compute/admin/content/existing-ha-networking-options.htmland, I refer this site. http://oss.fulltrust.co.jp/doc/…

multi_host network trafic path

OpenStack has NAT function. It is provided by nova-network service. nova-network service is only one in one OpenStack environment in general. In multi_host mode, nova-network exists in every host which run nova-compute.network connection f…

qemu use sample

qemu sample.# prerequisite - Ubuntu Server 12.04 - no kvm(because this is virtual host on VMware) - use cirros image(https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img) # it's qcow2 image.# process $ sudo apt-g…

connection "qemu:///system" hang

# prerequisite - VMware Workstation 8 - GuestOS:Ubuntu Server 12.04 - Package:qemu, libvirt-bin# condition $sudo virsh -c "qemu:///system" # solution kill 'dmidecode'. dmidecode have some trouble on vmware workstation 8. see below. https:/…

Trystack Slide

convert to files that explain trystack architecture.https://docs.google.com/presentation/d/1OXiOyiNVOR9VX4v0YVJH37_e4iOPfxr_RSXXRTnVyhg/present#slide=id.pand, it's network graph and daemon below.

HP Cloud Screen Shot

HP cloud release public beta version. https://www.hpcloud.com/I sign up it, and paste here screen shot of its dashboard.Login Dashboard Top list services Compute Service list compute service at each availability zone. Storage Service list …

Slice the network in OpenFLow

OpenFlow create logical networks which independent from physical network. but I don't know how it is realized.from web articles, I began to think that multi logical networks in OpenFlow is realized in notion of Slice.sliced network is isol…

Trystack Screenshot

it's Trystack screenshots which is trial openstack environment. see below link. https://trystack.org/vm instances. billing information. event log.

Nova network connectivity test

OpenStack Essex on Ubuntu Server 11.10 x64 using devstack. vm 1-1 has two floating ips at eth0. from vm 1-2(10.0.0.8), check network connectivity below. ping 10.0.0.3 -> success ping 10.0.0.214 -> success ping 192.168.1.97 -> success

libvirt.xml in openstack nova compute instance

nova compute instance boot vm using libvirt.xml which putted /opt/stack/nova/instances/instance***/ in libvirt.xml, filterref section exists.libvirt.xml (portion) //------------------------------------- //----------------------------------…

ip address limitation in guest machine

prerequisite guestA (tenantA) 10.0.2.3 @ eth0 guestB (tenantA) 10.0.2.5 @ eth0step login guestAsudo bashifconfig eth0 downifconfig eth0 10.0.2.8 netmask 255.255.255.0 broadcast 10.0.2.255 assign other ip address in same network segment.ip …

floating ip test

インスタンスに対して、プライベートIPと同じIPセグメントのフローティングIPを付与して通信が可能か確認する。 → 成功。#create sample tenant(tenant03) do in horizon.#create sample user(user03) belongs tenant03 do in horizon.#create fixed network…