It is implemented by updating the Heat stack with the new node_count
Partially implements: blueprint update-node-count
Change-Id: I2c331043bb6e6fce14fc82932dcd9c3677448598
When a Bay is created, we use Heat to bring up resources to use for the Bay.
We would like to see the related status in the Bay resource that tracks what's
happening. We use the new status attribute to show what is happening with Heat
behind the scenes.
Partially-Implements: blueprint magnum-bay-status
Change-Id: I7b841f2afbe575b039ebbde0e19d8fc464246608
These were the commits pulled from larsks github repo(s)
ef48d0 configure flannel via systemd unit
4e1b7a Merge pull request #11 from hongbin/replacement_policy
02ea53 Set port replacement_policy to AUTO
b06de8 call daemon-reload before starting services
c265dd fix json syntax problem
88a8bd configure cinder volume for docker storage
7ae6e5 default server_image wasn't useful
809d9b updated requirements in README
6595da integrate wait-for-flanneld into docker.service.yaml
cb51ae use flanneld sysconfig for etcd url
6cf8b9 added note re: vxlan backend issues on centos
18d9c6 make portal_net address range a parameter
343bde added license
efb341 add fix for docker/docker#9468
b235dc use less confusing name for flannel json config
08d873 make vxlan support conditional (+ doc updates)
daee9e permit kube api access via services
747d06 add a "minion" default user
b1c36c refactor config using software config support
0d981d use centos atomic host
538f7a remove get-image.sh
Change-Id: Ibd22a2805328ef76ad3996113b10e82cc1a16a9b
Closes-Bug: 1417642
As the dev quick start will only create two minions, so if when
create 4 replicas, there will be only 2 pods create succeed and
the other 2 pods will be in Pending status.
This patch is updating the replicas to 2 to make sure all pods
in the replication controller can be created successfully.
Change-Id: Ib9373487e76d4296dc412cc8a4f61af1bca94647
This variable is concurrently read and write, so it needs to be local.
In addition, it needs to be incremented on each 'poll_and_check'.
Change-Id: I02ab50c7c005e11df9b9b84b0241323e24b9c295
Closes-Bug: 1419586
We need to tighten the check on which HTTP methods are allowed
and raise appropriate HTTP error. /logs should respond only
to HTTP GET and not HTTP PUT. other actions should respond
only to HTTP PUT and error out on HTTP GET.
Also see related change in python client:
I1cff0b33d3be1eedeb373fda7ef223a1ba596b59
Closes-Bug: #1409316
Change-Id: Ia78d8a246a8d9d06f949a2d893331e967d64913e
Moved poll_and_checkout out of method bay_create. This allows code
to be reused by other methods in the class.
Partially implements: blueprint update-node-count
Change-Id: I6b9073fa9f8e6cfb8f28ce0d6d6b8997ad1d4309
Oslo team is recommending everyone to use the direct imports and
not use the Oslo namespaces. So switch all our code to use oslo_*
instead of "from oslo." or "import oslo" or "from oslo"
NOTE: some of the tests still have mocks referring to oslo.utils
@mock.patch('oslo.utils.timeutils.utcnow')
as the tests break otherwise. We should do this later.
Closes-bug: #1419385
Change-Id: I8e3fbeb833cddc3f55674a0e781ffe69d5033ad4
echo "Done" seems to give people the wrong impression that
something went wrong. Just run python -V to print the python
version instead.
Closes-Bug: #1412223
Change-Id: I72d47fd2f1bf99ea13047598ead5df0fe8fa42ff
newer hacking has rules for the following:
H105 Don't use author tags
H238 old style class declaration, use new style (inherit from `object`)
W292 no newline at end of file
So we need to clean them up and stop ignoring them
Change-Id: I12b995cf87d6bc0938298f397b41a4693627bb4b
docker-py and python-kubernetes are the only ones not in the
global requirements list. We should sync up the versions of
the rest of the libraries.
Change-Id: I0eff3ddecb80f057bb4998a48c8b32b3c1cf8b00
This new package provides kubernetes python
client apis needed for magnum integration.
Partially-Implements: blueprint python-k8sclient
Change-Id: I175db1008c5f96b96d8889b5f9b41ef2d02f3a88
The get() API was not used by the following objects, just remove it.
1) node
2) pod
3) replication controller
4) service
5) container
Change-Id: I2f578f8d072d772bf34e676b115eccf6c08bac8a