[R4.1-106]- Automation: fix scp test cases, copy ssh-keys to VM
Bug #1758304 reported by
alok kumar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.1 |
Fix Committed
|
High
|
alok kumar | |||
Trunk |
Invalid
|
High
|
alok kumar |
Bug Description
sanity tests which uses scp between VMs are failing due to ssh keys not getting copied on VMs.
fix it as below:
1. currently fab method fab_put_file_to_vm is used to copy key to VM which infact fails.
Enhance the method copy_file_to_vm which can copy from remote to VM now and use this to copy keys from config to VM.
2. if ssh key is not available on config node, generate it.
3. copy only private key on source VM
4. copy only public key on destination VM.
To post a comment you must log in.
Review in progress for https:/ /review. opencontrail. org/41006
Submitter: alok kumar (<email address hidden>)