Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
OpenStack from 10,000ft
Search
Stephen Finucane
November 12, 2022
Technology
0
180
OpenStack from 10,000ft
A lightning talk I whipped up for PyCon IE 2022.
Stephen Finucane
November 12, 2022
Tweet
Share
More Decks by Stephen Finucane
See All by Stephen Finucane
API Contracts: Bringing OpenAPI and typing to OpenStack
stephenfin
0
130
Zero-downtime upgrades with SQLAlchemy + Alembic
stephenfin
0
700
Teaching padawans to chop wood and carry water in their open source journey
stephenfin
0
250
What is Nova?
stephenfin
0
420
A Documentation-Driven Approach to Building APIs
stephenfin
0
190
A Lion, a Head, and a Dash of YAML (PyCon Limerick 2020)
stephenfin
0
340
Will Someone *Please* Tell Me What's Going On?
stephenfin
1
290
Trading Flexibility for Performance: The HPC Story in OpenStack
stephenfin
0
350
Working with Documentation, The OpenStack Way
stephenfin
0
300
Other Decks in Technology
See All in Technology
地に足の付いた現実的な技術選定から魔力のある体験を得る『AIレシート読み取り機能』のケーススタディ / From Grounded Tech Choices to Magical UX: A Case Study of AI Receipt Scanning
moznion
5
1.8k
さくらのクラウド開発の裏側
metakoma
PRO
18
5.6k
経済メディア編集部の実務に小さく刺さるAI / small-ai-with-editorial
nkzn
2
450
技術選定を突き詰める 懇親会LT
okaru
2
1.2k
Part1 GitHubってなんだろう?その1
tomokusaba
3
850
Azure & DevSecOps
kkamegawa
2
200
Software Delivery Observability CI・CD , DORA metrics も Datadog で可視化しよう / datadog-ci-cd-observability
parupappa2929
0
120
時間がないなら、つくればいい 〜数十人規模のチームが自律性を発揮するために試しているいくつかのこと〜
kakehashi
PRO
24
5.8k
大規模サーバーレスプロジェクトのリアルな零れ話
maimyyym
3
250
WindowsでGenesisに挑戦した話
natsutan
0
110
自動化の第一歩 -インフラ環境構築の自動化について-
smt7174
1
140
SONiCにて使用されているSAIの実際
sonic
0
140
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
5
620
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
BBQ
matthewcrist
88
9.6k
The Invisible Side of Design
smashingmag
299
50k
Building an army of robots
kneath
305
45k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
21k
Building a Modern Day E-commerce SEO Strategy
aleyda
40
7.3k
[RailsConf 2023] Rails as a piece of cake
palkan
54
5.5k
Mobile First: as difficult as doing things right
swwweet
223
9.6k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Transcript
OpenStack from 10,000ft @stephenfin - PyCon IE 2022
Stephen Finucane (@stephenfin) Senior Software Engineer
None
6 key services… Nova (Compute) Neutron (Networking) Glance (Images) Cinder
(Volumes) Keystone (Identity) Placement (Resource tracking)
None
…and loads of others Swift (Object storage) * Designate (DNS)
Ironic (Bare metal) Barbican (Key manager) Cyborg (Accelerators) …
Couple of common design features Python 3 Traditional relational databases
(MySQL) Message queues (RabbitMQ) They wrap other things
Couple of common design features Python 3 Traditional relational databases
(MySQL) Message queues (RabbitMQ) They wrap other things Bad upgrades, worse documentation :( (though way better than before)
None
How do I get an OpenStack? Public cloud provider Private
cloud provider (i.e. work)
How do I get an OpenStack? Public cloud provider Private
cloud provider (i.e. work) r/homelab / DIY
How do I create my own OpenStack? DevStack Kolla OpenStack
Ansible TripleO
How do I create my own OpenStack? DevStack Kolla OpenStack
Ansible TripleO
[[local|localrc]] ## Passwords ADMIN_PASSWORD=password DATABASE_PASSWORD=password RABBIT_PASSWORD=password HORIZON_PASSWORD=password SERVICE_PASSWORD=password SERVICE_TOKEN=no-token-password local.conf
❯ ./stack.sh
❯ ./stack.sh # Wait some time... ❯ systemctl status
[email protected]
❯ journalctl --unit
[email protected]
How do I use an OpenStack? Horizon OSC (openstackclient) openstacksdk
/ Gophercloud Ansible Terraform ⭐ Kubernetes ⭐
❯ pip install openstackclient # ...or... ❯ sudo dnf install
python-openstackclient # ...or... ❯ sudo apt install python-openstackclient
❯ openstack server create ... ❯ openstack network create ...
❯ openstack image create ... ❯ openstack volume create ... ❯ openstack project create ...
❯ pip install openstacksdk # ...or... ❯ sudo dnf install
python-openstacksdk # ...or... ❯ sudo apt install python-openstacksdk
import openstack # Initialize and turn on debug logging openstack.enable_logging(debug=True)
# Initialize connection conn = openstack.connect(cloud='devstack') # List the servers for server in conn.compute.servers(): print(server.to_dict()) hello_openstack.py
How do I find out more? docs.openstack.org opendev.org/openstack #openstack on
IRC (OFTC)
[email protected]
Talk to me! 🙋
Thanks!