summaryrefslogtreecommitdiffstats
path: root/meta-openstack
Commit message (Collapse)AuthorAgeFilesLines
...
* Ruby/chef solo: Add recipes-devtools/ruby/systemu_git.bbAmy Fong2014-05-241-0/+25
| | | | | | | | Universal capture of stdout and stderr and handling of child process pid for windows, *nix, etc. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/slop_git.bbAmy Fong2014-05-241-0/+24
| | | | | | | A simple option parser with an simple syntax and API. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/rest-client_git.bbAmy Fong2014-05-241-0/+30
| | | | | | | | | A simple HTTP and REST client for Ruby, inspired by the Sinatra's microframework style of specifying actions: get, put, post, delete. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/rack_git.bbAmy Fong2014-05-241-0/+28
| | | | | | | | | | | Provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/pry_git.bbAmy Fong2014-05-242-0/+102
| | | | | | | | | Pry is a powerful alternative to the standard IRB shell for Ruby. It is written from scratch to provide a number of advanced features. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/ohai_git.bbAmy Fong2014-05-241-0/+39
| | | | | | | | | | | Ohai detects data about your operating system. It can be used standalone, but it's primary purpose is to provide node data to Chef. Ohai will print out a JSON data blob for all the known data about your system. When used with Chef, that data is reported back via node attributes. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/net-ssh_git.bbAmy Fong2014-05-242-0/+59
| | | | | | | | | Net::SSH is a pure-Ruby implementation of the SSH2 client protocol. It allows you to write programs that invoke and interact with processes on remote servers, via SSH2. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/net-ssh-multi_git.bbAmy Fong2014-05-242-0/+66
| | | | | | | | | | | A library for controlling multiple Net::SSH connections via a single interface. It exposes an API similar to that of Net::SSH::Connection::Session and Net::SSH::Connection::Channel, making it simpler to adapt programs designed for single connections to be used with multiple connections. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/net-ssh-gateway_git.bbAmy Fong2014-05-242-0/+65
| | | | | | | | | | | A library for programmatically tunnelling connections to servers via a single "gateway" host. It is useful for establishing Net::SSH connections to servers behind firewalls, but can also be used to forward ports and establish connections of other types, like HTTP, to servers with restricted access. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/mixlib-shellout_git.bbAmy Fong2014-05-241-0/+29
| | | | | | | | | | | Provides a simplified interface to shelling out yet still collecting both standard out and standard error and providing full control over environment, working directory, uid, gid, etc. No means for passing input to the subprocess is provided. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/mixlib-log_git.bbAmy Fong2014-05-241-0/+25
| | | | | | | | Provides a mixin for enabling a class based logger object, a-la Merb, Chef, and Nanite. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/mixlib-config_git.bbAmy Fong2014-05-241-0/+25
| | | | | | | Provides a class-based configuration object, as used in Chef. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/mixlib-cli_git.bbAmy Fong2014-05-241-0/+25
| | | | | | | | Provides a class-based command line option parsing object, like the one used in Chef, Ohai and Relish. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/mixlib-authentication_git.bbAmy Fong2014-05-241-0/+29
| | | | | | | | Mixlib::Authentication provides a class-based header signing authentication object, like the one used in Chef Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/mime-types_git.bbAmy Fong2014-05-241-0/+27
| | | | | | | | | | The mime-types library provides a library and registry for information about MIME content type definitions. It can be used to determine defined filename extensions for MIME types, or to use filename extensions to look up the likely MIME type definitions. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/method-source_git.bbAmy Fong2014-05-242-0/+57
| | | | | | | A utility to return a method's sourcecode as a Ruby string. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/json_git.bbAmy Fong2014-05-241-0/+24
| | | | | | | An implementation of the JSON specification according to RFC 4627 Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/ipaddress_git.bbAmy Fong2014-05-241-0/+28
| | | | | | | | | | IPAddress is a Ruby library designed to make the use of IPv4 and IPv6 addresses simple, powerful and enjoyable. It provides a complete set of methods to handle IP addresses for any need, from simple scripting to full network design. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/highline_git.bbAmy Fong2014-05-241-0/+30
| | | | | | | | | | | | | HighLine was designed to ease the tedious tasks of doing console input and output with low-level methods like gets() and puts(). HighLine provides a robust system for requesting data from a user, without needing to code all the error checking and validation rules and without needing to convert the typed Strings into what your program really needs. Just tell HighLine what you're after, and let it do all the work. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/hashie_git.bbAmy Fong2014-05-241-0/+24
| | | | | | | A collection of tools that extend Hashes and make them more useful. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/erubis_git.bbAmy Fong2014-05-241-0/+32
| | | | | | | Erubis is an implementation of eRuby. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/diff-lcs_git.bbAmy Fong2014-05-241-0/+27
| | | | | | | | | | Diff::LCS computes the difference between two Enumerable sequences using the McIlroy-Hunt longest common subsequence (LCS) algorithm. It includes utilities to create a simple HTML diff output format and a standard diff-like tool. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/coderay_git.bbAmy Fong2014-05-241-0/+26
| | | | | | | CodeRay is a Ruby library for syntax highlighting. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/chef-zero_git.bbAmy Fong2014-05-241-0/+39
| | | | | | | | | | | | | | Chef Zero is a simple, easy-install, in-memory Chef server that can be useful for Chef Client testing and chef-solo-like tasks that require a full Chef Server. It IS intended to be simple, Chef 11 compliant, easy to run and fast to start. It is NOT intended to be secure, scalable, performant or persistent. It does NO input validation, authentication or authorization (it will not throw a 400, 401 or 403). It does not save data, and will start up empty each time you start it. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/bundler_git.bbAmy Fong2014-05-241-0/+33
| | | | | | | | | | | | | | | | Bundler makes sure Ruby applications run the same code on every machine. It does this by managing the gems that the application depends on. Given a list of gems, it can automatically download and install those gems, as well as any other gems needed by the gems that are listed. Before installing gems, it checks the versions of every gem to make sure that they are compatible, and can all be loaded at the same time. After the gems have been installed, Bundler can help you update some or all of them when new versions become available. Finally, it records the exact versions that have been installed, so that others can install the exact same gems. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add classes/ruby.bbclassAmy Fong2014-05-241-0/+119
| | | | | | | | | | | | In order to build chef we create a new ruby.bbclass to handle packaging ruby gems. The gem install technique we make use of avoids dependency issues which are not easily worked around yet care must be taken to ensure runtime dependencies are properly listed. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Documentation update: add layersAmy Fong2014-05-241-0/+2
| | | | | | | | | The following 2 layers are now needed for the builds, adding to README.setup /meta-openembedded/meta-webserver /meta-openembedded/meta-ruby Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* rabbitmq-server: the following files/directories were installed but not ↵Amy Fong2014-05-242-1/+16
| | | | | | | | | shipped in any package A number of license and installation files were installed to ${D}, move these to ${D}/usr/share/doc Signed-off-by: Amy Fong <amy.fong@windriver.com>
* python-six: No generic license file exists for: UNKNOWN in any providerAmy Fong2014-05-241-2/+2
| | | | | | | Change license to MIT Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-amqplib: No generic license file exists for: LGPL-3 in any providerAmy Fong2014-05-241-2/+2
| | | | | | | Modifying license to LGPL-3.0 Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* add readme about barbican security issuesKeith Holman2014-05-231-0/+69
| | | | | | | | | | | Using Barbican with Keystone authentication has some known problems. Specifically, the problme is that Keystone now uses PKI tokens, which are too long for the Barbican protocol to handle in its current configuration. This patch delivers a readme file to document these issues for the end-user. Signed-off-by: Keith Holman <Keith.Holman@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* documentation: remove non-yocto script referencesBruce Ashfield2014-05-233-52/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docs: move more READMEs into DocumentationBruce Ashfield2014-05-237-447/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Testing documentationAmy Fong2014-05-238-0/+2179
| | | | | | | | | Add documentation for testing swift, ceph, heat. Create a script and instructions on a script that launches a controller and a specified number of compute nodes. Signed-off-by: Amy Fong <amy.fong@windriver.com>
* barbican: increase uwsgi buffer-size to work with keystoneKeith Holman2014-05-233-1/+45
| | | | | | | | | | | | uWSGI defaults to a maximum packet size of 4096 bytes. This is too small to support working with PKI tokens that are now default in Keystone. The size of the packets within Barbican are dependent on both the size of the Keystone token and the size of the secret to be stored & retrieved. Increasing the buffer size to the maximum allowed by uWSGI allows Barbican to support the largest possible secrets. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* barbican: output a log file for debugging purposesKeith Holman2014-05-231-3/+4
| | | | | | | | Currently, the /var/log/barbican directory is created but remains empty. This change outputs a Barbican log file for debugging communication problems that occur via uWSGI. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* heat: change template version to 2013-05-23Bruce Ashfield2014-05-233-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* heatclient: add heatclient-tests bbVu Tran2014-05-231-1/+7
| | | | | | | | Heatclient tests requires python-mox3 and python-testscenarios. Create additional heatclient-tests package when included into final image will also include these 2 packages into final image. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* Add new python-mox3 bbVu Tran2014-05-231-0/+22
| | | | | | | mox3 package is required by heatclient tests, so pulling this package in. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* Add new python-testscenarios bbVu Tran2014-05-231-0/+19
| | | | | | | testscenarios package is required by heatclient tests, so pulling this package in. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* heat tests change project_dir pathVu Tran2014-05-232-0/+24
| | | | | | | | | | | By default, heat-tests sets project dir to /usr/<lib/lib64>/python2.7/site-packages/ which is the starting place for heat-tests to search for default environment setting file. However all the required file are in /etc/heat. So set project_dir to "/" Signed-off-by: Vu Tran <vu.tran@windriver.com>
* heat: add example hot templatesVu Tran2014-05-234-2/+211
| | | | | | | | Add 2 hot templates which can be used to create heat stack for demonstrating heat stack lifecycle management and autoscaling Signed-off-by: Vu Tran <vu.tran@windriver.com>
* heat change config file for autoscalingVu Tran2014-05-231-2/+2
| | | | | | | | Set heat_metadata_server_url, heat_waitcondition_server_url config options in heat.conf to allow Ceilometer to be able to invoke heat when resource alarm triggered. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* ceilometer: need to filter meter-id when doing sql queryingVu Tran2014-05-231-8/+9
| | | | | | | | | | | | | | | Currently statistic values for all the meters are the same, for example, 2 commands: $ ceilometer statistics -m cpu_util $ ceilometer statistics -m cpu return the same statistic values, and this is incorrect. It needs to query Ceilometer database for samples for the correct meter-id to calculate statistic. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* cinder: ensure log-dir is set correctlyVu Tran2014-05-232-2/+3
| | | | | | | | | Make sure all Cinder services have the right setting for log_dir in the init script as well as in the config setting in .conf file as we shouldn't only count on our init script launch to get logging right. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* cinder log postinsts missing var-log-cinderVu Tran2014-05-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By turning on "log_dir=/var/log/cinder" in /etc/cinder/cinder.conf all cinder services require folder /var/log/cinder exist to be able to start. This folder is created through startup scripts "/etc/init.d/cinder-xxxx" However, at very first boot, cinder postinst script invokes "cinder-manage db sync" without first creating folder /var/log/cinder which causes "cinder-manage db sync" to fail with the following errors: Tue May 20 18:26:59 2014: Running postinst /etc/rpm-postinsts/114... Tue May 20 18:26:59 2014: Starting postgres server...already running. Tue May 20 18:27:01 2014: Traceback (most recent call last): Tue May 20 18:27:01 2014: File "/usr/bin/cinder-manage", line 543, in <module> Tue May 20 18:27:01 2014: main() Tue May 20 18:27:01 2014: File "/usr/bin/cinder-manage", line 523, in main Tue May 20 18:27:01 2014: logging.setup("cinder") Tue May 20 18:27:01 2014: File "/usr/lib64/python2.7/site-packages/cinder/openstack/common/log.py", line 359, in setup Tue May 20 18:27:01 2014: _setup_logging_from_conf() Tue May 20 18:27:01 2014: File "/usr/lib64/python2.7/site-packages/cinder/openstack/common/log.py", line 406, in _setup_logging_from_conf Tue May 20 18:27:01 2014: filelog = logging.handlers.WatchedFileHandler(logpath) Tue May 20 18:27:01 2014: File "/usr/lib64/python2.7/logging/handlers.py", line 386, in __init__ Tue May 20 18:27:01 2014: logging.FileHandler.__init__(self, filename, mode, encoding, delay) Tue May 20 18:27:01 2014: File "/usr/lib64/python2.7/logging/__init__.py", line 893, in __init__ Tue May 20 18:27:01 2014: StreamHandler.__init__(self, self._open()) Tue May 20 18:27:01 2014: File "/usr/lib64/python2.7/logging/__init__.py", line 912, in _open Tue May 20 18:27:01 2014: stream = open(self.baseFilename, self.mode) Tue May 20 18:27:01 2014: IOError: [Errno 2] No such file or directory: '/var/log/cinder/cinder-manage.log' So make sure "/var/log/cinder" is created before "cinder-manage db sync" is invoked. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* README.setup update compute launch commandVu Tran2014-05-211-1/+1
| | | | | | | | | | | | Currently qemu compute is instructed to start with 1 vcpu, this at least causes ceilometer report wrong avg cpu_util percentage when multiple VMs running on qemu compute. So increase qemu compute vcpu from 1 to 4 to fix the issue above and also provide qemu compute a bit more power to run more heavier tests. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* autotools: B != S build fixesBruce Ashfield2014-05-2111-3/+11
| | | | | | | | | | | | | Since oe-core introduced the autotools separated build and source directory changes, some package builds broke. With this change, we can build against the latest oe-core master. It should be noted that this masks the build issues, and the bbappends should be removed as dependency layers update or "real" fixes are generated. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* bbappends: update bbappends to match oe-core, meta-oe and ↵Bruce Ashfield2014-05-218-0/+22
| | | | | | meta-virtualization versions Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: update bbappend to 1.2.4Bruce Ashfield2014-05-212-1/+14
| | | | | | | | Track the update of libvirt to 1.2.4 in meta-virtualization. We also move the 1.2.2 bbappend to dangling for layers and users that are not tracking the latest meta-virt. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>