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
130
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
32
Zero-downtime upgrades with SQLAlchemy + Alembic
stephenfin
0
580
Teaching padawans to chop wood and carry water in their open source journey
stephenfin
0
200
What is Nova?
stephenfin
0
320
A Documentation-Driven Approach to Building APIs
stephenfin
0
160
A Lion, a Head, and a Dash of YAML (PyCon Limerick 2020)
stephenfin
0
290
Will Someone *Please* Tell Me What's Going On?
stephenfin
1
230
Trading Flexibility for Performance: The HPC Story in OpenStack
stephenfin
0
290
Working with Documentation, The OpenStack Way
stephenfin
0
240
Other Decks in Technology
See All in Technology
APIテスト自動化の勘所
yokawasa
4
1.1k
話題のGraphRAG、その可能性と課題を理解する
hide212131
0
150
バクラクにおける可観測性向上の取り組み
yuu26
2
230
Emacs x Nostr
hakkadaikon
1
120
Figma Dev Modeで進化するデザインとエンジニアリングの協働 / figma-with-engineering
cyberagentdevelopers
PRO
1
340
CyberAgent 生成AI Deep Dive with Amazon Web Services / genai-aws
cyberagentdevelopers
PRO
1
360
クラシルの現在とこれから
am1157154
1
340
Apple/Google/Amazonの決済システムの違いを踏まえた定期購読課金システムの構築 / abema-billing-system
cyberagentdevelopers
PRO
1
190
品質の高い機能を”早く”提供するために技術的な面でチームでやったこと、やりたいこと
sansantech
PRO
2
230
What's in a Postgres major release? An analysis of contributions in the v17 timeframe | Claire Giordano | PGConf EU 2024
clairegiordano
1
680
リファクタリングへの耐性が高いモデルベースの統合テストの紹介 / Model-Base Integration Test for Refactoring
yuitosato
5
1.5k
日経ビジュアルデータにおける スクロールテリングと地図/nikkei-tech-talk-26
nikkei_engineer_recruiting
0
160
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Documentation Writing (for coders)
carmenintech
65
4.4k
Why Our Code Smells
bkeepers
PRO
334
57k
Making Projects Easy
brettharned
115
5.9k
For a Future-Friendly Web
brad_frost
174
9.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
328
21k
Done Done
chrislema
181
16k
Optimizing for Happiness
mojombo
376
69k
Faster Mobile Websites
deanohume
304
30k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.6k
Side Projects
sachag
452
42k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
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!