Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

host-ctr: bumps aws-sdk-go and amazon-ecr-containerd-resolver version #707

Merged
merged 1 commit into from
Feb 3, 2020

Conversation

etungsten
Copy link
Contributor

Issue #, if available: Partially addresses #685

Description of changes:
Bumps the version of aws-sdk-go
Bumps the version of amazon-ecr-containerd-resolver
Now host-ctr supports pulling images from ECR when IMDSv2 is enforced

Testing done:
Built new image with changes. Launched Thar instance with new image.
host-containers all still start fine.

bash-5.0# systemctl status host-containers@admin
● [email protected] - Host container: admin
     Loaded: loaded (/x86_64-thar-linux-gnu/sys-root/usr/lib/systemd/system/[email protected]; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2020-02-01 00:04:37 UTC; 2 days ago
    Process: 2601 ExecStartPre=/usr/bin/mkdir -m 1777 -p ${LOCAL_DIR}/host-containers/admin (code=exited, status=0/SUCCESS)
   Main PID: 2689 (host-ctr)
      Tasks: 26 (limit: 4430)
     Memory: 37.7M
     CGroup: /system.slice/system-host\x2dcontainers.slice/[email protected]
             └─2689 /usr/bin/host-ctr -ctr-id=admin -source=722737851570.dkr.ecr.us-west-2.amazonaws.com/thar-admin:latest -superpowered=true
....
bash-5.0# systemctl status host-containers@control
● [email protected] - Host container: control
     Loaded: loaded (/x86_64-thar-linux-gnu/sys-root/usr/lib/systemd/system/[email protected]; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2020-02-01 00:04:37 UTC; 2 days ago
    Process: 2641 ExecStartPre=/usr/bin/mkdir -m 1777 -p ${LOCAL_DIR}/host-containers/control (code=exited, status=0/SUCCESS)
   Main PID: 2723 (host-ctr)
      Tasks: 20 (limit: 4430)
     Memory: 38.1M
     CGroup: /system.slice/system-host\x2dcontainers.slice/[email protected]
             └─2723 /usr/bin/host-ctr -ctr-id=control -source=328549459982.dkr.ecr.us-west-2.amazonaws.com/thar-control:v0.2 -superpowered=false
...

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Bumps the version of aws-sdk-go version
Bumps the version of amazon-ecr-containerd-resolver

Now host-ctr supports pulling images from ECR when IMDSv2 is enforced
@iliana iliana mentioned this pull request Feb 3, 2020
10 tasks
@etungsten etungsten merged commit a264b1f into develop Feb 3, 2020
@etungsten etungsten deleted the host-ctr-dep-bump branch February 3, 2020 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants