1. 03 Aug, 2014 8 commits
    • Add common auth handling across openstack modules · d17a1b5c
      Taking a page out of the ec2 config, make sure that all of the
      OpenStack modules handle the inbound auth config in the same way.
      The one outlier is keystone wrt auth_url.
      Monty Taylor committed
    • Consume standard OpenStack environment settings · ac420fd4
      The OpenStack client utilities consume a set of input environment
      variables for things like username and auth_url, so it's very
      common for OpenStack users to have such settings set in their
      environment. Indeed, things like devstack also output a shell file
      to be sourced to set them. Although in a playbook it's entirely
      expected that variables should be used to pass in system settings
      like api passwords, for ad-hoc command line usage, needing to pass
      in five parameters which are almost certainly in the environment
      already reduces the utility.
      
      Grab the environment variables and inject them as default. Special care
      is taken to ensure that in the case where the values are not found, the
      behavior of which parameters are required is not altered.
      Monty Taylor committed
    • Cleanup in nova after a failed floating ip · 2611246b
      There is a potential leak of resources if there is somehow a failure
      adding a floating ip to a server. Clean up after ourselves.
      Monty Taylor committed
    • Find IPs on OpenStack clouds without floating-ips · 6045923c
      The floating-ip extension, while pretty ubiquitous, is not a
      foregone conclusion. Specifically, Rackspace, while also
      served by the rax module, is a valid OpenStack cloud and can
      be interacted with directly via nova interfaces.
      
      Add support for determining public and private IPs for
      OpenStack clouds that don't use floating ips by reading
      the public and private keys from the addresses dict.
      Monty Taylor committed
    • Add support for nova availability zones · 1e0e7a6b
      If a cloud has availability zone support, it's possible to specify
      an availability zone via the nova client. Add that as a config param.
      Monty Taylor committed
    • Pass through nova region name · 89382220
      If the region name is specified in the config, we need to pass it
      in to the nova client constructor. Since key_name is similarly optional,
      go ahead and handle both parameters the same.
      Monty Taylor committed
    • Split nova floating-ip pool logic · 10a50b4a
      The desires around getting a floating ip associated with a pool and
      getting a floating ip not associated with a pool is just different
      enough that following it as one set of nested ifs is tricky. Split
      the function into two, one for the pool and one for the non-pool logic.
      Monty Taylor committed
  2. 31 Jul, 2014 14 commits
  3. 30 Jul, 2014 11 commits
  4. 29 Jul, 2014 7 commits