Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
OpenStack from 10,000ft
Stephen Finucane
November 12, 2022
Technology
0
8
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
Zero-downtime upgrades with SQLAlchemy + Alembic
stephenfin
0
78
Teaching padawans to chop wood and carry water in their open source journey
stephenfin
0
30
What is Nova?
stephenfin
0
140
A Documentation-Driven Approach to Building APIs
stephenfin
0
84
A Lion, a Head, and a Dash of YAML (PyCon Limerick 2020)
stephenfin
0
120
Will Someone *Please* Tell Me What's Going On?
stephenfin
1
150
Trading Flexibility for Performance: The HPC Story in OpenStack
stephenfin
0
160
Working with Documentation, The OpenStack Way
stephenfin
0
150
Will somebody *please* tell me what is going on?
stephenfin
0
220
Other Decks in Technology
See All in Technology
AI Services 概要 / AI Services overview
oracle4engineer
PRO
0
170
re:Invent2022 前後の Amazon EventBridge のアップデートを踏まえつつ、情シスの仕事をより楽しくしたい話。 / EventBridge for Information Systems Department
_kensh
2
740
私見「UNIXの考え方」/20230124-kameda-unix-phylosophy
opelab
0
160
JAWS-UG 横浜 #54 資料
takakuni
0
210
NGINXENG JP#2 - 1-NGINX-エンジニアリング勉強会-きょうの見どころ
hiropo20
0
110
Hatena Engineer Seminar #23 「チームとプロダクトを育てる Mackerel 開発合宿」
arthur1
0
520
証明書って何だっけ? 〜AWSの中間CA移行に備える〜
minorun365
3
2.1k
ML PM, DS PMってどんな仕事をしているの?
line_developers
PRO
1
240
Exploring MapStore Release 2022.02: improved 3DTiles support and more
simboss
PRO
0
370
マイクロサービス宣言から8年 振り返りとこれから / Eight Years After the Microservices Declaration A Look Back and A Look Ahead
eisuke
2
160
OCI DevOps 概要 / OCI DevOps overview
oracle4engineer
PRO
0
500
Bill One 開発エンジニア 紹介資料
sansantech
PRO
0
120
Featured
See All Featured
The Cult of Friendly URLs
andyhume
69
5.1k
Building Flexible Design Systems
yeseniaperezcruz
314
35k
How to name files
jennybc
47
73k
Producing Creativity
orderedlist
PRO
335
38k
The Straight Up "How To Draw Better" Workshop
denniskardys
226
130k
Agile that works and the tools we love
rasmusluckow
320
20k
Web development in the modern age
philhawksworth
197
9.6k
In The Pink: A Labor of Love
frogandcode
132
21k
A Tale of Four Properties
chriscoyier
149
21k
Build The Right Thing And Hit Your Dates
maggiecrowley
22
1.4k
Design by the Numbers
sachag
271
18k
GitHub's CSS Performance
jonrohan
1020
430k
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!