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

EC2 sdk model override to onboard prefix delegation to master #1508

Merged
merged 1 commit into from
Jun 15, 2021

Conversation

jayanthvn
Copy link
Contributor

@jayanthvn jayanthvn commented Jun 14, 2021

What type of PR is this?
feature

Which issue does this PR fix:
enhancement

What does this PR do / Why do we need it:
Added capability to override aws sdk go with preview model for feature developments.

Enabling EC2_SDK_OVERRIDE ?= "y" for now and will be disabled once prefix delegation feature is GA.

If an issue # is not available please add repro steps and logs from IPAMD/CNI showing the issue:

Testing done on this change:

make docker
Cloning into './vendor/github.com/aws/aws-sdk-go'...
remote: Enumerating objects: 4624, done.
remote: Counting objects: 100% (4624/4624), done.
remote: Compressing objects: 100% (3368/3368), done.
remote: Total 4624 (delta 1633), reused 2340 (delta 641), pack-reused 0
Receiving objects: 100% (4624/4624), 19.06 MiB | 3.76 MiB/s, done.
Resolving deltas: 100% (1633/1633), done.
~/go/src/github.com/aws/amazon-vpc-cni-k8s/vendor/github.com/aws/aws-sdk-go ~/go/src/github.com/aws/amazon-vpc-cni-k8s
make[1]: Entering directory `/local/home/varavaj/go/src/github.com/aws/amazon-vpc-cni-k8s/vendor/github.com/aws/aws-sdk-go'
Cleaning up stale model versions
go run -tags codegen ./private/model/cli/cleanup-models/* "./models/apis/*/*/api-2.json"
Generating SDK protocol tests
go generate ./private/protocol/...
Generating test suite [../../../models/protocol_tests/input/ec2.json build_test.go]
Generating test suite [../../../models/protocol_tests/output/ec2.json unmarshal_test.go]
Generating test suite [../../../models/protocol_tests/input/json.json build_test.go]
Generating test suite [../../../models/protocol_tests/output/json.json unmarshal_test.go]
Generating test suite [../../../models/protocol_tests/input/query.json build_test.go]
Generating test suite [../../../models/protocol_tests/output/query.json unmarshal_test.go]
Generating test suite [../../../models/protocol_tests/input/rest-json.json build_test.go]
Generating test suite [../../../models/protocol_tests/output/rest-json.json unmarshal_test.go]
Generating test suite [../../../models/protocol_tests/input/rest-xml.json build_test.go]
Generating test suite [../../../models/protocol_tests/output/rest-xml.json unmarshal_test.go]
Generating SDK API tests
go generate ./private/model/api/codegentest/service
Generating awsendpointdiscoverytest (2018-08-31)...
Generating restjsonservice (0000-00-00)...
Generating restxmlservice (0000-00-00)...
Generating rpcservice (0000-00-00)...
Generating SDK endpoints
go generate ./models/endpoints
custFixAppAutoscalingChina: ignoring customization, expected , got autoscaling.{region}.amazonaws.com
Generating SDK clients
go generate ./service
unable to backfill auth-type for GetId, already set, noneunable to backfill auth-type for GetOpenIdToken, already set, noneunable to backfill auth-type for UnlinkIdentity, already set, noneunable to backfill auth-type for GetCredentialsForIdentity, already set, noneGenerating sagemaker (2017-07-24)...
Generating elasticinference (2017-07-25)...
Generating sagemakerruntime (2017-05-13)...
Generating iotevents (2018-07-27)...
Generating codebuild (2016-10-06)...
Generating ioteventsdata (2018-10-23)...
Generating emrcontainers (2020-10-01)...
Generating pinpointsmsvoice (2018-09-05)...
Generating lexmodelbuildingservice (2017-04-19)...
Generating connectparticipant (2018-09-07)...
Generating connect (2017-08-08)...
Generating mediapackage (2017-10-12)...
Generating ssm (2014-11-06)...
Generating neptune (2014-10-31)...
Generating ram (2018-01-04)...
Generating schemas (2019-12-02)...
Generating firehose (2015-08-04)...
Generating mgn (2020-02-26)...
Generating personalizeruntime (2018-05-22)...
Generating guardduty (2017-11-28)...
Generating backup (2018-11-15)...
Generating autoscalingplans (2018-01-06)...
Generating servicecatalog (2015-12-10)...
Generating iotwireless (2020-11-22)...
Generating elbv2 (2015-12-01)...
Generating cloudtrail (2013-11-01)...
Generating autoscaling (2011-01-01)...
Generating apigatewayv2 (2018-11-29)...
Generating migrationhub (2017-05-31)...
Generating honeycode (2020-03-01)...
Generating greengrassv2 (2020-11-30)...
Generating sms (2016-10-24)...
Generating serverlessapplicationrepository (2017-09-08)...
Generating savingsplans (2019-06-28)...
Generating kinesisvideomedia (2017-09-30)...
Generating iotfleethub (2020-11-03)...
Generating codestarnotifications (2019-10-15)...
Generating secretsmanager (2017-10-17)...
Generating accessanalyzer (2019-11-01)...
Generating codepipeline (2015-07-09)...
Generating devicefarm (2015-06-23)...
Generating applicationinsights (2018-11-25)...
Generating glacier (2012-06-01)...
Generating storagegateway (2013-06-30)...
Generating ec2 (2016-11-15)...
Generating proton (2020-07-20)...
Generating qldbsession (2019-07-11)...
Generating kms (2014-11-01)...
Generating kinesisvideoarchivedmedia (2017-09-30)...
Generating ivs (2020-07-14)...
Generating pricing (2017-10-15)...
Generating cloudfront (2020-05-31)...
Generating glue (2017-03-31)...
Generating comprehendmedical (2018-10-30)...
Generating outposts (2019-12-03)...
Generating gamelift (2015-10-01)...
Generating acmpca (2017-08-22)...
Generating personalize (2018-05-22)...
Generating ssoadmin (2020-07-20)...
Generating batch (2016-08-10)...
Generating braket (2019-09-01)...
Generating robomaker (2018-06-29)...
Generating machinelearning (2014-12-12)...
Generating directoryservice (2015-04-16)...
Generating lightsail (2016-11-28)...
Generating translate (2017-07-01)...
Generating signer (2017-08-25)...
Generating fsx (2018-03-01)...
Generating auditmanager (2017-07-25)...
Generating mediatailor (2018-04-23)...
Generating marketplacemetering (2016-01-14)...
Generating appflow (2020-08-23)...
Generating elasticsearchservice (2015-01-01)...
Generating applicationcostprofiler (2020-09-10)...
Generating mediastoredata (2017-09-01)...
Generating applicationautoscaling (2016-02-06)...
Generating lookoutequipment (2020-12-15)...
Generating redshift (2012-12-01)...
Generating lakeformation (2017-03-31)...
Generating transcribestreamingservice (2017-10-26)...
Generating cloudsearchdomain (2013-01-01)...
Generating devopsguru (2020-12-01)...
Generating applicationdiscoveryservice (2015-11-01)...
Generating wellarchitected (2020-03-31)...
Generating acm (2015-12-08)...
Generating directconnect (2012-10-25)...
Generating workmailmessageflow (2019-05-01)...
Generating kinesisanalyticsv2 (2018-05-23)...
Generating marketplacecatalog (2018-09-17)...
Generating appintegrationsservice (2020-07-29)...
Generating alexaforbusiness (2017-11-09)...
Generating managedblockchain (2018-09-24)...
Generating s3control (2018-08-20)...
Generating elastictranscoder (2012-09-25)...
Generating dax (2017-04-19)...
Generating lexruntimeservice (2016-11-28)...
Generating rdsdataservice (2018-08-01)...
Generating resourcegroups (2017-11-27)...
Generating networkfirewall (2020-11-12)...
Generating shield (2016-06-02)...
Generating sagemakerfeaturestoreruntime (2020-07-01)...
Generating waf (2015-08-24)...
Generating kinesisanalytics (2015-08-14)...
Generating iot1clickdevicesservice (2018-05-14)...
Generating route53resolver (2018-04-01)...
Generating polly (2016-06-10)...
Generating kinesisvideosignalingchannels (2019-12-04)...
Generating cloudhsm (2014-05-30)...
Generating budgets (2016-10-20)...
Generating sso (2019-06-10)...
Generating iam (2010-05-08)...
Generating mobileanalytics (2014-06-05)...
Generating iotjobsdataplane (2017-09-29)...
Generating computeoptimizer (2019-11-01)...
Generating mwaa (2020-07-01)...
Generating globalaccelerator (2018-08-08)...
Generating cognitoidentityprovider (2016-04-18)...
Generating rekognition (2016-06-27)...
Generating lookoutmetrics (2017-07-25)...
Generating marketplaceentitlementservice (2017-01-11)...
Generating kendra (2019-02-03)...
Generating timestreamwrite (2018-11-01)...
Generating mediaconnect (2018-11-14)...
Generating dynamodb (2012-08-10)...
Generating ecrpublic (2020-10-30)...
Generating ssooidc (2019-06-10)...
Generating securityhub (2018-10-26)...
Generating costexplorer (2017-10-25)...
Generating resourcegroupstaggingapi (2017-01-26)...
Generating forecastqueryservice (2018-06-26)...
Generating lookoutforvision (2020-11-20)...
Generating sns (2010-03-31)...
Generating pinpointemail (2018-07-26)...
Generating finspacedata (2020-07-13)...
Generating sesv2 (2019-09-27)...
Generating appconfig (2019-10-09)...
Generating pi (2018-02-27)...
Generating dlm (2018-01-12)...
Generating apigatewaymanagementapi (2018-11-29)...
Generating licensemanager (2018-08-01)...
Generating gluedatabrew (2017-07-25)...
Generating iot1clickprojects (2018-05-14)...
Generating efs (2015-02-01)...
Generating lambda (2015-03-31)...
Generating cloudwatchlogs (2014-03-28)...
Generating appsync (2017-07-25)...
Generating route53 (2013-04-01)...
Generating simpledb (2009-04-15)...
Generating iot (2015-05-28)...
Generating dataexchange (2017-07-25)...
Generating eks (2017-11-01)...
Generating iotanalytics (2017-11-27)...
Generating transcribeservice (2017-10-26)...
Generating sts (2011-06-15)...
Generating apigateway (2015-07-09)...
Generating lexruntimev2 (2020-08-07)...
Generating mediaconvert (2017-08-29)...
Generating networkmanager (2019-07-05)...
Generating swf (2012-01-25)...
Generating workmail (2017-10-01)...
Generating timestreamquery (2018-11-01)...
Generating sfn (2016-11-23)...
Generating elasticbeanstalk (2010-12-01)...
Generating opsworkscm (2016-11-01)...
Generating snowball (2016-06-30)...
Generating route53domains (2014-05-15)...
Generating groundstation (2019-05-23)...
Generating xray (2016-04-12)...
Generating workdocs (2016-05-01)...
Generating wafv2 (2019-07-29)...
Generating wafregional (2016-11-28)...
Generating kinesisvideo (2017-09-30)...
Generating codecommit (2015-04-13)...
Generating codeartifact (2018-09-22)...
Generating athena (2017-05-18)...
Generating elb (2012-06-01)...
Generating cognitosync (2014-06-30)...
Generating sagemakeredgemanager (2020-09-23)...
Generating personalizeevents (2018-03-22)...
Generating frauddetector (2019-11-15)...
Generating iotsitewise (2019-12-02)...
Generating amplifybackend (2020-08-11)...
Generating greengrass (2017-06-07)...
Generating synthetics (2017-10-11)...
Generating quicksight (2018-04-01)...
Generating ecr (2015-09-21)...
Generating emr (2009-03-31)...
Generating lexmodelsv2 (2020-08-07)...
Generating redshiftdataapiservice (2019-12-20)...
Generating docdb (2014-10-31)...
Generating augmentedairuntime (2019-11-07)...
Generating forecastservice (2018-06-26)...
Generating ses (2010-12-01)...
Generating codegurureviewer (2019-09-19)...
Generating chime (2018-05-01)...
Generating ec2instanceconnect (2018-04-02)...
Generating detective (2018-10-26)...
Generating ebs (2019-11-02)...
Generating cloudsearch (2013-01-01)...
Generating locationservice (2020-11-19)...
Generating macie2 (2020-01-01)...
Generating inspector (2016-02-16)...
Generating configservice (2014-11-12)...
Generating connectcontactlens (2020-08-21)...
Generating codestarconnections (2019-12-01)...
Generating iotthingsgraph (2018-09-06)...
Generating eventbridge (2015-10-07)...
Generating workspaces (2015-04-08)...
Generating textract (2018-06-27)...
Generating migrationhubconfig (2019-06-30)...
Generating macie (2017-12-19)...
Generating qldb (2019-01-02)...
Generating nimblestudio (2020-08-01)...
Generating kinesis (2013-12-02)...
Generating dynamodbstreams (2012-08-10)...
Generating health (2016-08-04)...
Generating fis (2020-12-01)...
Generating iotdataplane (2015-05-28)...
Generating iotsecuretunneling (2018-10-05)...
Generating sqs (2012-11-05)...
Generating appmesh (2019-01-25)...
Generating rds (2014-10-31)...
Generating cloudhsmv2 (2017-04-28)...
Generating pinpoint (2016-12-01)...
Generating medialive (2017-10-14)...
Generating worklink (2018-09-25)...
Generating mediapackagevod (2018-11-07)...
Generating datapipeline (2012-10-29)...
Generating identitystore (2020-06-15)...
Generating cloudwatch (2010-08-01)...
Generating mq (2017-11-27)...
Generating codestar (2017-04-19)...
Generating cloudformation (2010-05-15)...
Generating marketplacecommerceanalytics (2015-07-01)...
Generating ssmincidents (2018-05-10)...
Generating cloudwatchevents (2015-10-07)...
Generating ecs (2014-11-13)...
Generating iotdeviceadvisor (2020-09-18)...
Generating customerprofiles (2020-08-15)...
Generating s3outposts (2017-07-25)...
Generating imagebuilder (2019-12-02)...
Generating s3 (2006-03-01)...
Generating databasemigrationservice (2016-01-01)...
Generating mturk (2017-01-17)...
Generating servicequotas (2019-06-24)...
Generating transfer (2018-11-05)...
Generating codeguruprofiler (2019-07-18)...
Generating mobile (2017-07-01)...
Generating opsworks (2013-02-18)...
Generating fms (2018-01-01)...
Generating clouddirectory (2017-01-11)...
Generating kafka (2018-11-14)...
Generating support (2013-04-15)...
Generating mediastore (2017-09-01)...
Generating apprunner (2020-05-15)...
Generating cloud9 (2017-09-23)...
Generating cognitoidentity (2014-06-30)...
Generating ssmcontacts (2021-05-03)...
Generating prometheusservice (2020-08-01)...
Generating appstream (2016-12-01)...
Generating datasync (2018-11-09)...
Generating servicediscovery (2017-03-14)...
Generating amplify (2017-07-25)...
Generating comprehend (2017-11-27)...
Generating organizations (2016-11-28)...
Generating elasticache (2015-02-02)...
Generating finspace (2021-03-12)...
Generating appregistry (2020-06-24)...
Generating costandusagereportservice (2017-01-06)...
Generating healthlake (2017-07-01)...
Generating codedeploy (2014-10-06)...
make[1]: Leaving directory `/local/home/varavaj/go/src/github.com/aws/amazon-vpc-cni-k8s/vendor/github.com/aws/aws-sdk-go'
~/go/src/github.com/aws/amazon-vpc-cni-k8s
docker build --build-arg GOARCH="amd64" --build-arg docker_arch="amd64" --build-arg golang_image="golang:1.14-stretch" --network=host  \
		-f scripts/dockerfiles/Dockerfile.release \
		-t "amazon/amazon-k8s-cni:v1.6.4-rc1-160-gd9d69e17-dirty" \
		.
Sending build context to Docker daemon  274.7MB
Step 1/19 : ARG docker_arch
Step 2/19 : ARG golang_image
Step 3/19 : FROM $golang_image as builder
1.14-stretch: Pulling from library/golang
1e987daa2432: Pull complete
a0edb687a3da: Pull complete
6891892cc2ec: Pull complete
684eb726ddc5: Pull complete
886b6d0fa9be: Pull complete
6058f8a94671: Pull complete
c85f0036a7a4: Pull complete
Digest: sha256:a60bc0c6be7e352336044e68db7089d8604864933fcbc0d7cb2285d60b0b2d98
Status: Downloaded newer image for golang:1.14-stretch
 ---> 70f1d5515fdd
Step 4/19 : WORKDIR /go/src/github.com/aws/amazon-vpc-cni-k8s
 ---> Running in c700373bf66a
Removing intermediate container c700373bf66a
 ---> dbf170e49a4e
Step 5/19 : ARG GOARCH
 ---> Running in 0a083406f5db
Removing intermediate container 0a083406f5db
 ---> 0fd910bbd642
Step 6/19 : ENV GO111MODULE=on
 ---> Running in 14d71115fb72
Removing intermediate container 14d71115fb72
 ---> 1e52dd95c322
Step 7/19 : ENV GOPROXY=direct
 ---> Running in e54a96010d6b
Removing intermediate container e54a96010d6b
 ---> 25dc55da012f
Step 8/19 : COPY go.mod go.sum ./
 ---> d525e30cb87f
Step 9/19 : COPY vendor/ vendor/
 ---> 9ad8e65123f2
Step 10/19 : RUN go mod download
 ---> Running in 9c1618849058
Removing intermediate container 9c1618849058
 ---> a08b2b6bb538
Step 11/19 : COPY Makefile ./
 ---> d3dda46ff105
Step 12/19 : RUN make plugins && make debug-script
 ---> Running in 62d09c65927f
Fetching Container networking plugins v0.9.0 from upstream release

Visit upstream project for plugin details:
https://github.com/containernetworking/plugins/tree/v0.9.0/plugins/

curl -L https://github.com/containernetworking/plugins/releases/download/v0.9.0/cni-plugins-linux-amd64-v0.9.0.tgz | tar -zx ./loopback ./portmap ./bandwidth
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   640  100   640    0     0   3783      0 --:--:-- --:--:-- --:--:--  3786
100 37.8M  100 37.8M    0     0  26.6M      0  0:00:01  0:00:01 --:--:-- 36.8M
Fetching debug script from awslabs/amazon-eks-ami

Visit upstream project for debug script details:
https://github.com/awslabs/amazon-eks-ami/tree/master/log-collector-script/linux

curl -L https://raw.githubusercontent.com/awslabs/amazon-eks-ami/master/log-collector-script/linux/eks-log-collector.sh -o ./aws-cni-support.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 18191  100 18191    0     0   103k      0 --:--:-- --:--:-- --:--:--  104k
chmod +x ./aws-cni-support.sh
Removing intermediate container 62d09c65927f
 ---> 5506810fa9d7
Step 13/19 : COPY . ./
 ---> 30176bae30ff
Step 14/19 : RUN make build-linux
 ---> Running in 52f790081eac
go build -mod=mod -buildmode=pie -ldflags '-s -w -X main.version=v1.6.4-rc1-160-gd9d69e17-dirty -X pkg/awsutils/awssession.version=v1.6.4-rc1-160-gd9d69e17-dirty' -o aws-k8s-agent     ./cmd/aws-k8s-agent
# github.com/aws/amazon-vpc-cni-k8s/cmd/aws-k8s-agent
loadinternal: cannot find runtime/cgo
go build -mod=mod -buildmode=pie -ldflags '-s -w -X main.version=v1.6.4-rc1-160-gd9d69e17-dirty -X pkg/awsutils/awssession.version=v1.6.4-rc1-160-gd9d69e17-dirty' -o aws-cni           ./cmd/routed-eni-cni-plugin
# github.com/aws/amazon-vpc-cni-k8s/cmd/routed-eni-cni-plugin
loadinternal: cannot find runtime/cgo
go build -mod=mod -buildmode=pie -ldflags '-s -w -X main.version=v1.6.4-rc1-160-gd9d69e17-dirty -X pkg/awsutils/awssession.version=v1.6.4-rc1-160-gd9d69e17-dirty' -o grpc-health-probe ./cmd/grpc-health-probe
# github.com/aws/amazon-vpc-cni-k8s/cmd/grpc-health-probe
loadinternal: cannot find runtime/cgo
Removing intermediate container 52f790081eac
 ---> 7712b84420f5
Step 15/19 : FROM $docker_arch/amazonlinux:2
2: Pulling from amd64/amazonlinux
da5a05f6fddb: Pull complete
Digest: sha256:f6a328fd2a8abac76b0672511f9577695565a62cb77d71b14984bba9016da0b8
Status: Downloaded newer image for amd64/amazonlinux:2
 ---> 0fe81afbc7b9
Step 16/19 : RUN yum update -y &&     yum install -y iptables iproute &&     yum clean all
 ---> Running in cdbc0e40c2c9
Loaded plugins: ovl, priorities
No packages marked for update
Loaded plugins: ovl, priorities
Resolving Dependencies
--> Running transaction check
---> Package iproute.x86_64 0:4.15.0-1.amzn2.0.4 will be installed
--> Processing Dependency: libmnl.so.0(LIBMNL_1.0)(64bit) for package: iproute-4.15.0-1.amzn2.0.4.x86_64
--> Processing Dependency: libmnl.so.0()(64bit) for package: iproute-4.15.0-1.amzn2.0.4.x86_64
---> Package iptables.x86_64 0:1.8.4-10.amzn2.1.2 will be installed
--> Processing Dependency: iptables-libs(x86-64) = 1.8.4-10.amzn2.1.2 for package: iptables-1.8.4-10.amzn2.1.2.x86_64
--> Processing Dependency: libxtables.so.12()(64bit) for package: iptables-1.8.4-10.amzn2.1.2.x86_64
--> Processing Dependency: libpcap.so.1()(64bit) for package: iptables-1.8.4-10.amzn2.1.2.x86_64
--> Processing Dependency: libnfnetlink.so.0()(64bit) for package: iptables-1.8.4-10.amzn2.1.2.x86_64
--> Processing Dependency: libnetfilter_conntrack.so.3()(64bit) for package: iptables-1.8.4-10.amzn2.1.2.x86_64
--> Processing Dependency: libip6tc.so.2()(64bit) for package: iptables-1.8.4-10.amzn2.1.2.x86_64
--> Processing Dependency: libip4tc.so.2()(64bit) for package: iptables-1.8.4-10.amzn2.1.2.x86_64
--> Running transaction check
---> Package iptables-libs.x86_64 0:1.8.4-10.amzn2.1.2 will be installed
---> Package libmnl.x86_64 0:1.0.3-7.amzn2.0.2 will be installed
---> Package libnetfilter_conntrack.x86_64 0:1.0.6-1.amzn2.0.2 will be installed
---> Package libnfnetlink.x86_64 0:1.0.1-4.amzn2.0.2 will be installed
---> Package libpcap.x86_64 14:1.5.3-11.amzn2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                   Arch      Version                Repository     Size
================================================================================
Installing:
 iproute                   x86_64    4.15.0-1.amzn2.0.4     amzn2-core    510 k
 iptables                  x86_64    1.8.4-10.amzn2.1.2     amzn2-core    476 k
Installing for dependencies:
 iptables-libs             x86_64    1.8.4-10.amzn2.1.2     amzn2-core     93 k
 libmnl                    x86_64    1.0.3-7.amzn2.0.2      amzn2-core     23 k
 libnetfilter_conntrack    x86_64    1.0.6-1.amzn2.0.2      amzn2-core     58 k
 libnfnetlink              x86_64    1.0.1-4.amzn2.0.2      amzn2-core     26 k
 libpcap                   x86_64    14:1.5.3-11.amzn2      amzn2-core    140 k

Transaction Summary
================================================================================
Install  2 Packages (+5 Dependent packages)

Total download size: 1.3 M
Installed size: 3.5 M
Downloading packages:
--------------------------------------------------------------------------------
Total                                              6.7 MB/s | 1.3 MB  00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libnfnetlink-1.0.1-4.amzn2.0.2.x86_64                        1/7
  Installing : libmnl-1.0.3-7.amzn2.0.2.x86_64                              2/7
  Installing : 14:libpcap-1.5.3-11.amzn2.x86_64                             3/7
  Installing : iptables-libs-1.8.4-10.amzn2.1.2.x86_64                      4/7
  Installing : libnetfilter_conntrack-1.0.6-1.amzn2.0.2.x86_64              5/7
  Installing : iptables-1.8.4-10.amzn2.1.2.x86_64                           6/7
  Installing : iproute-4.15.0-1.amzn2.0.4.x86_64                            7/7
  Verifying  : 14:libpcap-1.5.3-11.amzn2.x86_64                             1/7
  Verifying  : libmnl-1.0.3-7.amzn2.0.2.x86_64                              2/7
  Verifying  : libnfnetlink-1.0.1-4.amzn2.0.2.x86_64                        3/7
  Verifying  : libnetfilter_conntrack-1.0.6-1.amzn2.0.2.x86_64              4/7
  Verifying  : iproute-4.15.0-1.amzn2.0.4.x86_64                            5/7
  Verifying  : iptables-1.8.4-10.amzn2.1.2.x86_64                           6/7
  Verifying  : iptables-libs-1.8.4-10.amzn2.1.2.x86_64                      7/7

Installed:
  iproute.x86_64 0:4.15.0-1.amzn2.0.4    iptables.x86_64 0:1.8.4-10.amzn2.1.2

Dependency Installed:
  iptables-libs.x86_64 0:1.8.4-10.amzn2.1.2
  libmnl.x86_64 0:1.0.3-7.amzn2.0.2
  libnetfilter_conntrack.x86_64 0:1.0.6-1.amzn2.0.2
  libnfnetlink.x86_64 0:1.0.1-4.amzn2.0.2
  libpcap.x86_64 14:1.5.3-11.amzn2

Complete!
Loaded plugins: ovl, priorities
Cleaning repos: amzn2-core
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Removing intermediate container cdbc0e40c2c9
 ---> 61ed3bf20018
Step 17/19 : WORKDIR /app
 ---> Running in d3e2e4fce0f8
Removing intermediate container d3e2e4fce0f8
 ---> 9da63118fb8e
Step 18/19 : COPY --from=builder /go/src/github.com/aws/amazon-vpc-cni-k8s/aws-cni     /go/src/github.com/aws/amazon-vpc-cni-k8s/misc/10-aws.conflist     /go/src/github.com/aws/amazon-vpc-cni-k8s/loopback     /go/src/github.com/aws/amazon-vpc-cni-k8s/portmap     /go/src/github.com/aws/amazon-vpc-cni-k8s/bandwidth     /go/src/github.com/aws/amazon-vpc-cni-k8s/aws-cni-support.sh     /go/src/github.com/aws/amazon-vpc-cni-k8s/aws-k8s-agent      /go/src/github.com/aws/amazon-vpc-cni-k8s/grpc-health-probe     /go/src/github.com/aws/amazon-vpc-cni-k8s/scripts/entrypoint.sh /app/
 ---> 640f02c7be88
Step 19/19 : ENTRYPOINT ["/app/entrypoint.sh"]
 ---> Running in d65259e9606e
Removing intermediate container d65259e9606e
 ---> 802f5457665a
Successfully built 802f5457665a
Successfully tagged amazon/amazon-k8s-cni:v1.6.4-rc1-160-gd9d69e17-dirty
Built Docker image "amazon/amazon-k8s-cni:v1.6.4-rc1-160-gd9d69e17-dirty"

Automation added to e2e:

N/A
Will this break upgrades or downgrades. Has updating a running cluster been tested?:
N/A

Does this change require updates to the CNI daemonset config files to work?:

N/A
Does this PR introduce any user-facing change?:

N/A


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jayanthvn jayanthvn merged commit 93edc95 into aws:master Jun 15, 2021
@jayanthvn jayanthvn changed the title EC2 sdk model override EC2 sdk model override to onboard prefix delegation to master Jun 15, 2021
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.

2 participants