← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1968360] [NEW] jammy daily won't accept EC2 publickey (suspect cloud-init failure)

 

Public bug reported:

amazon-ebs: output will be in this color.

==> amazon-ebs: Prevalidating any provided VPC information
==> amazon-ebs: Prevalidating AMI Name: packer-honeycomb-arm-1649438444
    amazon-ebs: Found Image ID: ami-03c980393156217bb
==> amazon-ebs: Creating temporary keypair: packer_62506eec-8c01-8c21-b199-32a96021bd7a
==> amazon-ebs: Creating temporary security group for this instance: packer_62506eee-c3da-1eb2-6e81-baa0c5ccfdfc
==> amazon-ebs: Authorizing access to port 22 from [0.0.0.0/0] in the temporary security groups...
==> amazon-ebs: Launching a source AWS instance...
==> amazon-ebs: Adding tags to source instance
    amazon-ebs: Adding tag: "Name": "Packer Builder"
    amazon-ebs: Instance ID: i-01158f222c8664f0c
==> amazon-ebs: Waiting for instance (i-01158f222c8664f0c) to become ready...
==> amazon-ebs: Using SSH communicator to connect: 54.173.181.221
==> amazon-ebs: Waiting for SSH to become available...
==> amazon-ebs: Error waiting for SSH: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: Cleaning up any extra volumes...
==> amazon-ebs: No volumes to clean up, skipping
==> amazon-ebs: Deleting temporary security group...
==> amazon-ebs: Deleting temporary keypair...
Build 'amazon-ebs' errored after 2 minutes 42 seconds: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

==> Wait completed after 2 minutes 42 seconds

==> Some builds didn't complete successfully and had errors:
--> amazon-ebs: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

==> Builds finished but no artifacts were created.

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1968360

Title:
  jammy daily won't accept EC2 publickey (suspect cloud-init failure)

Status in cloud-init:
  New

Bug description:
  amazon-ebs: output will be in this color.

  ==> amazon-ebs: Prevalidating any provided VPC information
  ==> amazon-ebs: Prevalidating AMI Name: packer-honeycomb-arm-1649438444
      amazon-ebs: Found Image ID: ami-03c980393156217bb
  ==> amazon-ebs: Creating temporary keypair: packer_62506eec-8c01-8c21-b199-32a96021bd7a
  ==> amazon-ebs: Creating temporary security group for this instance: packer_62506eee-c3da-1eb2-6e81-baa0c5ccfdfc
  ==> amazon-ebs: Authorizing access to port 22 from [0.0.0.0/0] in the temporary security groups...
  ==> amazon-ebs: Launching a source AWS instance...
  ==> amazon-ebs: Adding tags to source instance
      amazon-ebs: Adding tag: "Name": "Packer Builder"
      amazon-ebs: Instance ID: i-01158f222c8664f0c
  ==> amazon-ebs: Waiting for instance (i-01158f222c8664f0c) to become ready...
  ==> amazon-ebs: Using SSH communicator to connect: 54.173.181.221
  ==> amazon-ebs: Waiting for SSH to become available...
  ==> amazon-ebs: Error waiting for SSH: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
  ==> amazon-ebs: Terminating the source AWS instance...
  ==> amazon-ebs: Cleaning up any extra volumes...
  ==> amazon-ebs: No volumes to clean up, skipping
  ==> amazon-ebs: Deleting temporary security group...
  ==> amazon-ebs: Deleting temporary keypair...
  Build 'amazon-ebs' errored after 2 minutes 42 seconds: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

  ==> Wait completed after 2 minutes 42 seconds

  ==> Some builds didn't complete successfully and had errors:
  --> amazon-ebs: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

  ==> Builds finished but no artifacts were created.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1968360/+subscriptions



Follow ups