Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

Commit

Permalink
Merge pull request #3921 from kinvolk/iaguis/release-1.30.0
Browse files Browse the repository at this point in the history
release 1.30.0
  • Loading branch information
Luca Bruno committed Apr 16, 2018
2 parents 79386c2 + 6596ced commit 601d988
Show file tree
Hide file tree
Showing 21 changed files with 75 additions and 35 deletions.
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
## 1.30.0

This release includes some small command line tweaks and adds support for CRI logging in iottymux which is required by rktlet.
It also fixes a number of bugs, adds a lot of new documentation, and updates some dependencies.

### New features

- status: added read from uuid-file ([#3860](https://github.com/rkt/rkt/pull/3860)).
- stage0/run: relax '--hosts-entry' parser ([#3833](https://github.com/rkt/rkt/pull/3833)).
- iottymux: store logs for kubelet in the appropriate location ([#3798](https://github.com/rkt/rkt/pull/3798)). This change is made for rktlet. iottymux will store the logs directly in the CRI format.
- rkt: add AWS auth headerer support to `rkt config` ([#3910](https://github.com/rkt/rkt/pull/3910)).

### Bugfixes

- kvm: solve certain routing issues by using the same default bridge as CNI ([#3905](https://github.com/rkt/rkt/pull/3905)).
- networking/portfwd: fix compare routeLocalnetValue ([#3897](https://github.com/rkt/rkt/pull/3897)).
- list: add ip of non-running pods to status output ([#3857](https://github.com/rkt/rkt/pull/3857)).
- stage1: execute pre-start/post-stop hooks as privileged ([#3844](https://github.com/rkt/rkt/pull/3844)). Even if we run the container as an unprivileged user.
- stage1-fly/run: allow non absolute commands to be run ([#3845](https://github.com/rkt/rkt/pull/3845)).
- rkt: prevent skipping some images in image gc ([#3858](https://github.com/rkt/rkt/pull/3858)).
- rkt: skip parsing in case of an empty string ([#3822](https://github.com/rkt/rkt/pull/3822)). Fix issue where `rkt app add` fails with an error message like `must give only one app`, even when only one app name is given.

### Build system

- scripts: Add libfdt to install deps ([#3834](https://github.com/rkt/rkt/pull/3834)). libfdt-dev is needed when building kernels for architectures that support a device tree.
- makelib: Fix go-find-directories symlink problem ([#3824](https://github.com/rkt/rkt/pull/3824)).
- scripts: adding missing dependecies to debian dependency installer ([#3829](https://github.com/rkt/rkt/pull/3829)).
- scripts/build-pkgs: use RPM file dependency for shadow tools ([#3904](https://github.com/rkt/rkt/pull/3904)).

### Other changes

- Lots of [documentation updates](https://github.com/rkt/rkt/pulls?q=is%3Apr+label%3Akind%2Fdocumentation++milestone%3Av1.30.0).
- selinux: Update to latest ([#3818](https://github.com/rkt/rkt/pull/3818)).
- travis: update go versions ([#3821](https://github.com/rkt/rkt/pull/3821)).
- vendor: bump docker2aci to v0.17.1 ([#3835](https://github.com/rkt/rkt/pull/3835)). It fixes an image pulling bug for some images in GCR.
- Fixes all the misspell ([#3870](https://github.com/rkt/rkt/pull/3870)).
- stage1/usr_from_coreos: add new image signing subkey 0638EB2F ([#3902](https://github.com/rkt/rkt/pull/3902)).
- tests: Use semaphore install-package ([#3827](https://github.com/rkt/rkt/pull/3827)).
- tests: Add verbose flag to build-and-run-tests.sh ([#3819](https://github.com/rkt/rkt/pull/3819)).

## 1.29.0

This release contains a number of bugfixes, new features like the ability to share the host IPC namespace, dependency updates, and build system improvements.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devel/inspect-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The default network uses the [ptp plugin][ptp] with [host-local][host-local] as
5730 execve("stage1/rootfs/usr/lib/rkt/plugins/net/host-local", ["stage1/rootfs/usr/lib/rkt/plugins/net/host-local"], 0xc42008e240 /* 32 vars */ <unfinished ...>
```

In this case, the CNI plugins use come from rkt's stage1, but [rkt is also able to pick a CNI plugin installed externally](https://github.com/rkt/rkt/blob/v1.29.0/Documentation/networking/overview.md#custom-plugins).
In this case, the CNI plugins use come from rkt's stage1, but [rkt is also able to pick a CNI plugin installed externally](https://github.com/rkt/rkt/blob/v1.30.0/Documentation/networking/overview.md#custom-plugins).

The plugins will do some iptables magic to configure the network:

Expand Down
16 changes: 8 additions & 8 deletions Documentation/distributions.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,19 +147,19 @@ upgrade manually.
### rpm-based
```
gpg --recv-key 18AD5014C99EF7E3BA5F6CE950BDD3E0FC8A365E
wget https://github.com/rkt/rkt/releases/download/v1.29.0/rkt-1.29.0-1.x86_64.rpm
wget https://github.com/rkt/rkt/releases/download/v1.29.0/rkt-1.29.0-1.x86_64.rpm.asc
gpg --verify rkt-1.29.0-1.x86_64.rpm.asc
sudo rpm -Uvh rkt-1.29.0-1.x86_64.rpm
wget https://github.com/rkt/rkt/releases/download/v1.30.0/rkt-1.30.0-1.x86_64.rpm
wget https://github.com/rkt/rkt/releases/download/v1.30.0/rkt-1.30.0-1.x86_64.rpm.asc
gpg --verify rkt-1.30.0-1.x86_64.rpm.asc
sudo rpm -Uvh rkt-1.30.0-1.x86_64.rpm
```

### deb-based
```
gpg --recv-key 18AD5014C99EF7E3BA5F6CE950BDD3E0FC8A365E
wget https://github.com/rkt/rkt/releases/download/v1.29.0/rkt_1.29.0-1_amd64.deb
wget https://github.com/rkt/rkt/releases/download/v1.29.0/rkt_1.29.0-1_amd64.deb.asc
gpg --verify rkt_1.29.0-1_amd64.deb.asc
sudo dpkg -i rkt_1.29.0-1_amd64.deb
wget https://github.com/rkt/rkt/releases/download/v1.30.0/rkt_1.30.0-1_amd64.deb
wget https://github.com/rkt/rkt/releases/download/v1.30.0/rkt_1.30.0-1_amd64.deb.asc
gpg --verify rkt_1.30.0-1_amd64.deb.asc
sudo dpkg -i rkt_1.30.0-1_amd64.deb
```

[cl-install-rkt]: install-rkt-in-coreos.md
Expand Down
2 changes: 1 addition & 1 deletion Documentation/pod-manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The resulting pod manifest file is:

```json
{
"acVersion": "1.29.0",
"acVersion": "1.30.0",
"acKind": "PodManifest",
"apps": [
{
Expand Down
6 changes: 3 additions & 3 deletions Documentation/proposals/oci.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,6 @@ Backwards compatibility: Currently the biggest concern identified is backwards c
[oci-algorithms]: https://github.com/opencontainers/image-spec/blob/v1.0.0-rc2/descriptor.md#algorithms
[oci-image-layout]: https://github.com/opencontainers/image-spec/blob/v1.0.0-rc2/image-layout.md

[app-container]: https://github.com/rkt/rkt/blob/v1.29.0/Documentation/app-container.md
[image-lifecycle]: https://github.com/rkt/rkt/blob/v1.29.0/Documentation/devel/architecture.md#image-lifecycle
[distribution-point]: https://github.com/rkt/rkt/blob/v1.29.0/Documentation/devel/distribution-point.md
[app-container]: https://github.com/rkt/rkt/blob/v1.30.0/Documentation/app-container.md
[image-lifecycle]: https://github.com/rkt/rkt/blob/v1.30.0/Documentation/devel/architecture.md#image-lifecycle
[distribution-point]: https://github.com/rkt/rkt/blob/v1.30.0/Documentation/devel/distribution-point.md
4 changes: 2 additions & 2 deletions Documentation/running-fly-stage1.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ $ ./autogen.sh && ./configure --with-stage1-flavors=fly && make
```

For more details about configure parameters, see the [configure script parameters documentation][build-configure].
This will build the rkt binary and the stage1-fly.aci in `build-rkt-1.29.0+git/bin/`.
This will build the rkt binary and the stage1-fly.aci in `build-rkt-1.30.0+git/bin/`.

### Selecting stage1 at runtime

Here is a quick example of how to use a container with the official fly stage1:

```
# rkt run --stage1-name=coreos.com/rkt/stage1-fly:1.29.0 coreos.com/etcd:v2.2.5
# rkt run --stage1-name=coreos.com/rkt/stage1-fly:1.30.0 coreos.com/etcd:v2.2.5
```

If the image is not in the store, `--stage1-name` will perform discovery and fetch the image.
Expand Down
6 changes: 3 additions & 3 deletions Documentation/running-kvm-stage1.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The KVM stage1 does not yet implement all of the default stage1's features and s
Provided you have hardware virtualization support and the [kernel KVM module][kvm-module] loaded (refer to your distribution for instructions), you can then run an image like you would normally do with rkt:

```
sudo rkt run --debug --insecure-options=image --stage1-name=coreos.com/rkt/stage1-kvm:1.29.0 docker://redis
sudo rkt run --debug --insecure-options=image --stage1-name=coreos.com/rkt/stage1-kvm:1.30.0 docker://redis
```

This output is the same you'll get if you run a container-based rkt.
Expand Down Expand Up @@ -67,7 +67,7 @@ $ ./autogen.sh && ./configure --with-stage1-flavors=kvm --with-stage1-kvm-hyperv
```

For more details about configure parameters, see [configure script parameters documentation][build-configure].
This will build the rkt binary and the KVM stage1 aci image in `build-rkt-1.29.0+git/target/bin/`. Depending on the configuration options, it will be `stage1-kvm.aci` (if one hypervisor is set), or `stage1-kvm-lkvm.aci` and `stage1-kvm-qemu.aci` (if you want to have both images built once).
This will build the rkt binary and the KVM stage1 aci image in `build-rkt-1.30.0+git/target/bin/`. Depending on the configuration options, it will be `stage1-kvm.aci` (if one hypervisor is set), or `stage1-kvm-lkvm.aci` and `stage1-kvm-qemu.aci` (if you want to have both images built once).


[build-configure]: build-configure.md
Expand All @@ -89,7 +89,7 @@ Additional [Linux kernel's command line parameters](https://www.kernel.org/doc/h

```
sudo RKT_HYPERVISOR_EXTRA_KERNEL_PARAMS="systemd.unified_cgroup_hierarchy=true max_loop=12 possible_cpus=1" \
rkt run --stage1-name=coreos.com/rkt/stage1-kvm:1.29.0 \
rkt run --stage1-name=coreos.com/rkt/stage1-kvm:1.30.0 \
...
```

Expand Down
4 changes: 2 additions & 2 deletions Documentation/subcommands/prepare.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Support for overlay fs will be auto-detected if `--no-overlay` is set to `false`

```
# rkt prepare --insecure-options=image docker://busybox --exec=/bin/sh
image: using image from local store for image name coreos.com/rkt/stage1-coreos:1.29.0
image: using image from local store for image name coreos.com/rkt/stage1-coreos:1.30.0
image: remote fetching from URL "docker://busybox"
Downloading sha256:8ddc19f1652 [===============================] 668 KB / 668 KB
prepare: disabling overlay support: "unsupported filesystem: missing d_type support"
Expand All @@ -32,7 +32,7 @@ Therefore, the supported arguments are mostly the same as in `run` except runtim
```
# rkt prepare coreos.com/etcd:v2.0.10
rkt prepare coreos.com/etcd:v2.0.10
rkt: using image from local store for image name coreos.com/rkt/stage1-coreos:1.29.0
rkt: using image from local store for image name coreos.com/rkt/stage1-coreos:1.30.0
rkt: searching for app image coreos.com/etcd:v2.0.10
rkt: remote fetching from url https://github.com/coreos/etcd/releases/download/v2.0.10/etcd-v2.0.10-linux-amd64.aci
prefix: "coreos.com/etcd"
Expand Down
2 changes: 1 addition & 1 deletion Documentation/subcommands/version.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This command prints the rkt version, the appc version rkt is built against, and

```
$ rkt version
rkt Version: 1.29.0
rkt Version: 1.30.0
appc Version: 0.8.11
Go Version: go1.5.3
Go OS/Arch: linux/amd64
6 changes: 3 additions & 3 deletions Documentation/trying-out-rkt.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ rkt is written in Go and can be compiled for several CPU architectures. The rkt
To start running the latest version of rkt on amd64, grab the release directly from the rkt GitHub project:

```
wget https://github.com/rkt/rkt/releases/download/v1.29.0/rkt-v1.29.0.tar.gz
tar xzvf rkt-v1.29.0.tar.gz
cd rkt-v1.29.0
wget https://github.com/rkt/rkt/releases/download/v1.30.0/rkt-v1.30.0.tar.gz
tar xzvf rkt-v1.30.0.tar.gz
cd rkt-v1.30.0
./rkt help
```

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AC_PREREQ([2.63])
AC_INIT([rkt], [1.29.0+git], [https://github.com/rkt/rkt/issues])
AC_INIT([rkt], [1.30.0+git], [https://github.com/rkt/rkt/issues])

AC_PROG_CC
AC_PROG_CXX
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-rkt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -x

cd $(mktemp -d)

version="1.29.0"
version="1.30.0"

export DEBIAN_FRONTEND=noninteractive

Expand Down
2 changes: 1 addition & 1 deletion tests/empty-image/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"labels": [
{
"name": "version",
"value": "1.29.0"
"value": "1.30.0"
},
{
"name": "arch",
Expand Down
2 changes: 1 addition & 1 deletion tests/image/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"labels": [
{
"name": "version",
"value": "1.29.0"
"value": "1.30.0"
},
{
"name": "arch",
Expand Down
2 changes: 1 addition & 1 deletion tests/rkt-monitor/build-stresser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ buildImages() {
acbuild --debug begin
trap acbuildEnd EXIT
acbuild --debug set-name appc.io/rkt-"${1}"-stresser
acbuild --debug copy build-rkt-1.29.0+git/target/bin/"${1}"-stresser /worker
acbuild --debug copy build-rkt-1.30.0+git/target/bin/"${1}"-stresser /worker
acbuild --debug set-exec -- /worker
acbuild --debug write --overwrite "${1}"-stresser.aci
acbuild --debug end
Expand Down
2 changes: 1 addition & 1 deletion tests/rkt_exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestRunOverrideExec(t *testing.T) {
noappManifest := schema.ImageManifest{
Name: "coreos.com/rkt-inspect",
Labels: types.Labels{
{"version", "1.29.0"},
{"version", "1.30.0"},
{"arch", common.GetArch()},
{"os", common.GetOS()},
},
Expand Down
2 changes: 1 addition & 1 deletion tests/rkt_image_cat_manifest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func TestImageCatManifest(t *testing.T) {
},
},
Labels: types.Labels{
{"version", "1.29.0"},
{"version", "1.30.0"},
{"arch", common.GetArch()},
{"os", common.GetOS()},
},
Expand Down
2 changes: 1 addition & 1 deletion tests/rkt_image_export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestImageExport(t *testing.T) {
},
},
Labels: types.Labels{
{"version", "1.29.0"},
{"version", "1.30.0"},
{"arch", common.GetArch()},
{"os", common.GetOS()},
},
Expand Down
2 changes: 1 addition & 1 deletion tests/rkt_image_render_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func TestImageRender(t *testing.T) {
{ImageName: "coreos.com/rkt-inspect"},
},
Labels: types.Labels{
{"version", "1.29.0"},
{"version", "1.30.0"},
{"arch", common.GetArch()},
{"os", common.GetOS()},
},
Expand Down
2 changes: 1 addition & 1 deletion tests/rkt_os_arch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func getMissingOrInvalidTests(t *testing.T, ctx *testutils.RktRunCtx) []osArchTe
WorkingDirectory: "/",
},
Labels: types.Labels{
{"version", "1.29.0"},
{"version", "1.30.0"},
},
}

Expand Down
2 changes: 1 addition & 1 deletion tests/rkt_run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func TestPreStart(t *testing.T) {
},
},
Labels: types.Labels{
{"version", "1.29.0"},
{"version", "1.30.0"},
{"arch", common.GetArch()},
{"os", common.GetOS()},
},
Expand Down

0 comments on commit 601d988

Please sign in to comment.