Commit Graph

2772 Commits

Author SHA1 Message Date
Zuul
4b4745f1cd Merge "Remove those copy words occured twice times in ceph-node-resiliency.rst" 2019-04-28 05:53:20 +00:00
Zuul
b6830fd9c3 Merge "Fix some tempest values" 2019-04-27 07:12:24 +00:00
Zuul
15d7e6fcc2 Merge "Fix tempest test script" 2019-04-27 07:12:23 +00:00
Zuul
5361c3282a Merge "Add OpenSUSE Leap15 testing" 2019-04-26 16:44:16 +00:00
guotao.bj
0c35e775e0 Remove those copy words occured twice times in ceph-node-resiliency.rst
Change-Id: Icc6c131becc4e6e1092403d032b84d5aef937756
2019-04-23 16:59:04 +00:00
Manuel Buil
0f459ecfee [Docs] Fixed a few typos
This patch fixes several typos I found while reading the documentation

Change-Id: I01b1766403761c7e85303a214baeb0c5337fd0c2
Signed-off-by: Manuel Buil <mbuil@suse.com>
2019-04-22 17:02:03 +02:00
Zuul
22289a945c Merge "OSH: Add emptydirs for tmp" 2019-04-20 15:27:24 +00:00
Pete Birley
623c131292 OSH: Add emptydirs for tmp
This PS adds emptydirs backing the /tmp directory in pods, which
is required in most cases for full operation when using a read only
filesystem backing the container.

Additionally some yaml indent issues are resolved.

Change-Id: I9df8f70e913b911ff755600fa2f669d9c5dcb928
Signed-off-by: Pete Birley <pete@port.direct>
2019-04-20 08:55:44 -05:00
Zuul
f22f530303 Merge "Fix results of openstack volume type list --default" 2019-04-20 04:52:02 +00:00
Zuul
1f502d76c5 Merge "Fix novnc init asset copy options" 2019-04-20 04:20:39 +00:00
jh629g
0afa508f06 Fix results of openstack volume type list --default
Currently openstack volume type list --default
returns 404 if the openstack environment is
deployed using openstack-helm. The value
default_volume_type was previously unimplemented
in values.yaml for cinder.

Change-Id: Ifb6d54d875d5cbaffc8330d15d999ef830010177
2019-04-20 03:36:09 +00:00
OpenDev Sysadmins
9560a45519 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:45:14 +00:00
hagun.kim
360ee8255e Fix novnc init asset copy options
When novnc pod is re-run because of host reboot and so on,

novnc pod has existing volume /tmp/usr/share, which has 0444 permissions.

So init container occurs an error while it tries to copy asset files.

cp: cannot create regular file '/tmp/usr/share/novnc/index.html': Permission denied

With -f option, the init container can copy without errors.

Change-Id: I56d928b7f4a30a6be29b47560357a3b4f5eec764
Signed-off-by: hagun.kim <hagun.kim@samsung.com>
2019-04-19 16:48:50 +09:00
Zuul
283f3a2d63 Merge "Remove remaining test pods before new test run" 2019-04-19 00:41:54 +00:00
Zuul
934b3d6c2b Merge "Neutron: Add pod/container security context" 2019-04-18 21:41:53 +00:00
Zuul
136d53d082 Merge "Change default of ironic.conductor.api_url from internal to public" 2019-04-18 21:41:52 +00:00
Zuul
c02a01bd65 Merge "Add credential delete hook to keystone chart" 2019-04-18 21:41:50 +00:00
pd2839
ed466d9caf Neutron: Add pod/container security context
removing readOnlyRootFilesystem flag since pods are running to
crashLoopBackOff state by implementing HTK functionality.

Change-Id: I221bdb54b1e94e4089fb079f161dcb4de4dd3571
2019-04-18 12:44:12 +00:00
Zuul
b8b7c0fa24 Merge "Fix configmap-etc values for tempest" 2019-04-18 06:44:59 +00:00
Zuul
3dfb927c2b Merge "Add an option to the health probe to test all pids" 2019-04-18 06:17:03 +00:00
Zuul
21668ddddf Merge "Add logging.conf to tempest" 2019-04-18 06:15:09 +00:00
Gage Hugo
3d6f3088a3 Add credential delete hook to keystone chart
This change creates a pre-delete hook to clean out all entries
in the credential table of the keystone database when the
keystone service is deleted. Note that these are not
the typical username/password.[0]

This fixes the issue of leftover credential blobs being saved
in the database that are unable to be decrypted since the
original encryption keys are removed upon deletion of the
keystone service

[0] https://specs.openstack.org/openstack/keystone-specs/specs/keystone/newton/credential-encryption.html

Change-Id: I8adf0878af2f3b880e9194a6cb8d97b58d6895a5
2019-04-17 20:10:48 +00:00
Itxaka
82c12e581d Fix some tempest values
changes the default admin_domain_scope to false as we do not provide
an admin scoped credentials in the default deployment

drops volume-feature-enabled -> api_v1/api_v3 as its deprecated and
instead use catalog_type to let tempest know which version to use

drop identiti-feautre-enabled -> api_v2 as its deprecated

Change-Id: I508b5d3e59b33e2c37155918ce99504e1b760210
2019-04-17 15:13:50 +02:00
Zuul
db87cf6390 Merge "Add internal tenant id in conf" 2019-04-17 05:59:23 +00:00
Zuul
9928f5c819 Merge "Allow more generic overrides for nova placement-api" 2019-04-17 05:48:43 +00:00
jlego229-kim
65bd9a7a04 Change default of ironic.conductor.api_url from internal to public
Currently a pxe-client has to contact with ironic-api through
it's internal endpoint during lookup() period.

However, the pxe-client cannot access kube-dns by ifself,
so it needs additional dns server. (or Using NodePort)

With additional dns server, it will be safer for pxe-client
to contact with ironic-api through it's public endpoint(passing by ingress)
rather than internal endpoint directly becuase internal pod's IPs would be changed frequently.

Also, I refered to {Values.conf.ironic.glance.swift_endpoint_url}.
(swift is also accessed by the pxe-client and swift_url's default is public endpoint)

Change-Id: I0ad97f3ed608973d7e5a4a11d87595fe258a0db5
2019-04-17 13:08:32 +09:00
Zuul
f65c21de1e Merge "point to openstackhelm tempest image" 2019-04-17 00:17:03 +00:00
Liang Fang
d1c8e778a7 Add internal tenant id in conf
Cinder raw cache feature requires internal tenant id be set in
/etc/cinder/cinder.conf, something like:

cinder_internal_tenant_project_id = b7455b8974bb4064ad247c8f375eae6c
cinder_internal_tenant_user_id = f46924c112a14c80ab0a24a613d95eef

This patch get or create if not exist intenal user id and project id, and then
set in cinder.conf

reference: Cinder cache feature:
https://docs.openstack.org/cinder/latest/admin/blockstorage-image-volume-cache.html

Story: 2004869
Task: 29121
Change-Id: I07954d2efa905a56ca8482d0ec147534c97d01ea
Signed-off-by: Liang Fang <liang.a.fang@intel.com>
2019-04-16 16:09:31 +00:00
Itxaka
10289c5566 Add logging.conf to tempest
Add a configurable logging.conf to the tempest chart.
Sets the default level to WARN as it currently its on INFO and
that results into the log being full of rest_client calls, which
makes it difficult to read the log and the actual tests running

Change-Id: I9deb016a4feee482c01e79a4209c001968b8ea12
2019-04-16 12:11:01 +02:00
Zuul
9318e0a057 Merge "Add heat to compute kit and apparmor jobs" 2019-04-15 20:28:56 +00:00
Itxaka
720c72baa9 Fix tempest test script
We need to pass the config file to tempest cli so it can run from
anywhere

As a side effect, we need to also pass the concurrency value to the cli
as it cannot infer it by itself

Change-Id: I897951cbbe39152767123387dff43109bef84cc6
2019-04-15 17:35:55 +02:00
Itxaka
1c8cbe6be8 point to openstackhelm tempest image
we are pointing to a non-existant tempest image from kolla

point to our published image instead

Change-Id: Ia9acfdc90c2bed47c944bcc1420a2e9920b40a54
2019-04-15 17:34:13 +02:00
Jean-Philippe Evrard
a828d38316 Add OpenSUSE Leap15 testing
There is currently no testing of the Leap 15 images in OSH.

This addresses it by:
- Using the values_overrides folder according to the multi-os
  spec, creating value override files there for changes that
  needs to happen on Leap 15 images.
- Point to the right images using the previously created folder,
  to allow using those in CI easily.
- Change CI to use previously created overrides.

Depends-On: https://review.openstack.org/#/c/651501
Change-Id: I520d3676195c62b253a19397c86b0d0fbabee710
2019-04-15 11:15:35 +02:00
Itxaka
55f70be381 Add heat dashboard if available to horizon
Currently there is no enabling of the heat dashboard if its
installed on the horizon image.

This patch add an extra conf var that allows several dashboards
to be added and will try to find and enable them on start

If the panel dirs dont exists, it will do nothing

This patch add the extra heat_dashboard and includes the existing
neutron_taas_dashboard into the new config

Change-Id: Ibcc4da166d907f3cb842bfc45d842a650361a2d8
2019-04-15 07:13:18 +00:00
Zuul
a187084bdd Merge "Heat: Make it optional to use log_config_append option" 2019-04-14 18:34:46 +00:00
Zuul
f87025e2b8 Merge "Allow more generic overrides for ceilometer-api" 2019-04-13 14:25:12 +00:00
Zuul
603f8edb8b Merge "Enable audit pipeline for glance" 2019-04-13 14:25:10 +00:00
Zuul
a7d2654839 Merge "Enable audit pipeline for panko" 2019-04-13 14:16:16 +00:00
Zuul
55b0f8aa0f Merge "Enable audit pipeline for nova" 2019-04-13 01:33:47 +00:00
Zuul
7eaba77a83 Merge "Enable audit pipeline for heat" 2019-04-13 01:33:45 +00:00
Zuul
df6fe82407 Merge "Enable audit pipeline for neutron" 2019-04-13 01:28:36 +00:00
Zuul
4650530c4e Merge "Enable audit pipeline for cinder" 2019-04-13 01:28:04 +00:00
Pete Birley
3f83d6978c Heat: Make it optional to use log_config_append option
This PS enables the use of simple logging options if desired.

Change-Id: I0278cefeaa46a39a893ba1fdc9f4c4b633a8866b
Signed-off-by: Pete Birley <pete@port.direct>
2019-04-12 15:37:36 -05:00
Zuul
ab5e0a82e2 Merge "Enable audit pipeline for ceilometer" 2019-04-12 19:52:10 +00:00
Itxaka
6d7a909447 Allow more generic overrides for nova placement-api
With this patch we allow for a more easy way of overriding some of
the values that may be used in other distros while maintainting the
default values if those values are not overriden

The following values are introduced to be overriden:

conf:
  security:
  software:
    apache2:
      conf_dir:
      site_dir:
      mods_dir
      binary:
      extra_flags:
      a2enmod:
      a2dismod:

On which:
 * conf_dir: directory where to drop the config files for apache vhosts
 * site_dir: directory where to drop the enabled virtualhosts
 * mods_dir: directory where to drop any mod configuration
 * binary: the binary to use for launching apache
 * extra_flags: any flags that will be passed to the apache binary call
 * a2enmod: mods to enable
 * a2dismod: mods to disable
 * security: security configuration for apache

Notice that if there is no overrides given, it should not affect anything
and the templates will not be changed as the default values are set
to what they used to be

Change-Id: I4fcfde78c5c8fa65956aeae55108ffa1f10e6972
2019-04-12 14:03:36 +02:00
Itxaka
229db2f155 Allow more generic overrides for keystone
With this patch we allow for a more easy way of overriding some
of the values that may be used in other distros while maintainting
the default values if those values are not overriden.

The following values are introduced to be overriden:
conf:
  security:
  software:
    apache2:
      conf_dir:
      site_dir:
      mods_dir:
      binary:
      start_flags:
      a2enmod:
      a2dismod:

On which:
 * conf_dir: directory where to drop the config files
 * site_dir: directory where to drop the enabled virtualhosts
 * mods_dir: directory where to drop any mod configuration
 * binary: the binary to use for launching apache
 * start_flags: any flags that will be passed to the apache binary call
 * a2enmod: mods to enable
 * a2dismod: mods to disable
 * security: security configuration for apache

Notice that if there is no overrides given, it should not affect anything
and the templates will not be changed as the default values are set to what
they used to be as to not disrupt existing deployments.

Change-Id: I7622325cf23e5afb26a5f5e887458fd58af2fab8
2019-04-12 04:16:48 +00:00
Zuul
3d681fe7bb Merge "Fix volumemounts indent issue" 2019-04-12 00:14:27 +00:00
Zuul
2aae584b7d Merge "Add log level variable to Horizon log configuration" 2019-04-11 21:38:57 +00:00
Steve Wilkerson
0e1dec39d1 Add heat to compute kit and apparmor jobs
This adds the deployment of heat to the compute kit and apparmor
job in order to provide a simple mechanism for booting vms to
validate a functional cloud deployment

Change-Id: I1a0b0fd4fd708a045e82781cfe3990e23d2af581
2019-04-11 20:46:10 +00:00
Gage Hugo
ced3780967 Enable audit pipeline for panko
This change adds the keystonemiddleware audit paste filter[0]
and enables it for the panko-api service.
This provides the ability to audit API requests for panko.

[0] https://docs.openstack.org/keystonemiddleware/latest/audit.html

Change-Id: I5c0e3c61317483d36fcb05ebff8b377941675c27
2019-04-11 14:59:01 -05:00