Commit Graph

243 Commits

Author SHA1 Message Date
OpenDev Sysadmins 9153634eb8 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:50:36 +00:00
Chris Hoge f7756c89de Removing old provider code to make room for new provider code
This patch clears out all of the old provider code from this directory
to make room for the new, maintained tree that will be imported into
this project.

Depends-On: I38e2168e311536cc63932d906a46e1b1cf3ac4bf
Change-Id: I0d3b2c3805cc47edbb2aac14f757d5bdc114899a
2018-03-06 14:14:48 -08:00
Davanum Srinivas 965e34806d Get tests working again
* Don't try to install etcd. work with the one from devstack
* Remove taint so the node is schedulable
* Update list of failing tests

Change-Id: I2719fa2a3cadd57a62dfe9102b939edef2b36fd9
2017-06-08 12:00:21 -04:00
Jenkins 0e8182393f Merge "Recreate problems in StatefulSetBasic" 2017-05-05 11:11:31 +00:00
Jenkins 895b264c0b Merge "Set cloud provider as external" 2017-05-05 01:32:13 +00:00
Davanum Srinivas 8c819eddaf Set cloud provider as external
To be able to run the standalone openstack k8s cloud
provider, we need to set CLOUD_PROVIDER as external
per documentation:
https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/

Change-Id: Ifdba1c67971d9949f8f6aa2c97c42992fd3b0944
2017-05-04 19:44:04 -04:00
Davanum Srinivas ec012aa996 Recreate problems in StatefulSetBasic
Change-Id: I46380345854b198df851df93afcc9f4657b00b29
2017-05-04 18:39:46 +00:00
Davanum Srinivas 292e55394e Cleanup etcd, docker, kubernetes
Change-Id: I307a67f9e28edc1410893d9930e9372e1fa8fed0
2017-05-04 13:40:54 -04:00
Davanum Srinivas dfce08820e Switch to SYSTEMD
Run local-up-cluster with ENABLE_DAEMON, makes things
a lot simpler.

Change-Id: Ibc004b1694a37d2adcbc6603a3c19edc87bbe1a8
2017-05-04 09:34:30 -04:00
Jamie Hannaford ab52d2ce32 Use provided VipPortID for LB
Change-Id: If0d1526ba5f6924987bdc6cde7f917217f71cb2f
2017-05-03 16:11:39 -04:00
zhouhaibing089 43a8028f4f openstack: remove field flavor_to_resource
Change-Id: I51f3f764fea17c48b0dfc2df25bb7ed3be9830ea
2017-05-03 16:11:03 -04:00
Davanum Srinivas cfe3aaefe8 Skip StatefulSetBasic tests
Change-Id: Id7f0069059ec38a479ddf4bd2cd044e737b53aea
2017-05-03 16:10:49 -04:00
Jesse Haka a2c3c8b90f fix format
Change-Id: I44784cb6f8344db3404933a6bc821ac4cef01189
2017-05-03 13:46:22 -04:00
Jesse Haka be66cb2c54 use AvailabilityZone instead of Availability and Move v1 helpers
2fb9fc4647
(By zetaab)

d4850b6c2b
(By caesarxuchao)

Change-Id: I1f96933ab77646a3fffb3efa93914c27a76d4a96
2017-05-03 13:46:07 -04:00
Davanum Srinivas 08ca5422d1 One more flaky test
Change-Id: I679d4cf83f9a70a7bdf832bac5eadd9b6d1b6703
2017-05-03 13:45:22 -04:00
Davanum Srinivas 04f7b2ee05 Prune list of failing and flaky tests
Change-Id: I6b91a431f7f8b63ba23fae26ed40c005e0f4eb56
2017-05-02 22:41:42 -04:00
Davanum Srinivas 7e0e7a0d66 [WIP] Test latest k8s master
Change-Id: I2093778aae1969cce5a36a81e24eadc7b28c25f5
2017-05-02 19:01:20 -04:00
Davanum Srinivas e278d6ed4d Set CLOUD_PROVIDER as local
Change-Id: I41be1a84f2af8e9587ef635d7f1798c4d9ea196f
2017-04-30 13:15:17 -04:00
Davanum Srinivas a7cc59cca6 Support StatefulSet e2e tests by creating a hostpath default storage class
filed upstream PR as well:
https://github.com/kubernetes/kubernetes/pull/45119

Change-Id: I5350552a97e9efc40c592cb9df4b24c0bafdbd9f
2017-04-28 17:54:59 -04:00
Davanum Srinivas 02b986c9c8 Switch to golang 1.8 since upstream has switched
Change-Id: I12497fbba0c8dccc20b680bf64a8f22b7ab923f7
2017-04-28 17:54:43 -04:00
Davanum Srinivas c7cdf3d4d6 Open up access from containers
Change-Id: I310ad63ab84ec3e9b81e35c53dca313175d5ae7f
2017-04-27 23:47:45 +00:00
Davanum Srinivas acad27e245 ALLOW_ANY_TOKEN should be the default - False
Change-Id: I8ff6bee9364cccc3c3b04210734c577a70d46d9f
2017-04-26 13:36:22 -04:00
Davanum Srinivas 5523adba7d Enable kubedns
Need to disable all iptables rules for the moment till
we figure out which ones exactly to remove. Unless we
disable the iptables, we cannot run kubedns.

Change-Id: Ia42f5fc353791d3d417574785e5c006b603d050d
2017-04-26 17:06:23 +00:00
Jenkins 182ebd2097 Merge "Fine tune the check-if-k8s-started logic" 2017-04-25 00:51:49 +00:00
Davanum Srinivas 5a05d3ab53 Fine tune the check-if-k8s-started logic
Change-Id: I3a383d69dfea9a3bde258eb787244e5d93be272c
2017-04-24 17:53:11 -04:00
Davanum Srinivas 42397d4dc5 Generate junit report
Change-Id: I583e9492ebe5a9e94aac87ab48c4cb3c4c37a2d8
2017-04-24 16:01:14 -04:00
Davanum Srinivas a2dca2e3cb Prune list of failing tests
Change-Id: I09fa0b5f57ab699b8a2f14a422715f46d249e9b9
2017-04-24 07:45:33 -04:00
Davanum Srinivas 17dd100335 Enable kube-dashboard
Change-Id: I11cdb87874467e395b6437408d6122cc1cc7dee2
2017-04-23 21:16:39 -04:00
Davanum Srinivas 30f4175937 Try latest master of k8s
Change-Id: I6a8e48349fea66b63fdb59ddcdc462756a96bee8
2017-04-22 00:43:29 +00:00
Davanum Srinivas b3ba6d0a02 Fix NFS/mount test
Change-Id: I1ddd4f656f0a1e955db53825613f04854d44922b
2017-04-11 01:45:15 +00:00
Davanum Srinivas 6a12947aff Minimum black list
We should bail out even on a single failure

Change-Id: If3ab6814817fd9d02b923107e686501fae6282f3
2017-04-10 15:35:41 -04:00
Davanum Srinivas 3a9ef51dad Kubelet listen on all interfaces
Switch on EmptyDir and Secrets tests

Change-Id: I7f951d3adff6dbac06961a8d72fb04984557cef8
2017-04-10 11:18:39 -04:00
Davanum Srinivas 617431d723 Use older docker version w/ k8s, switch off CRI
Change-Id: If324073a8ecf7f6fbce44e65a5a3f3267355bcff
2017-04-10 08:40:13 -04:00
Davanum Srinivas ffeda074be Turn on a few flags
Change-Id: If76bfd1277fa646f6e62d0ca5d9e2eafe610b2ae
2017-04-09 09:47:30 -04:00
Davanum Srinivas 19c4d1ed7d Use tag to get stable runs
- Use v1.7.0-alpha.1 tag of the kubernetes master branch
- Add support for NFS scenarios
- Tweak list of tests
- Add ENABLE_HOSTPATH_PROVISIONER
- Allow specifying full job failure names

Change-Id: I0b4840858236de9f49c7797564ec5b6a8032875e
2017-04-09 08:57:38 -04:00
Davanum Srinivas 264904ba1e Switch off color in logs
Change-Id: I97a15f5fd88c9e963255584f758c30c28c986e4d
2017-04-05 16:46:24 -04:00
Davanum Srinivas 75fdc78bc8 Bail when things go wrong
Change-Id: I7f4f0c63b74e5b19d06b31378fe2caf2b6b9a6c5
2017-04-05 13:07:08 -04:00
Davanum Srinivas 204f3b4583 Tweak list of failing tests
Change-Id: Ifa479ee0236252cf5f719bd3b6549a4545d926f5
2017-04-05 11:10:20 -04:00
Davanum Srinivas 2626e9cb15 Turn on a few local-up-cluster flags and disable some tests
Change-Id: I24442adc46f14115f8b33de4fb6bbb3e13a9dd9f
2017-04-04 21:15:22 -04:00
Davanum Srinivas b767bb2fd0 Try skeleton as cloud_provider
Change-Id: I272cb44cb50fea8593a8ab569316efa57bb425a9
2017-04-04 14:06:09 -04:00
Davanum Srinivas 58348bfde4 Switch to 1.7.5 golang for both local-cluster-up and e2e tests
Change-Id: I892e642ab0d3b49561e716791fe3c587424b350a
2017-04-04 11:22:27 -04:00
Davanum Srinivas 5b94081b13 Run some e2e tests against the kubernetes instance
Change-Id: I6fdf5ce4fbf0e2c9073e162d862de5c350b949a2
2017-04-04 09:16:16 -04:00
Davanum Srinivas 67b4836ccd Try starting kubernetes built from source
Seems to work somewhat. the pre/post/gate hook(s) are not kicking
in though. So just getting this in and will iterate.

Change-Id: Ibf6e7a431271de8fb8533e269bb4985fd3e74ff0
2017-04-02 14:34:54 +00:00
Davanum Srinivas e64f9f8a93 Add skeleton for devstack plugin and gate hooks
Change-Id: Ib568436bd8f896fba4fa46e07714c4cb8b889459
2017-03-30 23:05:41 -04:00
wlan0 4916646810 Use ProviderID to address nodes in the cloudprovider
The cloudprovider is being refactored out of kubernetes core. This is being
done by moving all the cloud-specific calls from kube-apiserver, kubelet and
kube-controller-manager into a separately maintained binary(by vendors) called
cloud-controller-manager. The Kubelet relies on the cloudprovider to detect information
about the node that it is running on. Some of the cloudproviders worked by
querying local information to obtain this information. In the new world of things,
local information cannot be relied on, since cloud-controller-manager will not
run on every node. Only one active instance of it will be run in the cluster.

Today, all calls to the cloudprovider are based on the nodename. Nodenames are
unqiue within the kubernetes cluster, but generally not unique within the cloud.
This model of addressing nodes by nodename will not work in the future because
local services cannot be queried to uniquely identify a node in the cloud. Therefore,
I propose that we perform all cloudprovider calls based on ProviderID. This ID is
a unique identifier for identifying a node on an external database (such as
the instanceID in aws cloud).

Change-Id: Ie0c4b3f0456a02b9af2846c5842da18939c9a15e
2017-03-29 13:40:24 -04:00
Maxym Kutsevol a92e17552a Update deps
Change-Id: Ib736e0cc75b3bdac936efd9f238ddf6998b8055b
2017-03-29 13:40:15 -04:00
Maxym Kutsevol e771dcdb90 Support for v1/v2/autoprobe openstack cinder blockstorage
Support for cinder v1/v2 api with the new gophercloud/gophercloud
library. API version is configurable and defaulting autodetection.

Change-Id: I83de02beb08f50c15f8faa8a3f070d67fd64de41
2017-03-29 13:40:08 -04:00
Davanum Srinivas 3e8cd7b94e Update build environment
* Add mercurial/hg to bindep
* Use latest golang (1.8.x)
* Print additional go related environment information

Change-Id: I053873945a24ab0f592051423d2e307b3bdf299e
2017-03-29 13:27:12 -04:00
Davanum Srinivas eba7d9f54a Reorganize code and add Makefile 2017-03-24 09:58:58 -04:00
Kubernetes Submit Queue 7baf5e263a Merge pull request #41309 from kars7e/add-cafile-openstack
Automatic merge from submit-queue (batch tested with PRs 40932, 41896, 41815, 41309, 41628)

Add custom CA file to openstack cloud provider config

**What this PR does / why we need it**: Adds ability to specify custom CA bundle file to verify OpenStack endpoint against. Useful in tests and PoC deployments. Similar to what https://github.com/kubernetes/kubernetes/pull/35488 did for authentication.  


**Which issue this PR fixes**: None

**Special notes for your reviewer**: Based on https://github.com/kubernetes/kubernetes/pull/35488 which added support for custom CA file for authentication.

**Release note**:
2017-02-26 08:10:00 -08:00