Posts

Playing with Vault

Image
Like many other products HashiCorp [1] has brought to the world (remember Vagrant [2]?), Vault [3] is great and useful. It helps you to manage secrets and protect sensitive data (I know some company even use it to store their application's configurations) and it's open source [4]!!!

Obviously, the easiest way to check it out these days is using Docker container. I tried these following steps and it works (vault v1.1.3).

1. Create a working directory for vault to store data

$ mkdir vault

2. Inside vault dir, create another directory to store its configuration

$ cd vault
$ mkdir config

3. Create the configuration file inside the config dir and name it vault.json

$ cd config
$ nano vault.json

{
  "backend": {
    "file": {
      "path": "/vault/file"
    }
  },
  "listener": {
    "tcp":{
      "address": "0.0.0.0:8200",
      "tls_disable": 1
    }
  },
  "ui": true
}

Note that in this configuration, …

Searchlight at Denver Summit 2019

Image
In the last summit (Denver, CO), the Searchlight team had an opportunity to introduce its cool stuff to everyone. Due to the visa issues, there only one out of three members can come to the US. Thuy Dang, one of the core tea,, delivered the presentation and had a great conversation with the other community members.




The key points you can take out from the Project Update [1] and Project Onboarding [2] sessions are:
Review of Searchlight current status: 3 active contributorsFeatures introduced in Stein: support ES 5.x, bug fixes, multi-cloud visionFeatures for Train: multi-cloud support, new resource indexed (e.g., Tacker, Octavia, etc.)Introduce different ways you can contribute to Searchlight. Hopefully, after the summit, there will be more contributors interested in Searchlight. You can check out the slides for Project Update [4] and Project Onboarding [5].

Even though there were not many people attend the sessions, Thuy had had a great chance talking to some of the original Searchli…

Searchlight for Train

Image
(source: https://superuser.openstack.org/articles/newsletter-3-28/)
As we are reaching the final weeks of the Stein cycle, I would like to discuss a little bit about what we've done in Stein and planning for the Train cycle.

Stein cycle highlights as putting in [1]:
Searchlight now works with Elasticsearch 5.xWe have released a new vision to make Searchlight a multi-cloud application [2]. Moreover, we did a comparison of our vision and the OpenStack clouds visionFunctional test setup has been improvedSearchlight now can work and be tested with Python 3.7 And for the Train cycle, we would like to accomplish these main goals to fulfill the vision:
Make searchlight work with multiple cloud platforms including multiple OpenStack clouds [6], Azure [9], Google Cloud [10], AWS [11]. Add support for other OpenStack resources: Tacker [7], Octavia [8]Deprecate support for Elasticsearch 2.x [5] There is a lot of work to be done so I would continue putting effort to encourage new contributors t…

Searchlight RC1 released

Image
Yahooo!!! We just released Searchlight Stein RC1 last week [1][2]. The stable/stein branch has been created for all of the projects. Here are the versions:

- searchlight: 6.0.0.0rc1
- searchlight-ui: 6.0.0.0rc1
- python-searchlightclient: 1.5.0

Moreover, we also added some highlights for Searchlight in this Stein cycle  [3]. There will be not much going on for the rest of the cycle, only minor changes. And, since we're busy preparing for the next term with more features to fulfill the Searchlight's vision [4], we will focus on designing the architecture and make Searchlight more stable.

BTW, I will continue serving as Searchlight's PTL for Train :) So, let's rock it!!!


References:

[1] https://review.openstack.org/#/c/644359/
[2] https://review.openstack.org/#/c/644358/
[3] https://releases.openstack.org/stein/highlights.html#searchlight-search-service
[4] https://docs.openstack.org/searchlight/latest/contributor/searchlight-vision.html

Searchlight at Stein-3 (R-8,7,6)

Image
Yahoo!!! We reached the Stein-3 (Stein R-5) [13] which is a very important milestone [11]. During this week, there are a couple of events (Searchlight related) will happen including:
Feature freeze: we have some features are being developed and expected to release them at Stein R-1.Final release for client libraries: at this point, I can tell there would be no more major changes of the python-searchlightclientStein community goals completed: Searchlight runs tests under Python 3 by default and has a basic framework for pre-upgrade checks.Train PTL self-nomination: I would say that I will run for another term as Searchlight PTL in order to build a foundation for the multi-cloud vision of Searchlight. Following are the major changes we made at Stein-3:
TC vision reflection [1]: this is a good practice to compare Searchlight vision with the TC vision [12] to make sure the team is going in the right direction which designed by the OpenStack community.Replace httplib2 with requests [2]: thi…

Up and Running with Red Hat CodeReady Workspace IDE

Image
Just another IDE? Yeah, you got it right, just another IDE. But this time, It's a special IDE designed for the Kubernetes developers. CodeReady Workspace IDE [1] includes tools and the dependencies that are needed to code, build, test, run, and debug the applications that run inside your Kubernetes clusters. It's hard to find the getting started guides in the Red Hat developer page so I tried and note it down here.
A. First, you need to have a running OpenShift Container Platform (OCP) instance Right now CodeReady Workspace only works inside the OCP as far as I know [2] (there may be hackers out there know how to make it work in other platforms). The easiest way is to use the Red Hat Container Development Kit (CDK) [3] which helps you to have a smaller scale version of the OCP up and running, the minishift [4]. And, in order to install the CDK successfully, the recommended way is to install it inside a Red Hat Enterprise Linux (RHEL) server, register a Red Hat Developer account…

Searchlight weekly report - Stein R-12,11,10,9

Image
For the last four weeks, we're working on hardening our multi-vision and preparing for the Open Infrastructure Summit in Denver this April [1]. The team had submitted one session to discuss and showcase our progress on implementing the multi-cloud features [2] and waiting for voting results.

For the Denver summit, we decided to give a demonstration of Searchlight that has:

Search resources across multiple OpenStack Clouds [3]Frontend UI that adds the views for multi-cloud search [4]
So, from now to before the summit, we will focus on developing the [3] and [4] features for Searchlight. For more details about our multi-cloud vision for Searchlight, please have a look at [5].

Btw, It's the Lunar New Year now in Viet Nam. HAPPY NEW YEAR!!!

References:

[1] https://www.openstack.org/summit/denver-2019/
[2] https://etherpad.openstack.org/p/searchlight-denver-2019
[3] https://storyboard.openstack.org/#!/story/2004840
[4] https://storyboard.openstack.org/#!/story/2004872
[5] https://et…