2700 Commits

Author SHA1 Message Date
Chris Wedgwood
3baeefdd37 Revert "Add Docker default AppArmor profile to neutron"
This reverts commit 584c63c2e9120536005bcb677bac88dca9ee1335.

Change-Id: I3565f684154432609da2b6b5b4639ee9072b4b76
2019-03-19 20:09:15 +00:00
Zuul
b9bc466535 Merge "Armada: Fix openstack-helm update password job" 2019-03-18 07:36:52 +00:00
pd2839
ba593e1a6b Implement Security Context for Cinder
Implement container security context for the following Cinder resources:
 - Cinder server deployment

Change-Id: Ic319fc8ccfea4c8d640ceecd0bbc93912173d172
2019-03-15 21:46:54 +00:00
Zuul
87d3a2f63f Merge "Added volume related keys to pod mounts to ease the overriding" 2019-03-15 17:53:54 +00:00
Zuul
b1ecd6ab6b Merge "Add default-docker (enforce) AppArmor profile to nova" 2019-03-15 17:12:32 +00:00
Zuul
ad7b32e4de Merge "Add Docker default AppArmor profile to neutron" 2019-03-15 17:06:44 +00:00
Zuul
9e21287dd3 Merge "[nova] Do not throw out stdout of nova-manage --version" 2019-03-15 16:40:51 +00:00
Jiří Suchomel
a2a5dda47c Added volume related keys to pod mounts to ease the overriding
If user wants to add an extra volumeMounts/volume to a pod,
amd uses override values e.g. like this

pod:
  mounts:
    nova_placement:
      init_container: null
      nova_placement:
        volumeMounts:
          - name: nova-etc
          ...

helm template parser complains with

Warning: The destination item 'nova_placement' is a table and ignoring the source 'nova_placement' as it has a non-table value of: <nil>

So when we create empty values for such keys in values.yaml, the source
will be present and warning does not need to be shown.

Change-Id: Ib8dc53c3a54e12014025de8fafe16fbe9721c0da
2019-03-15 16:29:19 +00:00
Steve Wilkerson
2277902726 Armada: Fix openstack-helm update password job
The armada update password job was attempting to invoke a script
that didn't exist for sourcing the passwords. This updates the
path appropriately

Change-Id: Ieb0b85c18ed4f2a589ee3a3ba251317350dc4b81
2019-03-15 10:55:47 -05:00
Zuul
72bd0d597d Merge "Barbican: Fix value of node_port to match default" 2019-03-15 14:49:27 +00:00
Angie Wang
75f3083d24 Spec: Support OCI image registry with authentication turned on
This specification proposes support for deploying openstack services
using OSH with OCI image registry which has authentication turned on.

Change-Id: I26e34a5a39c06e9d481af58c15fb930d3fe9b1ef
Implements: blueprint support-oci-image-registry-with-authentication-turned-on
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2019-03-15 13:19:47 +00:00
chnyda
3a6bf0d627 Barbican: Fix value of node_port to match default
node_port value is by default between 30000 and 32767

Change-Id: I902e7de9d9d37458b71f146ae549a0196fb8c466
2019-03-15 13:19:29 +00:00
Zuul
f191c62d13 Merge "Fix py3 issue on fernet-manage and update-endpoint" 2019-03-15 11:09:08 +00:00
Zuul
9d2bf55e4a Merge "Zuul: Add osh nodeset to bandit checks" 2019-03-15 07:01:46 +00:00
Zuul
1a5ecce63a Merge "Fix placement of privilege escalation in Glance." 2019-03-15 06:29:32 +00:00
Zuul
ca9dfffafd Merge "[neutron] 'up' interfaces added via ovs auto_bridge_add" 2019-03-15 06:29:31 +00:00
Zuul
92a2e3abe4 Merge "Fix letters mistake in tempest chart" 2019-03-15 05:40:22 +00:00
Pete Birley
91466b6911 Zuul: Add osh nodeset to bandit checks
This ps adds the osh nodeset to bandit checks

Change-Id: I83017db7e47bbfae4e09be08c92a62475750d3d7
Signed-off-by: Pete Birley <pete@port.direct>
2019-03-15 00:29:08 -05:00
Cliff Parsons
d0a93d3370 Fix placement of privilege escalation in Glance.
In a previous patch set (https://review.openstack.org/#/c/629300/),
the "allowPrivilegeEscalation" flag was set to false for one of the
init containers, but it was intended to be used for the glance-api
container.

Change-Id: If2d83d82a720d7a1a39729bbf3bddc226af3ba20
2019-03-15 04:52:50 +00:00
Itxaka
e136b0d822 Fix py3 issue on fernet-manage and update-endpoint
fernet-manage:
 - filter used to return a list on python2 but on python3 it returns
 an iterator which has no len method
 - Coherce the keys var into a list so we can run len on it on both
 versions

update-endpoint:
 - ConfigParser is called configparser on python3
 - try/catch and import the proper configparser

Change-Id: I8296074f4d20e47afe0c7aea41bf21999685aecd
2019-03-14 21:24:47 +00:00
Jiří Suchomel
f33c07b8fb [nova] Do not throw out stdout of nova-manage --version
"nova-manage --version" used to print to stderr, but
at least since Rocky it prints to stdout

Change-Id: I48e46612e17556babc35263355c6749c70fd8711
2019-03-14 12:05:24 +01:00
Hyunsun Moon
4fa1f8e800 [nova] Mount ceph-keyring volume when needed
Change-Id: I7370db4c9177976f90176c027f4d65a3fe5b5649
2019-03-13 07:55:31 +00:00
Chris Wedgwood
dcd7ebf37b [neutron] 'up' interfaces added via ovs auto_bridge_add
Previously, when adding interfaces to an ovs bridge we would set the
link state to up.  Some environments assume this is the case so
restore that behavior.

This fixes the problem where external (public) IPs for routers and VMs
no longer respond.

Change-Id: I59e21bd5cde7e239320125e9a7e0a33adae578a8
2019-03-12 08:03:48 +00:00
Zuul
00fff1d274 Merge "Health probe for Nova components" 2019-03-11 15:39:55 +00:00
sandriichenko
9bca5deacd Fix letters mistake in tempest chart
Change-Id: Iac300334aed4c16f7e88e2f4333a8d7480efaf8d
Story: 2005199
Task: 29963
2019-03-11 15:03:43 +00:00
Zuul
c598004355 Merge "Liveness/Readiness probe for Neutron server and its agents" 2019-03-10 01:25:42 +00:00
Zuul
85899d2fc8 Merge "readOnlyFilesystem: true for heat chart" 2019-03-07 17:34:22 +00:00
Zuul
a34c430590 Merge "readOnlyFilesystem: true for horizon chart" 2019-03-07 17:32:50 +00:00
pd2839
294866a81c readOnlyFilesystem: true for heat chart
fix for adding readOnlyFilesystem flag at pod level

Change-Id: I014cf0f9c6c19e900d3c210a7f52b4e941bc46e7
2019-03-07 05:09:28 +00:00
Zuul
7dddd72906 Merge "readOnlyFilesystem: true for neutron chart" 2019-03-07 05:06:07 +00:00
Zuul
09b341885f Merge "Support rbd pool replication and crush ruleset for glance" 2019-03-07 04:35:52 +00:00
Zuul
810acaf261 Merge "Add resource_filters.json to Cinder's configmap" 2019-03-07 04:35:51 +00:00
pd2839
6d7724c790 readOnlyFilesystem: true for neutron chart
Fix for adding readOnlyFilesystem flag at pod level

Change-Id: I9ba18101a4566329f288d77677d4255646935dd5
2019-03-07 03:48:39 +00:00
Hemachandra Reddy
da508727b6 Liveness/Readiness probe for Neutron server and its agents
Health_probe for neutron pods accomplish both liveness and
readiness probe.

Neutron DHCP/L3/OVS agents:
Sends an RPC call with a non-existence method to agent’s queue.
Assumes no other agent subscribed to tunnel-update queue other
than OVS. Probe is success if agent returns with NoSuchMethod
error.

Neutron Metadata agent:
Sends a message to Unix Domain Socket opened by Metadata agent.
Probe is success if agent returns with HTTP status 404.

In both the cases, if agent is not reachable or fails to
respond in time, returns failure to probe.

Readiness probe for Neutron L3/DHCP/Metadata/SRIOV agents
Following are the operations executed on the pod as part of
readiness probe on the neutron agents:
- Check if the agent process is up and running.
- Retrieve the sockets associated with the process from the /proc fs.
- Check the status of tcp sockets related to Rabbitmq communication.
- Check the reachability of the rabbitmq message bus from the agent.
- For SRIOV Agent, check if VFs are configured properly for the
configured NICs in sriov_agent.ini conf file

Change-Id: Ib99ceaabbad1d1e0faf34cc74314da9aa688fa0a
2019-03-06 22:02:37 +00:00
Chinasubbareddy M
ff146ea9fd OSH: Add ingress netpol for ceph-rgw pods
This is to enable ingress netpol for ceph-rgw pods

Depends-On: https://review.openstack.org/#/c/632567/

Change-Id: I542a38a08101b031633bfcb0810e00904ae58df5
2019-03-06 19:57:06 +00:00
Hemachandra Reddy
49b58b7e7d Health probe for Nova components
Health probe for Nova pods is used for both liveness
and readiness probe.

nova-compute, nova-conductor, nova-consoleauth and nova-scheduler:
Check if the rpc socket status on the nova pods to rabbitmq and
database are in established state.
sends an RPC call with a non-existence method to component's queue.
Probe is success if agent returns with NoSuchMethod error.
If agent is not reachable or fails to respond in time,
returns failure to probe.

novnc/spice proxy: uses Kubernetes tcp probe on corresponding ports
they expose.
Added code to catch nova config file not present exception.

Change-Id: Ib8e4b93486588320fd2d562c3bc90b65844e52e5
2019-03-06 19:34:49 +00:00
Angie Wang
72b0d3c982 Ceilometer chart: update messaging_urls and cache server
Currently, ceilometer is not listening to the notifications which
sent from the openstack services as the messaging_urls isn't configured
properly. The commit updates the messaging_urls with the correct type
and the default value.

The configuration for the cache server is also added. With the cache
server configured, ceilometer will not update the resource metadata
through gnocchi client if the resource is not changed.

Change-Id: I77e5acf3da31e211c444032f26d7625e51d8b0a9
Story: 2005019
Task: 29746
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2019-03-06 10:24:16 -05:00
Zuul
8f068ac705 Merge "Add the CentOS system to Ceph related configuration file." 2019-03-06 15:19:00 +00:00
Zuul
5e55719280 Merge "Cleanup specs folder" 2019-03-06 14:43:41 +00:00
Irina Mihai
92b54f8352 Support rbd pool replication and crush ruleset for glance
- pass new pool replication&crush ruleset parameter to the
  storage init script
- set images pool replication&crush ruleset in the storage init script

Change-Id: Idd883d4348a292c0de54c7ee47da98f11f36306f
Story: 2004921
Task: 29282
Signed-off-by: Irina Mihai <irina.mihai@windriver.com>
2019-03-06 06:58:46 +00:00
Angie Wang
ac9c7e1d24 Ceilometer chart: Add polling process with ipmi functionality
This commit adds the ability to deploy a polling process with ipmi
functionality to pull ipmi samples.
Story: 2005019
Task: 29819
Signed-off-by: Angie Wang <angie.wang@windriver.com>

Change-Id: Ib61d65f9ab815faa0d750422ffb0e36406dd3ccd
2019-03-06 06:34:48 +00:00
Zuul
b93b16310f Merge "Ceilometer chart: Add missing definition files" 2019-03-06 05:33:34 +00:00
Zuul
338cfc9c2b Merge "Ceilometer chart: upgrade the default to ocata" 2019-03-06 05:23:21 +00:00
Zuul
a85a1f84a2 Merge "Ceilometer chart: replace the obsolete ceilometer upgrade command" 2019-03-06 05:20:29 +00:00
Robert Church
d1fbf4ac14 Add resource_filters.json to Cinder's configmap
During the Stein development cycle, Cinder removed the deprecated
query_volume_filters configuration option with
Icd311db7f88c3c274d9a362eb96519e46c7e4d17.

This chart update will add resource_filters.json to the configmap and
provides the default values for the filter keys to enable filtering in
the list APIs.

Change-Id: I31263e9ce06d31773e961ae5d1252e062a38a4e5
Signed-off-by: Robert Church <robert.church@windriver.com>
2019-03-06 04:34:53 +00:00
Zuul
89d53f2d78 Merge "Update irc meeting channel" 2019-03-06 04:10:00 +00:00
Zuul
e7c8c82d69 Merge "Only run bandit when changing python content" 2019-03-06 04:09:59 +00:00
Zuul
1ad5467252 Merge "Increase default logging" 2019-03-06 04:09:58 +00:00
Zuul
ffa5bcb4c4 Merge "Adapt Makefile for releasenotes" 2019-03-06 04:01:01 +00:00
Angie Wang
f987595373 Ceilometer chart: Add missing definition files
This commit adds two missing definition files which are
meters.yaml and polling.yaml.

meters.yaml is the meter definition file that used for
ceilometer notification agent to convert meters.
polling.yaml is the polling definition file that used for
ceilometer polling agents to pull meters.

Change-Id: I6b9b7543aa1a77661d6a86166af59fde85085513
Story: 2005019
Task: 29811
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2019-03-06 04:00:19 +00:00