travis-cookbooks icon indicating copy to clipboard operation
travis-cookbooks copied to clipboard

Update default user to travis, ssh-key issue fix

Open akhileshbhople opened this issue 5 years ago • 8 comments

What is the problem that this PR is trying to fix?

The base images created using old cloud.cfg were not able to get new ssh keys provided during instance boot via openstack, this meant only single ssh key could be used to access the image which was used while the image creation. This PR sets the travis user as default user which allows the VM to get keys provided during instance boot.

What approach did you choose and why?

Modified the cloud.cfg template to set travis user as the default user, this allows new ssh-keys to be added to travis user during instance boot.

How can you make sure the change works as expected?

The changes were tested locally by creating new image and instance.

Would you like any additional feedback?

akhileshbhople avatar Mar 20 '19 08:03 akhileshbhople

@joepvd Please review the changes.

akhileshbhople avatar Mar 20 '19 08:03 akhileshbhople

Thanks! I'd like to test this with our different setups, so this does not break anything in a subtle way. I'll get back to this.

joepvd avatar Mar 20 '19 09:03 joepvd

I can confirm these changes work on the cluster at the OSUOSL.

ramereth avatar Mar 27 '19 18:03 ramereth

Hey @joepvd - Did you get a chance to validate this PR on your different setup's ?

ghatwala avatar Mar 29 '19 04:03 ghatwala

@joepvd - Any updates on above ?

ghatwala avatar Apr 08 '19 17:04 ghatwala

@joepvd any updates?

ramereth avatar Apr 22 '19 17:04 ramereth

Any updates from Travis-CI team on this PR ?

ghatwala avatar May 10 '19 14:05 ghatwala

hey @joshk - Any review comments on this ?

ghatwala avatar Jun 25 '19 09:06 ghatwala