Common Workflows¶
Everyday OpenStack operations with Substation.
Server Management¶
List Servers¶
Quick Method:
- Launch Substation:
substation --cloud mycloud
- Press
s
for servers - Use
↑/↓
to navigate - Press
Space
to view details
Advanced Filtering:
- Press
s
for servers - Press
/
for local search - Type filter (e.g., "prod" for production servers)
- Navigate filtered results
Create a Server¶
- Press
s
to view servers - Press
C
for "Create Server" - Fill in the form:
- Name: Server name (e.g., web-server-01)
- Flavor: Tab to select size (or use recommendation mode)
- Image: Select OS image
- Network: Select network(s)
- Security Groups (optional)
- Key Pair (optional)
- Tab through fields, Enter to edit
- Press
Enter
to create - Watch real-time status as server builds
Pro Tip: Press Tab in flavor selector to enter recommendation mode for workload-aware suggestions.
Server Actions¶
Start Server:
- Navigate to server list (
s
) - Select stopped server with
↑/↓
- Press
S
for start - Confirm if prompted
Stop Server:
- Navigate to server list (
s
) - Select running server
- Press
T
for stop - Confirm if prompted
Restart Server:
- Select running server
- Press
R
for restart - Choose soft or hard reboot
- Confirm
Delete Server:
- Select server to delete
- Press
Del
orD
- Confirm deletion
- Server removed
View Console Logs:
- Select server
- Press
L
for logs - View console output
- Press
Esc
to close
Create Server Snapshot¶
- Navigate to server list (
s
) - Select server to snapshot
- Press
P
for snapshot - Enter snapshot name
- Snapshot creates in background
- Check images (
i
) to see snapshot
Resize Server¶
- Select server to resize
- Press
Z
for resize - Select new flavor
- Confirm resize
- Verify resize (or revert if issues)
Network Management¶
List Networks¶
- Press
n
for networks - View all networks in project
- Press
Space
for network details - See subnets, ports, DHCP status
Create Network¶
- Press
n
for networks - Press
C
for create - Fill in network form:
- Name: Network name
- MTU: Default 1500 (or custom)
- Port Security: Enable/disable
- External: Mark as external (if applicable)
- Press
Enter
to create
Create Subnet¶
- Press
u
for subnets - Press
C
for create - Fill in subnet form:
- Name: Subnet name
- Network: Select parent network
- CIDR: IP range (e.g., 192.168.1.0/24)
- Gateway IP: Gateway address (or auto)
- DHCP: Enable/disable
- Allocation Pools (optional)
- DNS Nameservers (optional)
- Press
Enter
to create
Create Router¶
- Press
r
for routers - Press
C
for create - Configure router:
- Name: Router name
- External Network: Select for gateway (optional)
- Press
Enter
to create
Attach Subnet to Router¶
- Navigate to subnets (
u
) - Select subnet to attach
- Press
A
for attach - Select target router
- Confirm attachment
Manage Security Groups¶
Create Security Group:
- Press
e
for security groups - Press
C
for create - Enter security group name and description
- Press
Enter
to create
Add Security Group Rule:
- Navigate to security groups (
e
) - Select security group
- Press
M
for manage rules - Press
C
to create rule - Configure rule:
- Direction: Ingress or Egress
- Protocol: TCP, UDP, ICMP, or Any
- Port Range: Single port or range
- Remote: CIDR or security group
- Press
Enter
to add rule
Manage Floating IPs¶
Allocate Floating IP:
- Press
l
for floating IPs - Press
C
for create/allocate - Select floating IP pool (external network)
- IP allocated and shown in list
Associate Floating IP:
- Navigate to floating IPs (
l
) - Select unassociated IP
- Press
A
for associate - Select target server
- Select server port
- Confirm association
Disassociate Floating IP:
- Select associated floating IP
- Press
D
for disassociate - Confirm disassociation
- IP returned to pool
Storage Management¶
List Volumes¶
- Press
v
for volumes - View all volumes
- Press
Space
for volume details - See size, type, attachments, status
Create Volume¶
- Press
v
for volumes - Press
C
for create - Fill in volume form:
- Name: Volume name
- Size: Size in GB
- Volume Type (optional)
- Source: Empty, image, snapshot, or volume
- Press
Enter
to create
Attach Volume to Server¶
- Navigate to volumes (
v
) - Select available volume
- Press
A
for attach - Select target server
- Optionally specify device path
- Confirm attachment
Detach Volume from Server¶
- Select attached volume
- Press
X
orD
for detach - Confirm detachment
- Volume returns to available state
Create Volume Snapshot¶
- Select volume to snapshot
- Press
P
for snapshot - Enter snapshot name
- Snapshot created
- View in volume snapshots list
Extend Volume Size¶
- Select volume to extend
- Press
E
for extend - Enter new size (must be larger)
- Confirm extension
- Volume size updated
Image Management¶
List Images¶
- Press
i
for images - View all images in project
- Use
/
to filter by name - Press
Space
for image details
Upload Image¶
- Press
i
for images - Press
C
for create - Configure image:
- Name: Image name
- File: Path to image file (or URL)
- Disk Format: qcow2, raw, vmdk, etc.
- Container Format: bare, ovf, etc.
- Visibility: public, private, shared
- Press
Enter
to upload - Monitor upload progress
Create Image from Server¶
(See "Create Server Snapshot" above)
Search Operations¶
Local Search (Fast)¶
Search within current view:
- Navigate to any resource list
- Press
/
to activate search - Type query (filters as you type)
- Results update instantly
- Press
Esc
to clear search
Example:
Cross-Service Search (Comprehensive)¶
Search across all OpenStack services:
- Press
z
for advanced search - Type query (e.g., "production")
- Press
Enter
- Results from all services:
- Servers (Nova)
- Networks (Neutron)
- Volumes (Cinder)
- Images (Glance)
- Users (Keystone)
- Containers (Swift)
- Navigate results with
↑/↓
- Press
Space
for details
Example Queries:
prod
- Find all production resources192.168.1
- Find resources with this IPubuntu
- Find all Ubuntu-related resourceserror
- Find resources in error state
Troubleshooting Workflows¶
Debug Server Issues¶
- Check Server Status:
- Press
s
for servers - Find problem server
- Press
Space
for details -
Note status and error message
-
View Console Logs:
- Select server
- Press
L
for logs - Review boot sequence
-
Look for errors
-
Check Network Connectivity:
- Press
p
for ports - Find server ports
- Verify network attachment
-
Check security groups
-
Check Volume Attachments:
- Press
v
for volumes - Verify volume status
- Check attachment to server
Investigate Network Issues¶
- Check Network Topology:
- Press
t
for topology - Visualize network connections
-
Identify routing issues
-
Verify Router Configuration:
- Press
r
for routers - Check router status
- Verify gateway configuration
-
Check subnet attachments
-
Check Security Rules:
- Press
e
for security groups - Review applied groups
- Check rule configurations
-
Verify protocol and port settings
-
Check Floating IP Associations:
- Press
l
for floating IPs - Verify IP associations
- Check router external gateway
Cache and Performance Issues¶
Stale Data:
- Press
c
to purge ALL caches - Press
r
to refresh current view - Fresh data loaded from API
Slow Performance:
- Press
h
for health dashboard - Check API response times
- Check cache hit rates (target: 80%+)
- Enable wiretap if needed:
substation --wiretap
Batch Operations¶
Delete Multiple Resources¶
While Substation doesn't currently have built-in batch delete UI:
- Use advanced search (
z
) to find resources - Note resource IDs/names
- Use OpenStack CLI for batch operations:
Monitor Build Progress¶
- Create resources (servers, volumes, etc.)
- Resources show "BUILD" status
- Auto-refresh updates status
- Press
a
to toggle auto-refresh - Wait for "ACTIVE" status
Tips and Tricks¶
Efficient Resource Creation¶
- Learn the create form flow for each resource type
- Use Tab to navigate fields quickly
- Use flavor recommendation mode for servers
- Keep frequently used images/networks at the top of your lists
Quick Status Checks¶
- Press
h
for health dashboard - See all services at a glance
- Check performance metrics
- Monitor cache effectiveness
Keyboard Efficiency¶
- Memorize main navigation keys (
d
,s
,n
,v
,i
) - Use
/
for quick filtering - Use
z
for comprehensive search - Press
?
when you forget a shortcut
Data Freshness¶
- Press
r
to refresh current view (uses cache if valid) - Press
c
to force fresh data from API (purges cache) - Use auto-refresh (
a
) for real-time monitoring - Check cache hit rate in health dashboard (
h
)
Remember: Practice makes perfect. The more you use these workflows, the faster you'll become. Before long, you'll be managing OpenStack faster than Horizon could ever dream.
Speed is a feature. Learn the shortcuts.