Your SlideShare is downloading. ×
#OSATH Deploy OpenStack: DevStack (cont'd)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

#OSATH Deploy OpenStack: DevStack (cont'd)

3,525
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
3,525
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
18
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Deploy OpenStack: DevStack (cont’d) Athens OpenStack User Group #OSATH 5th Meetup, 12th December 2013 Thanassis Parathyras aparathyras@stackmasters.eu, @parathyras
  • 2. catch up! Last session • all-in-one VM – default configuration (nova, keystone, glance, horizon, cinder, openstack*-clients) #OSATH Environment • Ubuntu (mostly used), Centos • VirtualBox, VM Player
  • 3. configure local.conf (localrc) • your variable settings • overrides any variables set in stackrc stackrc • provides info about git repo and branch, image download location • this file shouldn't be modified, use local.conf|localrc instead stack.sh • opinionated sh script used for OpenStack developer installation (uses screen)
  • 4. your setup Customize localrc and local.conf • contain all non-default local configuration in a single file • be backward-compatible with localrc to smooth the transition process • allow settings in arbitrary configuration files to be changed
  • 5. structure local.conf • Follows INI file format [[<phase>|<config-file-name>]] • <phase> as defined in stack.sh • <config-file-name> is the configuration file name – Ex. [[post-config|$NOVA_CONF]]
  • 6. defined phases • local – extracts localrc from local.conf before stackrc is sourced • post-config – runs after the layer 2 services are configured and before they are started • extra – runs after services are started and before any files in extra.d are executed • post-extra – runs after files in extra.d are executed
  • 7. sample single file local.conf [[local|localrc]] FIXED_RANGE=10.254.1.0/24 NETWORK_GATEWAY=10.254.1.1 RECLONE=True LOGDAYS=1 LOGFILE=$DEST/logs/stack.sh.log SCREEN_LOGDIR=$DEST/logs/screen ADMIN_PASSWORD=pass DATABASE_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD
  • 8. some adjustment(s) … Convert EXTRA_OPTS from (localrc): EXTRA_OPTS=api_rate_limit=False to (local.conf): [[post-config|$NOVA_CONF]] [DEFAULT] api_rate_limit = False • EXTRA_OPTS (and other variables) are deprecated
  • 9. enable neutron Add options disable_service n-net enable_service q-svc enable_service q-agt enable_service q-dhcp enable_service q-lbaas enable_service q-l3 enable_service q-meta enable_service neutron
  • 10. enable swift Add options enable_service s-proxy s-object s-container s-account Just swift (minimal setup) disable_all_services enable_service key mysql s-proxy s-object s-container s-account
  • 11. Follow, support & contribute • Athens OpenStack User Group – #OSATH, @parathyras – http://www.meetup.com/Athens-OpenStack-User-Group – https://plus.google.com/communities/113761625022392052075 • OpenStack Foundation – – – – www.openstack.org, @openstack ask.openstack.org https://launchpad.net/~openstack mailing list: general http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
  • 12. Keep it up!