Skip to content

Conversation

@wking
Copy link
Member

@wking wking commented Aug 17, 2018

37f623c (#127) replaced our old key-pair upload with the TF_VAR_tectonic_admin_ssh_key export, and updated the message from "Uploading SSH key-pair to AWS..." to our current "Generation SSH key-pair..." message. But while we used to always upload a key to AWS, we've only ever generated a new key if ~/.ssh/id_rsa.pub was missing. This commit moves the Generating... mesage into the if block to avoid freaking out callers who may think we're clobbering their SSH key ;).

While I'm in the area, I've also dropped the SSH variable and its associated SC2034 (unused variable) disable. The output of ssh-keygen isn't particularly interesting, so I've just set -q to quiet it instead. We'd had the old SSH and SC2034 disable since the script landed in a2405e4 (coreos/tectonic-installer#3284).

37f623c (*: unify handling of ssh keys, 2018-08-14, openshift#127) replaced
our old key-pair upload with the TF_VAR_tectonic_admin_ssh_key export,
and updated the message from "Uploading SSH key-pair to AWS..." to our
current "Generation SSH key-pair..." message.  But while we used to
*always* upload a key to AWS, we've only ever generated a new key if
~/.ssh/id_rsa.pub was missing.  This commit moves the
Generating... mesage into the if block to avoid freaking out callers
who may think we're clobbering their SSH key ;).

While I'm in the area, I've also dropped the SSH variable and its
associated SC2034 (unused variable) disable.  The output of ssh-keygen
isn't particularly interesting, so I've just set -q to quiet it
instead.  We'd had the old SSH and SC2034 disable since the script
landed in a2405e4 (run smoke tests with bash script, 2018-06-18,
coreos/tectonic-installer#3284).
@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 17, 2018
@crawford
Copy link
Contributor

Oops.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 21, 2018
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: crawford, wking

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@wking
Copy link
Member Author

wking commented Aug 23, 2018

#151 should have unblocked the e2e-aws issue.

/retest

@wking
Copy link
Member Author

wking commented Aug 23, 2018

The e2e-aws error was:

6 error(s) occurred:

* module.vpc.aws_eip.nat_eip[2]: 1 error(s) occurred:

* aws_eip.nat_eip.2: Error creating EIP: AddressLimitExceeded: The maximum number of addresses has been reached.
	status code: 400, request id: ffa7da50-ab6a-43bf-9bde-54afd83d87ef
* module.vpc.aws_eip.nat_eip[3]: 1 error(s) occurred:

* aws_eip.nat_eip.3: Error creating EIP: AddressLimitExceeded: The maximum number of addresses has been reached.
	status code: 400, request id: de018e6f-9bfd-4d5f-a0e4-3b6ec56b38e9
* module.vpc.aws_eip.nat_eip[0]: 1 error(s) occurred:

* aws_eip.nat_eip.0: Error creating EIP: AddressLimitExceeded: The maximum number of addresses has been reached.
	status code: 400, request id: 47c80f30-062a-43f2-a0f0-78c2681c93bc
* module.vpc.aws_eip.nat_eip[4]: 1 error(s) occurred:

* aws_eip.nat_eip.4: Error creating EIP: AddressLimitExceeded: The maximum number of addresses has been reached.
	status code: 400, request id: 585b83d8-1b53-4983-bbdf-cff83a98c1c5
* module.vpc.aws_eip.nat_eip[1]: 1 error(s) occurred:

* aws_eip.nat_eip.1: Error creating EIP: AddressLimitExceeded: The maximum number of addresses has been reached.
	status code: 400, request id: e565e236-8cb9-4baf-bc0e-2d852dca1499
* module.vpc.aws_eip.nat_eip[5]: 1 error(s) occurred:

* aws_eip.nat_eip.5: Error creating EIP: AddressLimitExceeded: The maximum number of addresses has been reached.
	status code: 400, request id: 91d4ef36-580d-4489-a473-d0a5f98e12bd

That's from the thundering herd of PRs getting retested now that #151 has landed. I'll wait until the others finish, run a cleanup round, and rekick the tests here.

@wking
Copy link
Member Author

wking commented Aug 24, 2018

/retest

@openshift-merge-robot openshift-merge-robot merged commit 7cb21c3 into openshift:master Aug 24, 2018
@wking wking deleted the move-ssh-key-generation-echo branch August 24, 2018 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants