Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

Outside the window is the classic positive autumn St. Petersburg weather, in the Selectel conference hall it is warm, coffee, Coca-Cola and almost summer. In the outside world on September 5, 2019, we have the second day from the start of Slurm DevOps.

On the first day of the intensive, we went through the simplest topics: Git, CI / CD. On the second day, we prepared Infrastructure as Code and infrastructure testing for participants - multifaceted topics, with a lot of nuances and practical tasks.

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

The speakers for the second day of Slurm were Aleksey Stepanenko, Selectel Cloud Platform Engineer, Nikolai Mesropyan, Southbridge Administrator, and Vladimir Guryanov, Engineer/Team Lead at Southbridge.

Aleksey Stepanenko is an engineer at Selectel, who not only warmly welcomed us, but also provided us with a room and server facilities. Alexey Stepanenko at Selectel deals with infrastructure tasks for maintaining the OpenStack cloud, namely monitoring, CI / CD and configuration management.

Nikolay Mesropyan and Vladimir Guryanov, Southbridge employees. Vladimir Guryanov has been responsible for monitoring systems since 2015, concurrently the head of the operation department of Komita JSC, as well as the initiator of the transition of Komita JSC to the DevOps approach.

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

By 10:00, the participants gradually gathered in the conference room. After the pace of the first day of Slurm DevOps, they looked a little brooding and seedy. Nobody promised that it would be easy. The intensive is designed to load as much practical information as possible into the head at an accelerated pace in three days. It is impossible to digest Slerm in three days. The intensive itself is just the beginning of the work. Then you will need to revise the records and practice.

On the first day, Alexey Stepanenko touched on the subtopic "IaC: Approaching Infrastructure as Code". And on the second day, Slurma already started with cloud providers as infrastructure providers.

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!
"I'll turn the calendar over..."

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!
"... and again the third of September!"

Then Alexey dismantled the system initialization tools, image assembly (packer). After that, he moved on to "tender-hearted stories about Terraform", which the audience was so looking forward to on the first day, in the topic "IaC on the example of Terraform".

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

And he finished his speech with the issues of configuration storage, collaboration and automation of applications.

During the break, we got over the natural shyness and modesty of the developers and invited everyone to take pictures.

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!
Slurm inspires! Sergei Bondarev and Pavel Selivanov keep Dmitry Simonov on the ground.

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

After lunch and a direct load of caffeine into the inquisitive minds of developers, it's time for IaC using Ansible as an example.

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

Nikolay Mesropyan first of all answered the question: “Why Ansible itself?”. The speaker demonstrated the creation of a small infrastructure through Terraform and working with ansible-vault. Next, Nikolay analyzed what Ansible consists of: playbooks, inventory, roles. Tested the concept of idempotency on cats.

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!
During the presentation, not a single kitten was harmed.

Nikolay Mesropyan concluded his presentation with assembly and deployment of the xpaste application, a rolling-update demonstration and a practical task "Turning standalone PostgreSQL into a failover cluster". 


Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!
- Did you complete the task? The worst is behind. Now hug each other...

In the evening, Vladimir Guryanov spoke with the topic “Infrastructure Testing”. The forces of the participants were already running out. And the limit, when information begins to slip between the ears, bypassing the brain, became closer and closer. The participants were carried away by linguistic incidents:

Alex GSTC, [5 сент. 2019 г., 19:56:29 (06.09.2019, 10:10:50)]:
А мне только режет слух или еще кому?
* репозитАрий
* дефАУлт
* волЬт
* ансиблЬ
* редИс
* наДЖиус
* промEтиус

Nikolay Mesropyan, [5 сент. 2019 г., 19:57:09 (05.09.2019, 19:57:30)]:
> ансиблЬ
Как произносится ударение на мягкий знак?)

Lucky SB, [5 сент. 2019 г., 19:57:13]:
а еще нас спрашивали почему Павел говорит сКедулер, а я ансибля

Therefore, it was decided to postpone monitoring of the infrastructure with Prometheus to the next, third and last day of Slurm.

Vladimir Guryanov limited himself to testing and continuous integration with Molecule and Gitlab CI, as well as using Vagrant.

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

The first day of Slurm went without technical problems. It turned out that they were waiting for us on the second day. In the Slurm chat, participants raised the issue of recording the event: 



Nik Grebnev, [4 сент. 2019 г., 21:53:09]:
Добрый вечер. Как я понимаю, запись сегодняшнего мероприятия появилась. Только вот качество дрянь - 720 линий. А как получить 1080? А то все совсем расплывчато - думал что трансляция идет паршиво, но в записи будет 1080. А оказалось что и в записи осталось 720, что крайне печально

Dmitriy Miroshnichenko, [4 сент. 2019 г., 21:56:52]:
+1, хочется в личном кабинете увидеть 1080, раз стримить больше 720 не можете

Акбархон Амирхонов, [4 сент. 2019 г., 22:24:40]:
Есть ограничения платформы. К сожалению, не получится записать 1080.

Nik Grebnev, [4 сент. 2019 г., 22:29:23]:
Жаль! Что даже телефон не приспособить под это.....Будем мучиться с 720p

Maksim Vasilev, [5 сент. 2019 г., 10:19:35]:
#support В записи смотреть на консоль спикера - просто боль. Очень плохо видно

We stream through the Facecast platform. Previously, on all four Slurms, 720 lines were enough for the participants to perceive the video broadcast normally. The working laptops of Slurm's speakers were set up in the same way and adapted specifically for broadcasting at 720p. On the second day of Slurm DevOps, it turned out that the laptops of the invited speakers were configured differently. And it didn’t work out quickly - increasing the font in the consoles broke the speaker tables. The small print in the 720p broadcast was hard to read.

Slurm is removed in 1080, in 720 Facecast already presses it. So we had the originals in 1080. A day of communication with Facecast support and accounting, and we have a new tariff plan, broadcasts at 1080 and re-upload of the first two days at 1080. So, the records at the request of viewers will also be at 1080.

On the third day of Slurm DevOps left the most interesting: SRE. And the speech of two powerful speakers - Eduard Medvedev, CTO at Tungsten Labs, and Ivan Kruglov, Principal Developer at Booking.com.

As a result, we realized that we made the right decision with the transfer of a number of topics to the next day - for some participants, even Windows could not stand the pace of information transfer and a series of practical tasks.

Arthur Gordienko, [5 сент. 2019 г., 21:45:02]
Только что пришел со слёрма.... Есть ли у кого восстанавливающая флеха или 10ая винда на ней?

PS Let's be honest, we hide what's really going on in Slurm DevOps.

Do you think it goes like this:

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!

And in fact:

Slurm DevOps. Second day. IaC, Infrastructure Testing, and Slurm Gets Wings!
Artyom Galonsky plays Beethoven's Piano Sonata No. 8 (Pathetique) in C minor. Sergei Bondarev dictates notes.

Source: habr.com

Add a comment