Mitaka OpenStack Summit at Tokyo

Day 1

It’s been more than a year to attend Mitaka OpenStack Summit at Tokyo, it’s my second OpenStack Summit, it’s my first travel after join the new team and it’s my first time to visit Tokyo. For Mitaka, the OpenStack Summit is only 4 days long, lasting from Tuesday through Friday. I arrived Tokyo Haneda Airport at the Monday afternoon (2015.10.26) with 3 hours flight from Beijing, then took the keikyu line railway to arrive Shinagawa Station, after about 10 mins walking got to my hotel and OpenStack Summit venue. (Grand Prince Hotel New Takanawa)Grand Prince Hotel New Takanawa

After a little rest, I walked over to the HP employee party at a nearby restaurant where I saw my boss first time.

Tuesday was the actual start of the summit. There about 5,000 attendees from 56 countries attend this summit, which makes it the biggest non-North American summit. I attended the keynotes today (all of which are in the video here: OpenStack Tokyo Summit Full Keynote). It continues to be inspiring to watch such diverse companies embracing not only the usage of open source and OpenStack, but the contributions back to the community. Jonathan Bryce also talked about the cool new feature on the OpenStack website that takes various metrics and creates a table tracking age, maturity and adoption to help operators evaluate each component, it can be found at: http://www.openstack.org/software/project-navigator. He also announced an OpenStack certification that was built and developed with some of the training partners and will start being available to take in 2016.

keynote

The rest of this day i attended many OpenStack sessions related Infrastructure.

Day2

The opening keynotes on Wednesday had a pretty common theme: Neutron. Mark Collier shared that in the Liberty cycle, for the first time Neutron was the most active project in OpenStack. This is really inspiring news for the community, as just two years ago there was concern about the commitment to the project and adoption statistics. Mark went on to share that 89% of respondents to the latest OpenStack User Survey said they’re using Neutron in production. Keynotes continued with former Neutron PTL Kyle Mestery who gave a quick history of Neutron, spoke about design goals and new Kuryr project, which focuses on networking for containers. Full video of the keynotes here.keynote

Today I also join the QA session about the new health dashboard to track problems and failures in our CI system so they can be checked by anyone when a disruption occurs. An initial prototype has been launched, so the discussion centered around the future of scaling the dashboard so it can be introduced to the wider community. This included concerns like backups and bottlenecks like subunit2sql performance fixes. Read-only link to the Etherpad from the session here.

The official evening party was hold by HP, Scality, Cisco and Bit-isle and took place at the beautiful Happo-En park. It was a shuttle ride or a 10 minute walk from the venue. The event had several indoor spaces with refreshments and entertainment. It also had a beautiful outdoor space, with a park to walk through, water features, bridges, and a whole fleet of bonsai trees, one of which was 520 years old.

party

Day3 and Day4
I spent the Thursday and Friday focus on the Design Summit and Team meetup. This is my first time to join the design summit.
Also sent a postcard with the Japanese character at the HP lounge.
iphone5_20151103 146
For lunch I met up with my HP colleagues as we secured two tables in the hot buffet lunch area, It’s my first time to meet the whole team and put the IRC nick to a face in several cases.
Friday was contributor meetup day! I would like to join the Infrastructure session but full house.
That’s all my Mikata OpenStack Summit!

Contribute to OpenStack

This August, I transferred to a new team as an upstream contributor on the OpenStack Infrastructure team. I started my new journal in the OpenStack world, I have been focusing on the jenkins-job-builder, OpenStack CI and OpenStack QA projects. I had my first OpenStack patch merged on August 11, 2015, I would like to write and share my experience about contribute to OpenStack projects.

  • What to contribute?                                                                                            

My first patch is a bug fix for openstack documentation, documentation is the easiest start for the first patch, also you can ask for help from your colleagues to find out where to contribute, If you don’t have a buddy to make recommendations, just pop into the #openstack-infra #openstack-qa and #openstack-doc channel in IRC and just ask for suggestions.

  • Setup your dev environment                                                                OpenStack has done an excellent job of documenting the steps for new developers and I recommend following those instructions.
    1. Account Setup                                                                                   First, You’ll need a Launchpad account, since this is how the Web interface for the Gerrit Code Review system will identify you. Also to contribute to any OpenStack project, you’ll need to create a community account and sign the agreement. Make sure the email you provide for your OpenStack email address matches your Ubuntu Single Sign On email address! Also make sure to update your contact information on Gerrit.You’ll also want to upload an SSH key to Gerrit at review.openstack.org while you’re at it, so that you’ll be able to commit changes for review later. This is different from adding a key to Launchpad. Ensure that you have run these steps to let git know about your email address:
      git config --global user.name "Firstname Lastname"
      git config --global user.email "your_email@youremail.com"
      git config --global http.proxy http://web-proxy.cce.hp.com:8088 (optional for env under firewall)
      git config --global https.proxy http://web-proxy.cce.hp.com:8088 (optional for env under firewall)
    2. Install git-review
      apt-get install git-review
      git config --global gitreview.scheme https
      git config --global gitreview.port 443
      git config --global gitreview.username yourgerritusername
    3. Working on a projectClone a repository in the usual way, for example:
      git clone https://git.openstack.org/openstack/<projectname>.git
      debug: nc review.openstack.org 29418
      debug: ssh -p 29418 larainema@review.openstack.org gerrit version
    4. If you didn’t work under the Great China firewall, the envroument will works, but the port 29418 is blocked by the firewall, so ssh didn’t work in China, you need to access Gerrit by HTTPS.Keep in mind that you will need to generate an HTTP password in Gerrit to use this connection. You should run the following command before “git review -s”:
      git remote add gerrit https://<username>:<password>@review.openstack.org/<umbrella repository name>/<repository name>.git
    5. Obtain commit-msg
      $ scp -p -P 29418 <your username>@<your Gerrit review server>:hooks/commit-msg <local path to your git>/.git/hooks/ 
      $ curl -Lo <local path to your git>/.git/hooks/commit-msg <your Gerrit http URL>/tools/hooks/commit-msg
    6. In general you should be using a local Python rather than a system Python. You know if you’re using system Python if you have to type “sudo” anytime you want to do anything beyond running a program (like pip). Virtualenv makes doing this really easy. My colleagoue have a great blog about how to use virtualenv

 

  • Run the tests                                                                                                      Once you’ve cloned the git repository, follow the instructions in the README at the parent level to do any necessary local setup. It will likely involve installing a bunch of python dependencies. See the section above for my recommendation involving using virtualenv for this.After configuring and installing, before touching anything else, I highly recommend running the tests to make sure everything works on your system. It’s incredibly hard to troubleshoot when you’re not sure if your patch broke something or if it was a setup issue that’s causing test failures. To run the tests you’ll need to set up tox if you haven’t already. It’s really straightforward (pip install tox), see the OpenStack Python Developer Docs if you’re not sure how.

 

  • Make the changes
  • git checkout -b TOPIC-BRANCH
    git commit -a
    git review

Git commit messages should start with a short 50 character or less summary in a single paragraph. The following paragraph(s) should explain the change in more detail.

  • Update the changes
  • git commit -a --amend
    git review
  • Get your patch reviewed                                                                                          Once the test have passed, you’ll need to get your change accepted by 2 core members in order to get it merged. If your patch has been reviewed and says “Needs Workflow” it means another core needs to approve it before it can be merged.
    To find out who the core members are that can +2 or approve your patch, visit the project’s page in review.openstack.org. Click on “Access” at the top of the screen and then click on any of the project-core links to see a list of people. You can add names as Reviewers to your change from your change’s url or you can ask in #openstack-infra if those individuals could review your change.
    Once your patch has been approved, it will be automatically merged!

 

  • You can watch your progress as an OpenStack contributor at Stackalytics!

 

Useful Links