- Sep 28, 2016
-
-
Chris Holcombe authored
Install apparmor profile for ceph-osd processes, and provide associated configuration option to place any ceph-osd processes into enforce, complain, or disable apparmor profile mode. As this is the first release of this feature, default to disabled and allow charm users to test and provide feedback for this release. Change-Id: I4524c587ac70de13aa3a0cb912033e6eb44b0403
-
- Sep 26, 2016
-
-
Ante Karamatic authored
Path for python modules needs to be appended before the module is imported Closes-Bug: #1627685 Change-Id: I6001a7b01f3ba6c9a5179466a3165f2eace2e092
-
- Sep 23, 2016
-
-
Chris Holcombe authored
Change-Id: I5a86593fd1e81255e1accacfccf5da5984578413
-
- Sep 21, 2016
-
-
Chris Holcombe authored
Moving the ceph mon upgrade code over to the ceph shared library. This will make it easier to make patches and have them be applied to all 3 charms at once. Change-Id: I541269d05e6ff8883233a21c78ebe9df89b9e797
-
James Page authored
Juju 2.0 provides support for display of the version of an application deployed by a charm in juju status. Insert the application_version_set function into the existing assess_status function - this gets called after all hook executions, and periodically after that, so any changes in package versions due to normal system updates will also be reflected in the status output. This review also includes a resync of charm-helpers to pickup hookenv support for this feature. Change-Id: If1ec3dcc5025d1a1f7e64f21481412ad630050ea
-
- Sep 14, 2016
-
-
James Page authored
This optimizes the publication process to the charm store, and ensures that the charm code and version is consistent across all supported Ubuntu series. Change-Id: Ifff786758eab3b5b06d68afb6b07d842a0377219
-
- Sep 09, 2016
-
-
Ryan Beisner authored
All OpenStack Charms now contain identical tox.ini files, not to be modified or made unique within each charm repo. This is to ensure consistency across charm repos in tox target naming, approach and purpose, also giving the charm dev and test experience additional consistency. Also create empty dirs with .keep files where necessary. Some classic charms have actions and/or lib dirs, and some do not. In all classic charms, flake will now check those dirs to ensure lint coverage of existing or future content. Change-Id: I657e3c0c0bdb372cb4e005045d7469b806fd5e3d
-
- Sep 08, 2016
-
-
Jenkins authored
-
Chris MacNaughton authored
os.rename does not support moving files over partition boundaries. The charm fails to deploy when /var is on a separate partition. Using shutil instead. Closes-Bug: 1618034 Change-Id: Ifd45425a623fe55fff33299134af5741f587604d
-
- Sep 06, 2016
-
-
Ryan Beisner authored
All OpenStack Charms now contain identical tox.ini files, not to be modified or made unique within each charm repo. This is to ensure consistency across charm repos in tox target naming, approach and purpose, also giving the charm dev and test experience additional consistency. Change-Id: I2b5bb5a0b101609ca3c1e26abf3ecbe5b774d57f
-
- Sep 01, 2016
-
-
Chris Holcombe authored
The rolling upgrade code sets keys in the ceph osd cluster to discover whether it can upgrade itself. This patch addresses an issue where the upgrade code was not taking into account multiple upgrades to newer ceph versions in a row. Closes-Bug: 1611719 Change-Id: I467d95f3619b9ad2a9f4f46abee4e02b5d9703da
-
- Aug 11, 2016
-
-
Chris MacNaughton authored
This includes a resync of charms_ceph to raise the directory one level The charms_ceph change that we're syncing in changes the name of the ceph.py file into the __init__.py file to remove the second level of namespacing Change-Id: I4eabbd313de2e9420667dc4acca177b2dbbf9581
-
- Aug 02, 2016
-
-
Chris MacNaughton authored
This change moves our ceph.py into a seperate repository that we can share between various ceph related Juju projects, along with a Makefile change to use a new git_sync file to partially sync a git repository into a specified path Change-Id: Iaf3ea38b6e5268c517d53b36105b70f23de891bb
-
- Jul 22, 2016
-
-
Jenkins authored
-
Chris Holcombe authored
This change ensures that when ceph is upgraded from an older version that uses root to a newer version that uses ceph as the process owner that all directories are chowned. Closes-Bug: 1600338 Change-Id: Ifac8cde6e6ea6f3a366fb40b9ffd261036720310
-
- Jul 21, 2016
-
-
Ryan Beisner authored
Switch to using bundletester for execution of functional tests, leveraging tox to build out test virtualenvs. Rename amulet tests inline with gate-*, dev-* and dfs-* naming standards. Update README to refer to functional testing section of the charm guide. Change-Id: I618219551fc116c151cda4790c01aa9e86fa462a
-
Liam Young authored
Sync charmhelpers to pick up bug fixes for 1607 release Change-Id: I3bfa157e548f5a60ade8ae943178c0de8ccfcf58
-
- Jul 20, 2016
- Jul 19, 2016
-
-
Chris Holcombe authored
The pause and resume actions shell out to the ceph command to run OSD operations (in/out). Because the default cephx key given out by the monitor cluster does not contain the correct permissions, these commands fail. Use the osd-upgrade user which has the correct permissions. Closes-Bug: 1602826 Depends-On: I6af43b61149c6eeeeb5c77950701194beda2da71 Change-Id: Ie31bc9048972dbb0986ac8deb5b821a4db5d585f
-
Chris Holcombe authored
Use the osd-upgrade key when replacing OSD's as this key has the correct cephx permissions to perform the operation. Closes-Bug: 1602826 Depends-On: I6af43b61149c6eeeeb5c77950701194beda2da71 Change-Id: I32d2f1a4036e09d5d1fd13009c95ab1514e7304c
-
- Jul 18, 2016
-
-
David Ames authored
When using charmhelpers.contrib.network.ip apt install was quietly failing. Install python dependencies in the early install hook (before install.real). Charm-helpers sync to bring in apt_install with fatal=True Change-Id: I0ed76694c452c70313ab26f8c2cf5f6103be9e31 Partial-Bug: 1601972
-
- Jul 15, 2016
-
-
David Ames authored
To begin release testing get each charm up to date with lp:charm-helpers Change-Id: I671fa63c665337295c1c448709fcc38123d4508d
-
- Jul 14, 2016
-
-
Chris Holcombe authored
This patch starts down the road to automated performance tuning. It attempts to identify optimal settings for hard drives and network cards and then persist them for reboots. It is conservative but configurable via config.yaml settings. Change-Id: Id4e72ae13ec3cb594e667f57e8cc70b7e18af15b
-
- Jul 06, 2016
-
-
James Page authored
The charm-helpers project have re-licensed to Apache 2.0 inline with the agreed licensing approach to intefaces, layers and charms generally. Resync helpers to bring charmhelpers inline with charm codebase. Change-Id: I9ab9a5d8801536e68e3ee672be0cc9accdb5fd9a
-
- Jun 28, 2016
-
-
James Page authored
All contributions to this charm where made under Canonical copyright; switch to Apache-2.0 license as agreed so we can move forward with official project status. In order to make this change, this commit also drops the inclusion of upstart configurations for very early versions of Ceph (argonaut), as they are no longer required. Change-Id: I9609dd79855b545a2c5adc12b7ac573c6f246d48
-
- Jun 17, 2016
-
-
James Page authored
All OpenStack charms are now directly published to the charm store on landing; switch Amulet helper to resolve charms using the charm store rather than bzr branches, removing the lag between charm changes landing and being available for other charms to use for testing. This is also important for new layered charms where the charm must be build and published prior to being consumable. Change-Id: Ib0c1da50750027f343bd3b77dcd6b85a059435dd
-
- Jun 01, 2016
-
-
Edward Hope-Morley authored
Adds a new config-flags option to the charm that supports setting a dictionary of ceph configuration settings that will be applied to ceph.conf. This implementation supports config sections so that settings can be applied to any section supported by the ceph.conf template in the charm. Change-Id: I306fd138820746c565f8c7cd83d3ffcc388b9735 Closes-Bug: 1522375
-
- May 19, 2016
-
-
Jenkins authored
-
- May 18, 2016
-
-
Jenkins authored
-
James Page authored
Avoid use of 'service --status-all' which is currently broken on trusty for upstart managed daemons; the change moves to detecting how the daemon is managed, and then using upstart status XXX or the return code of service XXX status to determine whether a process is running. Fixes for IPv6 network address detection under Ubuntu 16.04 which changes the output format of the ip commands slightly. Update the version map to include 8.1.x as a Neutron version for Mitaka. Change-Id: I8aa5c59441362100ff48be0181f4cfdb98f2e6d7 Closes-Bug: 1581171 Closes-Bug: 1581598 Closes-Bug: 1580674
-
- May 17, 2016
-
-
Chris MacNaughton authored
In addition to ensuring that we have AZ set, we ned to ensure that the user has asked to have the crush map customized, ensuring that uysing the availability zone features are entirely opt-in Change-Id: Ie13f50d4d084317199813d417a8de6dab25d340d Closes-Bug: 1582274
-
Chris MacNaughton authored
This adds support for Juju's storage hooks by merging the config provided osd-devices with Juju storage provided osd-devices, in the same way that the existing Ceph charm handles them. In addition to providing support for ceph-osds via Juju storage, we provide support for multiple journal devices through Juju storage as well. We have to add a shim hook to ensure that Ceph is installed prior to storage hook invocation because storage attached at deploy time will execute hooks before the install hook Change-Id: Idad46e8f4cc32e09fbd64d29cd93745662e9f542
-
James Page authored
As of the Ceph Jewel release, certain limitations apply to OSD object name lengths: specifically if ext4 is in use for block devices or a directory based OSD is configured, OSD's must be configured to limit object name length: osd max object name len = 256 osd max object namespace len = 64 This may cause problems storing objects with long names via the ceph-radosgw charm or for direct users of RADOS. Also ensure that ceph.conf as a final newline as ceph requires this. Change-Id: I26f1d8a6f9560b307929f294d2d637c92986cf41 Closes-Bug: 1580320 Closes-Bug: 1578403
-
- Apr 20, 2016
-
-
Chris MacNaughton authored
This charmhelpers change corrects how we detect if a device is mounted Closes-Bug: #1513009 Closes-Bug: #1571840 Change-Id: I5c42fba38d11dd1cc02723dbe8e1b6bae7d5d35d
-
Chris Holcombe authored
This reverts commit c94e0b4b. Support for juju provided zones was broken on older Ceph releases where MAAS zones are not configured (i.e. nothing other than the default zone). Backing this change out until we can provide a more complete and backwards compatible solution. Closes-Bug: 1570960 Change-Id: I889d556d180d47b54af2991a65efcca09d685332
-
- Apr 14, 2016
-
-
Jenkins authored
-
Chris MacNaughton authored
This test is being updated to use the new functionality being made available in the charmhelpers sync Also, update tests/charmhelpers Change-Id: I3109be2ee6069101c72ca1cfd786bcfc66fa27e0
-
- Apr 13, 2016
-
-
Liam Young authored
Change-Id: I86dc381922bff2b2ca3c6c7b0f326e6d388fa32d
-
- Apr 12, 2016
-
-
Liam Young authored
Change-Id: I688e367fa758cf9f052e85de13b3c549876807a7
-