Commit Graph

36 Commits

Author SHA1 Message Date
Ashutosh Mishra 3eb86b39d5 Update git submodules
* Update devstack-plugin-container from branch 'master'
  to 0e50d17b8d2e80f69f2d2b2189ada08d90f95f60
  - Added the correct CentOs 9 stream repo for Cri-o Installation.
    
    In CentOs 9 stream repo added gpgkey url along with baseurl.
    
    Closes-Bug: #2041788
    Change-Id: I601eb22df31b33f680996eea98dc8e49d0fbb612
2023-11-02 10:23:16 +00:00
Yasufumi Ogawa df2801494a Update git submodules
* Update devstack-plugin-container from branch 'master'
  to 00523744112bdcd91cbb4e56b9fd054c6b9b60c1
  - Failed to launch kubelet after rebooting
    
    The default behavior of crio service is `disable` if you install it with
    devstack. So, kubelet cannot launch after rebooting a host because crio
    isn't run on the host before. To fix the issue, enable crio in systemctl
    while installing kubeadm.
    
    Change-Id: Ic042494d1cd588fb2b06f7e1d5544206b20b5ad6
    Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
2023-10-10 13:33:53 +00:00
psingla 0d91d8e38a Update git submodules
* Update devstack-plugin-container from branch 'master'
  to f2fd4303cfbc89f43a3b90dcc74cc5e9289b5e52
  - Adding cri-o repository for centos system
    
    cri-o repository for centos need to be added in
    /etc/yum.repos.d to successfully install cri-o on centos system.
    
    Change-Id: I6b215cb0efb3c53e97a4a6605e94a262c0d04f25
2023-03-07 18:12:11 +00:00
Hongbin Lu 1cac20b559 Update git submodules
* Update devstack-plugin-container from branch 'master'
  to f8e786f0d5b885f003185aba6ad7e81ae3ab6dfa
  - Support installing specific version of docker
    
    Change-Id: I12015c28f6f8ffc125097a14514a6a90a20cf35b
2023-02-24 17:35:33 +00:00
Roman Dobosz 10a383c202 Update git submodules
* Update devstack-plugin-container from branch 'master'
  to bdc0b49ce38d012be3328ddc7c59a7e496b098b4
  - Install apparmor tools also for Ubuntu Focal.
    
    k8s gate is still on focal, so patch which unblock the apparmor for
    jammy does not affect it. Here is the fix for focal as well.
    
    Change-Id: I2a9bc69a59e7d6d21d61e79115d5a3c726c73ab0
2023-02-23 18:37:21 +00:00
Roman Dobosz 6ddd70bf23 Update git submodules
* Update devstack-plugin-container from branch 'master'
  to 38835f2c549f73e6c79e9e8ff930990b792e4e47
  - Use flannel preferred configuration.
    
    On the Github repository, flannel team has stated[1], that for k8s 1.17+
    the yaml file[2] with flannel config should be used. This patch is
    changing it, as old version stopped to work.
    
    [1] https://github.com/flannel-io/flannel#deploying-flannel-manually
    [2] https://github.com/flannel-io/flannel/releases/latest/download/kube-flannel.yml
    
    Change-Id: Ib7af55304714d8e91f5e9c63cb1501fb515553d6
2023-02-23 17:05:29 +00:00
Roman Dobosz 15e839359b Update git submodules
* Update devstack-plugin-container from branch 'master'
  to c101497703d6e2a8c75341004cb9bb59dbb4001f
  - Bump k8s version.
    
    Kubernetes 1.19 is long gone over a year now. Current minimal supported
    version is 1.23.x. It is also last version, which supports docker-shim.
    In this patch we propose to bump the version of k8s to 1.23.16 and crio
    to 1.23.
    
    Change-Id: I822217e769cc5cd041032fb2302c3a9c130d11ff
2023-02-23 17:05:28 +00:00
Roman Dobosz b3cc3ff567 Update git submodules
* Update devstack-plugin-container from branch 'master'
  to f3cbfa21ff17ff9f441e79bb8dbf681a762bcdea
  - Change default kubernetes registry to current one.
    
    Last year, kubernetes community has made a move from k8s.gcr.io to
    registry.k8s.io. Currently images on k8s.gcr.io has been stopped from
    serving therefore, there is a need to migrate to the new one.
    
    Change-Id: I20305b380d26fdaa30632107b29debc519e13e54
2023-02-23 16:43:20 +00:00
Roman Dobosz 03ae19d02f Update git submodules
* Update devstack-plugin-container from branch 'master'
  to 6c468e5293b79e8e75c7810352e46eacd2dd3eb5
  - Fix issue with lack of apparmor.
    
    Recently there are failures observed with docker installations. Newest
    version (23.x) started to fail to create containers, when there are no
    tools for apparmor available, and yet, this feature is enabled on
    kernel, which is true in case of Ubuntu Jammy (22.04) stable release.
    
    There are couple[1] of bugs[2] reported to the upstream, and as a
    workaround, proposal is to install apparmor.
    
    [1] https://github.com/moby/moby/issues/44900
    [2] https://github.com/moby/moby/issues/44970
    
    Change-Id: Ie10de8a8b074daa19ba4a882528e78cd1ee74245
2023-02-22 12:20:28 +00:00
Roman Dobosz e0c1baaa31 Update git submodules
* Update devstack-plugin-container from branch 'master'
  to aef3c9209b47c90c02bb3dabdb603202090f4f0d
  - Fix the issue with default_sysctls for cri-o.
    
    In earlier version of cri-o (at least that been seen in 1.18) cri-o
    packages have default configuration stored as /etc/crio/crio.conf, with
    all the default values defined. Setting a value for the key means that
    was a need to actually change the default. In version up to 1.23 there
    was even no configuration stored at all, but starting from 1.24, all the
    default config options has been commented out, and only section names
    are not commented.
    
    Similar situation has been detected for registry configuration, but here
    it is even more difficult, as in recent version toml format has been
    used instead of ini.
    
    With this patch all of the cases has been covered.
    
    Change-Id: Ia1b3dee3979841e798cec11c02ba1412dccef6c2
2022-12-06 09:46:36 +00:00
Zuul 94cd1d4749 Update git submodules
* Update devstack-plugin-container from branch 'master'
  to a6494044ff50866bfbea66ce8cd768b4a1f3c563
  - Merge "Fix docker group name"
  - Fix docker group name
    
    devstack-plugin-container wrongfully assumes that the stack user name
    is also the name of the group under which install the docker daemon.
    This can cause devstack to install docker in such a way that the stack
    user does not have permissions to access the docker socket, as seen in
    [3].
    
    [1] https://opendev.org/openstack/devstack-plugin-container
    [2] https://github.com/openstack/devstack-plugin-container/blob/f09c5c9/devstack/lib/docker#L27
    [3] https://github.com/gophercloud/gophercloud/pull/2380#issuecomment-1094295137
    
    Closes-Bug: 1970129
    Change-Id: Id5f1fa24ebb09db10f0d56e4d6b111be66869b5a
2022-11-24 14:13:31 +00:00
Yasufumi Ogawa ab6adb8343 Update git submodules
* Update devstack-plugin-container from branch 'master'
  to a7295a5201a1eed61e0544be7392012647f470bc
  - Fix to be prompted to add apt repos
    
    Fix devstack installation for crio is prompted while running
    apt-add-repository.
    
    Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
    Change-Id: I66d69d5df254af027baf1d359130d4423fe3c4a9
2022-11-24 09:52:48 +00:00
Zuul 043fb15bc9 Update git submodules
* Update devstack-plugin-container from branch 'master'
  to b323f5b71a17ce17de4cff2b01742bf322063d26
  - Merge "Docker and kubernetes package installation on CentosStream"
  - Docker and kubernetes package installation on CentosStream
    
    Change-Id: Icafab048c43c6591c6cdafb13f34ed1f40258f22
2022-03-28 09:00:53 +00:00
yangjianfeng 3c1e45d814 Update git submodules
* Update devstack-plugin-container from branch 'master'
  to f935202d39e6e1709fecfc2a5ae403ae1665ba59
  - Support config pause image for crio
    
    In some places of which network environment was limited, ciro can't
    pull images from k8s.gcr.io. This patch add a variable
    `CRIO_PAUSE_IMAGE` in order to the developer who located in these
    places can set the ciro to pull pause container images from
    repository that they can access.
    
    The `CRIO_PAUSE_COMMAND` used to configure crio's `pause_command`
    (the pause container's bootstrap command), in order to the developer
    can use the special pause image the they customized.
    
    Change-Id: Ib0d4c42870d40ef583546758513a36b906c7663b
2022-03-23 05:33:00 +00:00
yangjianfeng 8bd4788349 Update git submodules
* Update devstack-plugin-container from branch 'master'
  to 90b4089cda37d16ff3fb008ab26469597c289268
  - Support config image repository for kubeadm
    
    In some places of which network environment was limited, kubeadm
    can't pull images from k8s.gcr.io. This patch add a variable
    `KUBEADMIN_IMAGE_REPOSITORY` in order to the developer who located in
    these places can set the kubeadm to pull container images from
    repository that they can access.
    
    Change-Id: I14aed50077ef0760635e575770fd2274cb759c53
2022-03-21 05:49:56 +00:00
Roman Dobosz eec473f44f Update git submodules
* Update devstack-plugin-container from branch 'master'
  to 47599355271a24d903ff4f70a794b17f97360fec
  - Allow ICMP between pods for CRI-O.
    
    By default, CRI-O doesn't allow to have ICMP traffic between the pods
    and pods to/from host. It's convenient to have such ability for testing
    and debugging purpose.
    
    In this patch there is added appropriate configuration to crio.conf, and
    also a setting to disable it if needed.
    
    Change-Id: I1133815d9cbce311313bff7a219a9b3939390660
2021-11-22 13:45:41 +00:00
Zuul feb246348b Update git submodules
* Update devstack-plugin-container from branch 'master'
  to 718e0e952112fb533ed041ddc4e99127b7a2f02f
  - Merge "Provide right path to the runc binary for Ubuntu and CRI-O installation."
  - Provide right path to the runc binary for Ubuntu and CRI-O installation.
    
    There are also two new configuration option introduced:
    
    - CNI_PLUGIN_DIR
    - CNI_CONF_DIR
    
    which, if defined, are used to configure crio paths for plugins and
    networks config.
    
    Change-Id: Ica4277b06740f8dca3ff5be77432cf6ab2f3cdeb
2021-11-03 10:09:04 +00:00
Martin Kopec 9b4bdd8dbc Update git submodules
* Update devstack-plugin-container from branch 'master'
  to 09ff9080a109be76a6693601aed3c354ab2aedfa
  - Bump min tox version to 3.18.0
    
    Let's bump minimal tox version so that we can rename
    whitelist_externals option to allowlist_externals one.
    
    https: //tox.wiki/en/latest/changelog.html#v3-18-0-2020-07-23
    Change-Id: I0be6023da2c0b720728ce62a0eb91930c7a5cd28
2021-10-20 14:16:35 +00:00
Roman Dobosz db57a18c9b Update git submodules
* Update devstack-plugin-container from branch 'master'
  to d4de1bb9905aebff7e3620d08aa65dc334d435b8
  - Change repos from projectatomic to kubic OBS project.
    
    Since projectatomic Ubuntu builds are deprecated, and advice was to
    consult upstream documentation[1], Kubernetes with cri-o now rely on
    Kubic project, which (among the others) provides packages for Ubuntu
    20.04. Let us switch for those.
    
    [1] https://kubernetes.io/docs/setup/production-environment/container-runtimes/#cri-o
    
    Change-Id: Ib06753d22f8859eefedc031094851b052f4105b6
2021-01-26 13:34:14 +00:00
Ghanshyam Mann 07a7ed2b3c Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Migrate devstack-plugin-container jobs to focal
    
    As per victoria cycle testing runtime and community goal[1]
    we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
    
    Tempest based jobs will be migrate automatically once devstack
    base job start running on Focal(Depends-On). This commit migrates
    devstack-plugin-container job to run on focal.
    
    Depends-On: https://review.opendev.org/#/c/734700
    
    [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html
    
    Change-Id: I1a3ac070027805691fc1007458ac02567f847ae9
2020-09-25 04:00:12 +00:00
Hongbin Lu 1f0e344654 Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Tolerate non-existing of cni config file
    
    Change-Id: I761bf9344651ec196471ca57bf0b29184a69e161
2020-05-05 03:37:28 +00:00
Zuul c6e3bda176 Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Merge "Configure kata runtime for containerd"
  - Configure kata runtime for containerd
    
    Change-Id: I9d9d223effcaa94d0b1b25210a24aaa313353f05
2020-05-01 00:14:28 +00:00
Ghanshyam Mann 91683299eb Update git submodules
* Update devstack-plugin-container from branch 'master'
  - [ussuri][goal] Update contributor documentation
    
    This patch updates/adds the contributor documentation to follow
    the guidelines of the Ussuri cycle community goal[1].
    
    [1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
    Story: #2007236
    Task: #38554
    
    Change-Id: I5edcc88c9b9adb535597c7850aa3cd05f32ed811
2020-04-27 11:14:38 +00:00
Hongbin Lu 956b5c87c8 Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Add bashate job
    
    Change-Id: I74d09678958ad5e5dec4cbacb450973a31fcf9ba
2020-04-27 11:14:37 +00:00
Hongbin Lu 80019aaee9 Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Fix https://review.opendev.org/#/c/705361/
    
    We need to configure CNI plugin first, then configure and restart
    containerd. In before, the order is reverse so the CNI config
    is not picked.
    
    Change-Id: I1c0e753b19289c339e44f288cae02d7ee2957da6
2020-02-23 16:49:30 +00:00
Hongbin Lu 1aa3ecb34e Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Support enabling CRI for containerd
    
    Installing docker will install the CRI plugin for containerd.
    This commit support enabling the CRI-containerd plugin.
    By default, this is disabled.
    
    Change-Id: Ica8d5f91ae77d1d6599bfadc4031552016ad8953
2020-02-22 17:08:35 +00:00
Zuul 2e76b5b802 Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Merge "Add Kubernetes job"
  - Add Kubernetes job
    
    Change-Id: I2c75c81521ed8a53627119b231f526508154e34d
2019-08-28 16:33:40 +00:00
Hongbin Lu df0e662a8c Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Add support for kata container
    
    Change-Id: I8de21dd0317734711ba3778c241a428f0325ea85
2019-07-08 14:51:27 +00:00
Hongbin Lu ba214e6e71 Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Convert legacy job to zuul v3 native
    
    The CI job configuration was auto-converted from legacy job in before.
    This commit convert the job to zuul v3 native format.
    
    Change-Id: I591ca197b6860db31e76fc7af3547ff4a92b2a55
2019-06-18 15:05:25 +00:00
Hongbin Lu 2033d22242 Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Make the docker job voting
    
    The job install Docker and use basic scenario to verifies if
    Docker is working properly. The job is quite stable so far.
    This commit changes this job from non-voting to voting.
    
    Change-Id: I7da8471fc9b3b362bf6502f379b60cfeb2a9ad92
2019-05-13 07:55:27 +00:00
Hongbin Lu eb47464ad9 Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Support k8s installation
    
    Add support for installing kubernetes cluster via devstack.
    It uses kubeadm to bootstrap the k8s cluster.
    
    Change-Id: I7877ceda08bbdab807116a13d74ff884136dc501
2019-05-07 04:27:00 +00:00
Le Hou 9ce65d4250 Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Use opendev repository
    
    Change-Id: Ie2e20d0d185f58e9234d59264ee213e34e7714a1
    
  - 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-25 02:50:35 +00:00
Ian Wienand 54bd125b42 Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Replace openstack.org git:// URLs with https://
    
    This is a mechanically generated change to replace openstack.org
    git:// URLs with https:// equivalents.
    
    This is in aid of a planned future move of the git hosting
    infrastructure to a self-hosted instance of gitea (https://gitea.io),
    which does not support the git wire protocol at this stage.
    
    This update should result in no functional change.
    
    For more information see the thread at
    
     http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
    
    Change-Id: I22b7533894aae3f217b183a6c8d89221c02dd7aa
2019-03-24 22:20:08 +00:00
Michał Dulko 8790e2d289 Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Support cri-o in CentOS and Fedora
    
    This commit adds support for installing cri-o as container engine in
    CentOS and Fedora. Tested on CentOS 7.6 and Fedora 28.
    
    Change-Id: I0e10e06156e02397b5cd64efe802869d0e96b231
2019-02-08 12:28:29 +00:00
Feng Shengqin 0a032971e6 Update git submodules
* Update devstack-plugin-container from branch 'master'
  - Configure the dokcer daemon for IPv6
    
    Change-Id: If190af800a8c28e2cf4ae320a770c40847cd18e6
2019-01-31 07:30:04 +00:00
Monty Taylor aa262b7a44
Update git submodules based on new script
Change-Id: Ia578b55e3e07b4ea90f034805625caf82e9e674e
2019-01-04 14:13:17 +00:00