TryStack: A Sandbox for OpenStack Users and Admins
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

TryStack: A Sandbox for OpenStack Users and Admins

  • 1,984 views
Uploaded on

Like Chocolate and Peanut Butter: TryStack and the api.openstack.org site. Given by Jay Pipes and Nati Ueno at the OpenStack Conference April 2012.

Like Chocolate and Peanut Butter: TryStack and the api.openstack.org site. Given by Jay Pipes and Nati Ueno at the OpenStack Conference April 2012.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,984
On Slideshare
1,984
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
22
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. TryStack.orgA Sandbox for OpenStack
  • 2. Why TryStack?•  Help developers get familiar with the OpenStack APIs•  Generate a knowledge base of information for administrators, operators and deployers•  Allow testing of reference architectures o  Hardware setups o  Configuration of OpenStack o  Multiple versions of OpenStack•  Provide useful bug reports and feature requests back to upstream OpenStack projects
  • 3. Boom.•  TryStack announced February 16th•  Already 1300+ users•  Half a dozen volunteer admins•  #trystack on Freenode.net
  • 4. TryStack - Today - Hardware•  A single region -- the "Dell Region"•  20 servers - (5) 2U Dell C6105s server enclosures §  2 12-core Xeon or Opteron processors §  96GB RAM §  ~5TB usable disk space §  Dual-NIC•  2 Cisco 4948-10GE switches o  One used for public IP address network o  One used for private management network•  1 Dell switch o  Public Internet gateway
  • 5. TryStack - Today - Architecture•  One (1) management node o  jenkins, dnsmasq, chef-server, nagios, munin•  Three (3) HA pairs of servers o  nova-api, nova-scheduler, keystone, dashboard o  glance-api, glance-registry o  mysql-server, rabbitmq-server•  Thirteen (13) service nodes o  nova-compute, nova-network
  • 6. TryStack - Today - Software•  OpenStack Diablo code base•  Ubuntu 11.04 (Natty) base OS image for all servers•  Unmodified Nova, Glance, Keystone "Legacy", and Dashboard•  Custom billing dashboard module (Stack Dollars!)•  A few custom scripts (with inspiration from devstack) for packaging needs
  • 7. TryStack - Today - Deployment•  Deployed using Chef o  https://github.com/trystack/openstack-chef (stable/diablo) o  Mostly stock upstream cookbooks plus a few files specific to TryStack: §  Example: main trystack.org landing page in cookbooks/ dashboard/files/default/html/*•  Execute IPMItool commands from freecloud-mgmt to verify power status and reboot machines•  Execute chef commands from freecloud-mgmt for deployments
  • 8. TryStack - Today - Deployment•  Management node contains local git repository for Chef cookbooks, billing dashboard module, and packaging scripts• Make changes to recipes and roles on management node, upload changes to chef server (running on management node)• Use Chef Web UI to make changes to attributes, environment and databags• Jenkins has a number of jobs including a chef-execute- all job that runs:sudo -i knife ssh name:freecloud* -x stack sudo chef-client -N `hostname`
  • 9. TryStack - Today - Monitoring•  Nagios provides real-time snapshot of server health•  Munin provides historical graphs of performance information•  Jenkins jobs do cleanup and monitoring•  #trystack-admins restricted IRC channel for admins o  If youre interested, let us know! :)
  • 10. Boom! Lots of pain from Day 1•  AppArmor kills compute nodes•  mdadm/RAID setup issues•  Nova services often die o  Sometimes difficult to debug why•  Many instances left in BUILD state indefinitely•  No HA initially•  Snapshots didnt work o  Turned out to be /tmp was on a ramdisk with too little room o  Total hack job put into Chef cookbooks to ln -s /opt/stack/tmp /tmp because we couldnt for the life of us figure out how to get Chef to modify the TMPDIR env variable for the user running nova-compute•  Wanted easy signup with no spam o  Ended up using Facebook group -- and the whining started immediately o  Nati plugged in a Facebook login module
  • 11. TryStack - Tomorrow - OK...April..ish•  New HP hardware zone - tripling our capacity!•  Upgrade to Essex code base•  Upgrade base OS install to Ubuntu 11.10 or 12.04•  Add Swift!•  More flexible signup/registration•  Publish user guide and FAQ on trystack.org•  Publish monitoring stats and graphs•  Publish sanitized log files•  Publish lessons learned in admin/ops•  More and more automated jobs and diagnostics tools•  MorphLabs/Dell/Avaya zone
  • 12. Panel•  Anne Gentle - Rackspace Cloud Builders•  Nachi Ueno - NTT Software Innovation Center•  David Mortman - Enstratus•  Jay Pipes - HP Cloud Services
  • 13. TryStack Demo•  Go to TryStack.org•  Go to the Dashboard•  Login using Facebook•  Security Group settings, Create key•  Launch instance•  Get API credentials•  Source credentials at the command line•  nova list