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
98
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
460
Teaching padawans to chop wood and carry water in their open source journey
stephenfin
0
150
What is Nova?
stephenfin
0
240
A Documentation-Driven Approach to Building APIs
stephenfin
0
140
A Lion, a Head, and a Dash of YAML (PyCon Limerick 2020)
stephenfin
0
210
Will Someone *Please* Tell Me What's Going On?
stephenfin
1
210
Trading Flexibility for Performance: The HPC Story in OpenStack
stephenfin
0
250
Working with Documentation, The OpenStack Way
stephenfin
0
210
Will somebody *please* tell me what is going on?
stephenfin
0
330
Other Decks in Technology
See All in Technology
Hands-on Gemini, the Google DeepMind LLM
meteatamel
1
110
web-application-security
matsuihidetoshi
0
160
Meta Quest 3 で動く桜マシマシ WebXR アプリを IBM Cloud Code Engine と Babylon.js で作った話
1ftseabass
PRO
0
120
ここが嬉しいABAC ここが辛いよABAC #再解説+補足編
masahirokawahara
1
270
リテール金融(キャッシュレス・ネット銀行・ネット証券)の競争環境と経済圏
8maki
0
890
私が trocco を推す理由
__allllllllez__
1
220
レガシーをぶっ壊せ。AEONで始めるDevRelの話 / Qiita Night 2024-2-22
aeonpeople
3
1.3k
Cracking the KubeCon CfP
inductor
2
240
非同期推論システムによるコスト削減と信頼性向上
koki_nishihara
0
240
GraphQL 成熟度モデルの紹介と、プロダクトに当てはめた事例 / GraphQL maturity model
mh4gf
7
1.3k
ServiceNow Knowledge 24の歩き方 EYストラテジー・アンド・コンサルティング
manarobot
0
190
どうするコスト最適化のトレードオフ
tetsuyaooooo
1
510
Featured
See All Featured
Visualization
eitanlees
136
14k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Code Review Best Practice
trishagee
55
15k
4 Signs Your Business is Dying
shpigford
175
21k
Become a Pro
speakerdeck
PRO
11
4.5k
KATA
mclloyd
15
12k
Side Projects
sachag
451
41k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
241
1.2M
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
25
2.3k
For a Future-Friendly Web
brad_frost
172
9k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
357
22k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
30
6k
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!