According to the wikipedia page, Representational
state transfer should be written as REST but in some
files it is written as ReST, so I changed it to
correct one
Change-Id: I1909b09fbe3e4ed99d817fdaf0006ef55367e74d
Closes-Bug: #1488816
Currently project_id and user_id are retrieved from auth_token_info,
but these parameters can be retrieved from v3 keystone api only.
Because auth_token_info is different between v2 and v3. If keystone
version v2 is specified in the config file, magnum will not work.
This patch uses "context.project_id" instead of
auth_token_info['token']['project']['id'].
Because auth_token_info['token'] is set by only keystone v3.
Change-Id: I6982f38934c0778d9a0c4271dbe08f0758b671ad
Closes-Bug: #1487992
Magnum will use barbican to store CA and magnum client certs for
TLS support. This patch adds barbican service to devstack
configuration.
Change-Id: Id112699be08788466e7cd9806082e150cbdc15e2
Partial-Implements: blueprint magnum-as-a-ca
Many of the changes on gate are failing because of
Bad Request error. The reason for this is the request
accepts some fields whereas the entire dictionary is
getting passed without applying any filter. This
patch solves the problem. A new WSME version 0.8.0 was
introduced today, which seems to be the cause of this
problem.
http://osdir.com/ml/openstack-dev/2015-08/msg01687.html
Change-Id: I6d40889683449995df7bd7ebcdf755991cef43ef
Closes-bug: #1488687
Replication Controller is missing unit test
for getting the replication controller object
by name. This patch adds the needed test. This
patch also adds the missing tenant filter that
was missing initially.
Change-Id: I28bb71f9fba4a335f67324d264bea06d0313d58d
Closes-Bug: #1488295
It is good practice for those reading on split terminal consoles to
limit the lines to 80 characters for text (not necessarily for
embedded code. All the other documentation of the project follows it,
so I made this one compliant too.
Change-Id: I48be9e542d9c1a94ae8b9f1c081a702b4ba298f4
Currently, external-network-id can accept network name,
So we can set external-network name to baymodel.
Change-Id: I0d2be33723817c604c6cab704d2efcbd1e4cc79f
The OpenStack community decided to deprecate the config 'verbose',
so we remove it from Magnum.
Change-Id: Ia19728e080e1903b118bff33229689b1091d3891
Closes-Bug: #1486308
Previously, it throw error message when database connection was
not defined,
"ValueError: Database connection not set in /etc/magnum/magnum.conf"
even if it was explicitly run with "--config-file /other/location".
So remove that hardcoded config file location.
Change-Id: I3af00f1f6572c3cd9e56141e1774acf373bbce8b
Closes-Bug: #1487258
The filters in method 'sync_bay_status' in periodic.py should be a dict,
instead of a list.
Change-Id: Id12e8768abb17b70bbc92d951b0d95e765d94e38
Closes-Bug: #1487812
A bay has an attribute 'node_addresses' that lists
the IP addresses of each minion node. As the support
of HA mode was added, we need a similar attribute,
known as 'master_addresses', that lists the IP address
of each master node. The fix adds 'master_addresses'
attribute to the Bay object and Bay db model. Changes to
add 'master_addresses' column to Bay are also included
in this patch.
Change-Id: I31965a0397bc5c18ea798eb73791d9ef8c209960
Partial-Bug: #1483047
Add required packages for Ubuntu(build-essential).
Without them, running tox fails due to not finding gcc.
Change-Id: I42b29ee892869efc50a8c2d1cc43876a76494e8a
Closes-Bug: #1485730
The replication controller db record in the unit test
is misspelled as 'service'. This can be confusing as
we have 'service' as a seperate resource.
Change-Id: I94aea6e9ae28615d251f232b37d545efc4dd8b12
Closes-Bug: #1487244
Use HeatPoller to sync node_count to fix race condition.
Previously there is a long time between updating stack and saving
the bay. There may be another update operation in the interval.
Change-Id: I24deeff34184c14a67331630865c125b1bffe3d8
Partial-Implements: blueprint horizontal-scale
This patch adds more information in dev-quickstart
documentation about heat commands usage.
Change-Id: Ibbc593354731fcfcb203804c95f83c2b9d61874f
Closes-Bug: #1486272
That file is not currently used by anyone. Its job is to setup the
config, which is already handled in magnum/common/config.py.
Change-Id: Ide1622de2ae7b114594f16692a07a6379ee9aa86
Closes-Bug: #1486311
Once magnum is cloned on fedora 21 and when tox is run, it breaks
while installing dependencies. Installing gcc fixes the issue
Closes-Bug: #1486035
Change-Id: I44734b5490585afac23c63ae84c9e8a1d30c828c
Magnum is going to send metrics/notifications to ceilometer. The
metrics will be leveraged to trigger ceilometer alarms, which is
needed to achieve autoscaling bay.
Change-Id: Ib80c9ab699a72701cefc4dfeb7f2542cecd8f2c9
Partially-Implements: blueprint autoscale-bay
Partially-Implements: blueprint magnum-notifications
If some parameters in bay_update are invalid, we should not update
the stack.
Change-Id: Idd32a07a5b319830710b6ada8284a053d4a65f4f
Closes-Bug: #1484048
This patch adds X509KeyPair controller and conductor to handle all
x509keypair related operation and also add test for it.
Change-Id: I5773fcd5bdf8a30fd195714e3e0fdc9d1b0c962d
Partially-Implements: bp secure-kubernetes
Previously, KUBE_MASTER was not being set in a config file
read by the kube-proxy service. This change adds the KUBE_MASTER
configuration parameter to /etc/kubernetes/config.
Closes-Bug: #1485143
Change-Id: I51a3f12126acc9ba564a8ace6a73852945ed9d5b
As infra uses public cloud to run jenkins jobs, some cloud
provider do not have large disk space, for example, only 20GB
root disk, not fit for k8s bay instance space requirements.
According to infra core said, if two instances are booted,
each with 10GB, it could all meet in back end clouds.
So we need to create specific flavor for magnum use. It is
verified in local env 8GB can work, so we will use 8GB now.
Closes-Bug: #1484772
Change-Id: I159623f77ad7e3083a5296b0ccc7d65cfb57e001