23 Commits

Author SHA1 Message Date
Zuul
b723386745 Merge "Fixed wrong cinder store user name" 2019-04-16 01:26:23 +00:00
Pranali Deore
1efe2a018a Fixed wrong cinder store user name
The value for 'cinder_store_user_name' should be only user name
instead of tenant:username

Changing value of 'cinder_store_user_name' to 'glance' from
'service:glance'

Change-Id: Idbc3541564fb405d60cf3dcc01960fd5e0befb97
Closes-Bug: #1809104
2019-04-15 15:13:41 +05:30
Dan Prince
a52498ab4d Move containers-common.yaml into deployment
Change-Id: I8cc27cd8ed76a1e124cbb54c938bb86332956ac2
Related-Blueprint: services-yaml-flattening
2019-04-14 18:15:12 -04:00
Andrew Smith
405366fa32 Deprecate messaging params replaced by global oslo params
Depends-On: I03900b39ab257a9563db37e403254b54f846c056
Change-Id: Ib55c72c0bab9aa0ffc05752a680f573cc351ae17
2019-03-28 12:13:07 -06:00
Sergii Golovatiuk
2a8fcc4ddf Remove UpgradeRemoveUnusedPackages
UpgradeRemoveUnusedPackages is not used anymore. All packages are
supposed to be removed on undercloud upgrade to 14.

Change-Id: Ie6b739390ec0ae0c5773a5a6c63b49422195623a
2019-03-19 13:40:02 +00:00
Alan Bishop
07709c44f3 Enable glance image cache's cleaner and pruner
When glance's image cache is enabled, configure the cron jobs to
periodically run the image cache's "cleaner" and "pruner". This ensures
the cache contents is properly maintained, and does not exceed the
size limit.

blueprint: split-controlplane-glance-cache
Change-Id: Ie358cce307420b5ec76bb95f90bc1ca7b97fe83b
2019-02-11 12:32:28 -05:00
Zuul
440630449e Merge "Adding support of glance cinder store settings" 2019-02-06 11:46:07 +00:00
David J Peacock
1d3fe8cb27 flatten database service MySQL Client
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration.

With this patch the baremetal version of database service MySQL Client
has been removed.

Change-Id: I855524f30cfe3c8cdab6c52a67fba0dee157103d
Related-Blueprint: services-yaml-flattening
2019-01-30 09:38:32 -05:00
Zuul
e6e58249ce Merge "Explicitly manage http configs" 2019-01-25 16:58:12 +00:00
Zuul
090a73e54a Merge "Enable Glance image_conversion plugin when backend is rbd" 2019-01-25 00:26:06 +00:00
Alex Schultz
096fa87741 Explicitly manage http configs
Previously the kolla config is merging the existing apache configuration
files in the container with our generated ones. This can lead to extra
configurations in the containers that we are not expecting. This change
updates the kolla configs to not merge the httpd conf.d folder so we only
end up with our expected configurations.

Change-Id: Ibb9bbeb12e73b2cf8887554f461873e42532edd7
Related-Bug: 1813084
2019-01-24 11:08:28 -07:00
Pranali Deore
d9a43277e5 Adding support of glance cinder store settings
Currently TripleO is completely unaware of the 4 glance
settings when cinder backend of glance is enabled.

To make the Image-Volume in the internal project accessible from
the Image service, the below parameters need to be set.

- cinder_store_auth_address
- cinder_store_project_name
- cinder_store_user_name
- cinder_store_password

Closes-Bug: #1809104
Depends-on: Ib19958577cdc4b829601018114ee0f564778c4da
Change-Id: I15f9c286798b74529a7b4b09d7e9353eb715f5b1
2019-01-23 15:03:02 +05:30
Pranali Deore
2dcd56041c Remove all glance-registry related changes
Removed all glance-registry related changes from THT, since
Glance Registry has become redundant & been deprecated from
glance due to support of Glance V2. The registry code base is
also going to be removed from Glance project once all the
dependencies removed from other projects.

Change-Id: I548816e3f2d8b9deed8a6f0ba3e203f84ad3d9ca
Closes-Bug: #1808911
2019-01-22 15:07:29 -07:00
Rabi Mishra
87bc72a37c Use net=none for *_init_log(s) containers
It seems we're using the default docker0(docker)/cni0(podman) bridges
for these containers. It would be good to remove dependencies on these
default bridges.

Some other containers changed that have the same issue:
- ironic_inspector_init_dnsmasq_dhcp_hostsdir
- nova_statedir_owner
- swift_setup_srv
- swift_copy_rings
- horizon_fix_perms

Change-Id: Id3e60de7bb5a13e32544bed76e4970d53a9257d4
2019-01-21 13:43:07 +05:30
Giulio Fidente
ccb242f919 Enable Glance image_conversion plugin when backend is rbd
Ceph can store QCOW2 images but to be able to create Nova guests
from image snapshots the image format must be in RAW format,
otherwise Nova will download the QCOW2 image, convert it locally
and upload it back into the Ceph pool if the ephemeral storage is
also Ceph. This process slows down guest boot especially when
multiple guests are booted in parallel and consumes a lot of CPU
and network resources.

This change enables the Glance image_conversion plugin when the
Glance backend is set to 'rbd', which takes care of converting
the uploaded images into RAW format automatically when operators
use the glance 'import' command.

Change-Id: I9fc0758dbe64f3fcf0e990f4253151e9472a6ab6
2019-01-19 10:23:23 +01:00
Carlos Camacho
1e318b569e Ensure logs folder is created in prep hosts tasks.
We have non fatal errors in the upgrade
jobs execution if the logs folder is not
created when adding the readme.txt file
to clarify the possible locations of
the logs.

Closes-Bug: 1811708
Change-Id: Ibc0a266bdc6630eaf34bfadeff21f7bd72fa75ad
2019-01-18 09:28:56 +01:00
Zuul
e0a53f4429 Merge "Enable image inject metadata properties & user roles to be ignored" 2019-01-16 17:33:14 +00:00
Pranali Deore
ae8998f36a Enable image inject metadata properties & user roles to be ignored
Adding GlanceInjectMetadataProperties & GlanceIgnoreUserRoles to
inject metadata properties to the image with specific user roles
to be ignored for injecting metadata properties in the image.

Depends-on: I02482dff7b1412d6254ce82d80257ce26c23430d
Change-Id: Ie6504f73fd5f7492389d6c55a89c66b8ca568ef7
2019-01-10 09:47:01 +00:00
Zuul
37251b2da9 Merge "Bind mount /var/lib/iscsi in containers using iSCSI" 2019-01-08 03:44:36 +00:00
Alan Bishop
26a86017d2 Fix bind mount for glance-api's service directory
The /var/lib/glance service directory needs 'slave' propagation to handle
situations where an NFS mount performed in a host prep task is delayed
and doesn't finish until after the glance-api container is running. The
'slave' propagation was inadvertently lost in [1].

[1] I284126db5dcf9dc31ee5ee640b2684643ef3a066

Change-Id: Ib6c2028df861d350267a0408407775e7d5b24e18
2019-01-03 12:20:28 -05:00
Alan Bishop
243cb34615 Bind mount /var/lib/iscsi in containers using iSCSI
Services that create iSCSI connections need to share the connection info
that gets created in /var/lib/iscsi. It's especially important that the
host has knowledge of *all* connections so that it can disconnect them
whenever the host shuts down or reboots.

Closes-Bug: #1810338
Change-Id: I803ed2ba9ff52f9a02c550a28d21cc9102568c8e
2019-01-03 16:36:58 +00:00
Cédric Jeanneret
62b4dedb71 The monitoring_subscription was lost in translation
Change-Id: I7a963ddde4befcc52460b3ebcf520fc2065f342a
2018-12-21 23:42:51 +00:00
Cédric Jeanneret
7fbc4b098f Flatten Glance service configuration
This change combines the previous puppet and docker files into a single file
that performs the docker service installation and configuration.

With this patch the baremetal version of glance services has been removed.

Change-Id: Ie2ac2072f0742ec5e521fc6e3734e89f8a007077
Related-Blueprint: services-yaml-flattening
2018-12-14 08:23:32 +01:00