Age | Commit message (Collapse) | Author |
|
convert FILESEXTRAPATHS to FILESEXTRAPATHS_append to avoid warnings from
the latest oe-core.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
To avoid configuration errors, we need to get the latest meta-networking
changes.
This recipe will be dropped eventually, but will stay a bit longer for
migration purposes.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
This patch removes the openrc file from the keystone package and
references to openrc in the python-kystone_git.bb file.
Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
Adding a qemu 2.0.0 bbappend to sync with oe-core master.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
when launching guests, libvirt may create veth links, without having
the veth module on the target this fails, and no guests can be launched.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
Since rabbitmq uses HOME as the location for the erlang cookie,
rabbitmq will fail to start if that directory is not on the
system.
To ensure that this is configurable, we use the bitbake variable
ROOT_HOME and replace a placeholder in the initscript.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
Instead of creating tenant/user/role and service/endpoint for all
openstack services in keystone postinstall, now each of the services
creates keystone identities by itself in its own postinstall.
The existing identity.sh has been re-written to be a utility that takes
parameters, and the service postinstall calls identity.sh to create its
own keystone identities. The identity.sh can also be used as a tool to
manually create keystone identities at run time.
Signed-off-by: Andy Ning <andy.ning@windriver.com>
|
|
Instead of creating tenant/user/role and service/endpoint for all
openstack services in keystone postinstall, now each of the services
creates keystone identities by itself in its own postinstall.
The exiting identity.bbclass has been re-written so that each of
the individual postinstalls will queue up keystone identity creation
in /etc/keystone/service-user-setup at runtime. And
service-user-setup will be run as the last postinstall to create
keytstone identities for all the services.
Signed-off-by: Andy Ning <andy.ning@windriver.com>
|
|
Instead of creating tenant/user/role and service/endpoint for all
openstack services in keystone postinstall, now each of the services
creates its own keystone identities by queueing them up in its postinstall
to a file /etc/keystone/service-user-setup. service-user-setup
script, when run as the last postinstall, calls identity.sh with keystone
identity parameters to create necessary identities for the services.
Signed-off-by: Andy Ning <andy.ning@windriver.com>
|
|
Add a README file pertaining to the openldap/keystone/pam usage.
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
Adding /etc/keystone/hybrid-backend-setup and
convert_keystone_backend.py to set the backend
for keystone to hybrid and starts openldap and
restarts keystone.
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
Modify python-keystone to use openldap. keystone's identity and
assignment backends are configured to utilitze the hybrid backend for
keystone. This backend uses the SQL backend by default and goes to the ldap
database if the user doesn't exist.
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
- modify pam configuration files to use ldap
- modify sshd to enable pam
- modify nsswitch.conf to use ldap
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
Enabling OpenLDAP support in keystone and the controller as a distro
feature
Add packages openldap python-ldap nss-pam-ldapd, libsasl2-modules,
python-keystone-hybrid-backend, pam-plugin-mkhomedir and cyrus-sasl to
the controller task
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
This project provides two alternative backends for Keystone:
hybrid SQL and LDAP backends for OpenStack Keystone
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
Package nss-pam-ldapd, this is a daemon enabling pam/ldap
authentication.
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
uwsgi is using pkg-config to detect whether or not yajl is present
in the build. We do want to use yajl, so we add an explicit dependency
and pkgconfig inherit.
Without this, build errors may occur, since the build paths that don't
use yajl are not supported.
And finally, to prevent the searching of host include paths, we set
UWSGI_REMOVE_INCLUDES and purge local directories. This ensures that
only the sysroot and package config settings are used.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
Some of the openstack data is associated with external resources
(ie glance may have external files), we explicitly invoke the delete commands on those
in additional to dropping and recreating the databases.
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
Create new benchmarking packagegroup bb. Benchmarking
packagegroup can be included into final image to include
all required packages for benchmarking OpenStack at scale.
Currently OpenStack benchmarking is provided by OpenStack
component Rally.
Also introducing new Yocto variable OPENSTACK_EXTRA_FEATURES
which can be used to inform what feature should be included in
meta-cloud-services OpenStack final image.
To include benchmarking packagegroup in local.conf have
OPENSTACK_EXTRA_FEATURES += " benchmarking"
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
Command "rally verify start" gives the following error:
TRACE rally File "/usr/lib64/python2.7/site-packages/rally/verification/verifiers/tempest/subunit2json.py", line 113, in stopTestRun
TRACE rally with open(self.results_file, 'wb') as results_file:
TRACE rally TypeError: coercing to Unicode: need string or buffer, int found
For Python 2.x, open() requires a string but not file descriptor number.
However for Python 3.x, open() can either accept a string file name of a
file descriptor number.
So modify code to pass in open() string file name. This should work
for both Python 2.x and 3.x
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
Command "rally-manage db recreate" gives the following error:
TRACE rally File "/usr/lib64/python2.7/site-packages/sqlalchemy/dialects/postgresql/base.py", line 898, in format_type
TRACE rally raise exc.CompileError("Postgresql ENUM type requires a name.")
TRACE rally CompileError: Postgresql ENUM type requires a name.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
By default, Rally verification requires to do
following things:
* git clone tempest source from upstream
* setup virtualenv for this tempest
* setup testr environment with virtualenv above
* create tempest.conf for this tempest
If tempest is already installed/configured in rootfs
then force Rally to use this existing tempest.
A new introduced option "existing_tempest_config" in /etc/rally/rally.conf
can be used to configure Rally to either use the existing
tempest or to download from upstream.
If the option "existing_tempest_config" is not set then follows
the default path. If existing_tempest_config is set to absolute
path of tempest config folder (which contains tempest "tools"
and .testr.conf) then Rally uses this existing tempest.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
OpenStack ironic is not currently supported, so remove
any code in rally that invokes ironicclient.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
* Add Rally bb file
* Add Rally deployment json config for existing deployment
* Add task example
* To use custom Rally config file
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
OpenStack Rally requires oslotest.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
OpenStack Rally requires "tools" from tempest.
Also modify tempest ".testr.conf" to allow testr to
run tempest from any location.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
cirros image installed at /root/images/ can be upgraded
to different version. Instead of hardcoding cirros image
name, let find cirros image at runtime as glance test config
is not bounded to a specific cirros image.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
The uuid candidate may be none, need to check for this.
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
Some of the neutron built-in testcases failed
because they can not find nec plugin extensions
based on the given relative path.
So forcing these failure testcases to look for
these extensions using absolute path.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
The tests included with neutronclient are calling neutron commands
agents-list and net-list with the "-f" flag set to "json". This isn't
supported and throws an exception during the test. The exception is
unexpected and fails to free the resources allocated by the mox
testing library causing the following tests to fail. This fix applies
a patch that prevents the exception from being thrown by calling the
commands with the "-f" flag set to "csv", which is supported.
Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
In qemu, the virtfs configuration option requires attr and cap-ng.
Adding "attr" to a PACKAGECONFIG[virtfs] doesn't work because this
only adds "attr" as a package dependency but doesn't set the
configuration option for generating the correct configure command
line. This fix explicitly adds the two required configuration options
to the configuration line since virtfs is already specified as a
desired configuration option.
Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
On system bootup, the softdog kernel module gets modprobed from the package
sanlock-wdmd-init, but because it didn't exist, we get:
Loading the softdog kernel module: FATAL: Module softdog not found.
Failure
Add the package kernel-module-softdog to add the kernel module softdog
to the rootfs
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
dhclient needs to be configured to request classess static
routes (option code 121) from dhcp server. And dhclient-script will call
dhclient-exit-hooks which will parse and add the static routes
received from dhcp server into the routing table.
The support are built into both controller image and usb guest image,
but only guest image makes use of it to add static route for instance to
access metadata.
Signed-off-by: Andy Ning <andy.ning@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
The keystoneclient-test package (created in the keystoneclient recipe)
is currently being generated with no files. This is causing a build
error. The path to the files to include in this package specify the
"${D}" variable at the beginning of the path, which isn't needed.
Removing this variable from the line fixes the problem.
Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
If the uuid specified has trailing whitespace, update
the error message to suggest that this is the case. (ie
give a more useful error message)
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
Ceilometer ceilometer/hardware/inspector/snmp.py and some
some ceilometer builtin tests require python pysnmp package.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
One of the ceilometer builtin test
ceilometer.tests.api.v2.test_list_events_scenarios.TestListEvents.test_all_trailing_slash
failed as it tries to test with trailing slash.
The root cause is in pecan package, and the following two upstream
commits fix the issue:
Upstream 0e18b1f7d490695f4988d92c83bf239cf2937bf6 from
https://github.com/stackforge/pecan.git branch master
Upstream 573846e01209327030db146909de03e97cd8a858 from
https://github.com/stackforge/pecan.git branch master
Instead of back porting these commits, it's better to uprev
python-pecan to 0.5.0 version which also contains these commits.
Also remove meta-openstack/recipes-devtools/python/python-pecan_0.4.2.bb
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
New version of python-pecan (e.g pecan 0.5.0) requires
python logutils.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
ceilometer tests against various databases: mongodb, db2,
sqlalchemy, hbase. For mongodb and db2, tests use environment
variables: CEILOMETER_TEST_MONGODB_URL and CEILOMETER_TEST_DB2_URL
for supplying URL database connection into tests. As we do not
support mangodb or db2, by not setting or setting bogus URLs to
these two environment variables will cause tests to fail.
These tests should be skipped as prerequisite is not satisfied.
Therefore we modify ceilometer testcases for mongodb and db2
to be skipped instead of failed if CEILOMETER_TEST_MONGODB_URL and
CEILOMETER_TEST_DB2_URL are not set.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
Commit e5b7606eaa94033256eb1aca5f6a6eed4f9e54a0 from
https://github.com/openstack/ceilometer.git master
With the recent introduction of the identity_uri in keystoneclient,
there is a small backward incompatible change which means that weird
protocols like the ones we use during tests aren't support properly
anymore. The patch replaces "foottp" and "barttp" by "file" hopefully
keeping testing coverage the same.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
Many ceilometer built-in testcases failed because they
can not find ceilometer configuration file, as these tests
use relative paths to find these configuration files.
So forcing these failure testcases to look for these
configuration file using absolute path.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
Many cinder built-in testcases failed because they
can not find cinder configuration file, as these
testcases assume that they are run at python
site-packages dir. So forcing these failure
testcases to look for these configuration file
using absolute path.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
Many glance built-in testcases failed because they
can not find glance configuration files, as these
testcases assume that they are run at python
site-packages dir. So forcing these failure
testcases to look for these confiugration file
using absolute path.
Also some tests fail because of missing two
packages: python-psutil and qpid-python.
So add these packages into glance-tests RDEPENDS
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
Keystoneclient tests require the package httpretty be available on the
system in order to run. This fix includes a recipe file for obtaining
and building httpretty. The fix also adds httpretty as a dependency
of keystoneclient.
Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
|