README.md in knife-openstack-0.9.1 vs README.md in knife-openstack-0.10.0

- old
+ new

@@ -1,9 +1,9 @@ Knife OpenStack =============== -This is the official Opscode Knife plugin for OpenStack Compute (Nova). This plugin gives knife the ability to create, bootstrap and manage instances in OpenStack Compute clouds. It has been tested against the `Diablo` through `Grizzly` releases in configurations using Keystone against the OpenStack API (as opposed to the EC2 API). +This is the official Chef Knife plugin for OpenStack Compute (Nova). This plugin gives knife the ability to create, bootstrap and manage instances in OpenStack Compute clouds. It has been tested against the `Diablo` through `Icehouse` releases in configurations using Keystone against the OpenStack API (as opposed to the EC2 API). Please refer to the [CHANGELOG](CHANGELOG.md) for version history and known issues. # Installation # @@ -17,23 +17,23 @@ Depending on your system's configuration, you may need to run this command with root privileges. # Configuration # -In order to communicate with an OpenStack Compute cloud's OpenStack API you will need to tell Knife your OpenStack Compute API endpoint, your Dashboard username and password (tenant is optional). The easiest way to accomplish this is to create these entries in your `knife.rb` file: +In order to communicate with an OpenStack API you will need to tell Knife your OpenStack Auth API endpoint, your Dashboard username and password (tenant is optional). The easiest way to accomplish this is to create these entries in your `knife.rb` file: - knife[:openstack_username] = "Your OpenStack Dashboard username" - knife[:openstack_password] = "Your OpenStack Dashboard password" ### Note: If you are not proxying HTTPS to the OpenStack auth port, the scheme should be HTTP knife[:openstack_auth_url] = "http://cloud.mycompany.com:5000/v2.0/tokens" + knife[:openstack_username] = "Your OpenStack Dashboard username" + knife[:openstack_password] = "Your OpenStack Dashboard password" knife[:openstack_tenant] = "Your OpenStack tenant name" If your knife.rb file will be checked into a SCM system (ie readable by others) you may want to read the values from environment variables: + knife[:openstack_auth_url] = "#{ENV['OS_AUTH_URL']}" knife[:openstack_username] = "#{ENV['OS_USERNAME']}" knife[:openstack_password] = "#{ENV['OS_PASSWORD']}" - knife[:openstack_auth_url] = "#{ENV['OS_AUTH_URL']}" knife[:openstack_tenant] = "#{ENV['OS_TENANT_NAME']}" If your OpenStack deployment is over SSL, but does not have a valid certificate, you can add the following option to bypass SSL check: knife[:openstack_insecure] = true @@ -54,19 +54,19 @@ * openstack_ssh_key_id * template_file # Working with Floating IPs # -To use a floating IP address while bootstrapping nodes, use the `-a` or `--floating-ip` option. For the node to have the floating IP address after bootstrapping, it is required to use the new `openstack.rb` Ohai plugin, waiting for the next Ohai release or installed using the [ohai cookbook](https://github.com/opscode-cookbooks/ohai). https://github.com/mattray/ohai/tree/OHAI-381 is the ticket for this. +To use a floating IP address while bootstrapping nodes, use the `-a` or `--floating-ip` option. # Working with Windows Images # -Provisioning and bootstrapping for Windows 2003/2008 images is now supported. The Windows images need to have WinRM enabled with Basic Authentication configured. Current support does not support Kerberos Authentication. +Provisioning and bootstrapping for Windows 2003 and later images is now supported. The Windows images need to have WinRM enabled with Basic Authentication configured. Current support does not support Kerberos Authentication. Example: - knife openstack server create -I <Image_ID> -f <Flavor_ID> -S <keypair_name> --bootstrap-protocol winrm -P <Administrator_Password> -x Administrator -N <chef_node_name> --template windows-chef-client-msi.erb + knife openstack server create -I <Image> -f <Flavor> -S <keypair_name> --bootstrap-protocol winrm -P <Administrator_Password> -x Administrator -N <chef_node_name> --template windows-chef-client-msi.erb NOTE: * Bootstrap Protocol (`--bootstrap-protocol`) is required to be set to `winrm`. * Administrator Username (`--winrm-user` or `-x`) and Password (`-P`) are required parameters. * If the Template File (`--template`) is not specified it defaults to a Linux distro (most likely Ubuntu). @@ -76,45 +76,50 @@ This plugin provides the following Knife subcommands. Specific command options can be found by invoking the subcommand with a `--help` option. knife openstack server create ----------------------------- -Provisions a new server in an OpenStack Compute cloud and then perform a Chef bootstrap (using the SSH protocol). The goal of the bootstrap is to get Chef installed on the target system so it can run Chef Client with a Chef Server. The main assumption is a baseline OS installation exists (provided by the provisioning). It is primarily intended for Chef Client systems that talk to a Chef server. By default the server is bootstrapped using the [chef-full](https://github.com/opscode/chef/blob/master/chef/lib/chef/knife/bootstrap/chef-full.erb) template (default after the 10.10 release). This may be overridden using the `-d` or `--template-file` command options. If you do not have public IP addresses, use the `--private-network` option to use the private IP address for bootstrapping. +Provisions a new server in an OpenStack Compute cloud and then perform a Chef bootstrap (using the SSH protocol). The goal of the bootstrap is to get Chef installed on the target system so it can run Chef Client with a Chef Server. The main assumption is a baseline OS installation exists (provided by the provisioning). It is primarily intended for Chef Client systems that talk to a Chef server. By default the server is bootstrapped using the [chef-full](https://github.com/opscode/chef/blob/master/chef/lib/chef/knife/bootstrap/chef-full.erb) template (default since the 10.10 release). This may be overridden using the `-d` or `--template-file` command options. If you do not have public IP addresses, use the `--private-network` option to use the private IP address for bootstrapping or `--bootstrap-network NAME` to specify an alternate network. Please see `knife openstack server create --help` for all of the supported options. knife openstack server delete ----------------------------- -Deletes an existing server in the currently configured OpenStack Compute cloud account. If a floating IP address has been assigned to the node, it is disassociated automatically by the OpenStack server. <b>PLEASE NOTE</b> - this does not delete the associated node and client objects from the Chef server without using the `-P` option to purge the client. +Deletes an existing server in the currently configured OpenStack account. If a floating IP address has been assigned to the node, it is disassociated automatically by the OpenStack server. <b>PLEASE NOTE</b> - this does not delete the associated node and client objects from the Chef server without using the `-P` option to purge the client. knife openstack server list --------------------------- -Outputs a list of all servers in the currently configured OpenStack Compute cloud account. <b>PLEASE NOTE</b> - this shows all instances associated with the account, some of which may not be currently managed by the Chef server. +Outputs a list of all servers in the currently configured OpenStack account. <b>PLEASE NOTE</b> - this shows all instances associated with the account, some of which may not be currently managed by the Chef server. knife openstack flavor list --------------------------- -Outputs a list of all available flavors (available hardware configuration for a server) available to the currently configured OpenStack Compute cloud account. Each flavor has a unique combination of virtual cpus, disk space and memory capacity. This data may be useful when choosing a flavor id to pass to the `knife openstack server create` subcommand. +Provides a list of all available flavors (available "hardware" configurations for a server) available to the currently configured OpenStack account. Each flavor has a unique combination of virtual cpus, disk space and memory capacity. This data may be useful when choosing a flavor to pass to the `knife openstack server create` subcommand. knife openstack image list -------------------------- -Outputs a list of all available images and snapshots available to the currently configured OpenStack Compute cloud account. An image is a collection of files used to create or rebuild a server. The retuned list filters out image names ending in 'initrd', 'kernel', 'loader', 'virtual' or 'vmlinuz' (this may be disabled with `--disable-filter`). This data may be useful when choosing an image id to pass to the `knife openstack server create` subcommand. +Lists all available images and snapshots available to the currently configured OpenStack account. An image is a collection of files used to create or rebuild a server. The retuned list filters out image names ending in 'initrd', 'kernel', 'loader', 'virtual' or 'vmlinuz' (this may be disabled with `--disable-filter`). This data may be useful when choosing an image to pass to the `knife openstack server create` subcommand. knife openstack group list -------------------- -Outputs a list of the security groups available to the currently configured OpenStack Compute cloud account. Each group may have multiple rules. This data may be useful when choosing your security group(s) to pass to the `knife openstack server create` subcommand. +Provides a list of the security groups available to the currently configured OpenStack account. Each group may have multiple rules. This data may be useful when choosing your security group(s) to pass to the `knife openstack server create` subcommand. +knife openstack network list +-------------------- + +Lists the networks available to the currently configured OpenStack account. This data may be useful when choosing your networks to pass to the `knife openstack server create` subcommand. This command is only available with OpenStack deployments using the Neutron network service (not nova-network). Please see `knife openstack server delete --help` for all of the supported options. + # License # -Author:: Seth Chisamore (<schisamo@opscode.com>) +Author:: Seth Chisamore (<schisamo@getchef.com>) -Author:: Matt Ray (<matt@opscode.com>) +Author:: Matt Ray (<matt@getchef.com>) Author:: Chirag Jog (<chirag@clogeny.com>) -Copyright:: Copyright (c) 2011-2013 Opscode, Inc. +Copyright:: Copyright (c) 2011-2014 Chef Software, Inc. License:: Apache License, Version 2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.