Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

•Root domain admin user
•Root domain normal user
•Non root domain admin user
•Non root domain normal userTest cases

Please find the test execution status in the below link:

SNO

Name

Steps

Verification

Priority

Type

Status

...

1

Reset SSH keys for VM already having SSH key

1.Create a

...

VM  having SSH keyPair

...

 2. Stop the VM

...

 3. Reset SSH key pair

...

erify VM is not restarted automatically as a result of API execution

...

 User should be able to ssh into the

...

VM  using new keypair when VM is restarted

P1

Sanity

Pass

...

2

Reset SSH keys for

...

VM  created from password enabled template and already having SSH key

1.Create a VM from password enabled template

...

and  having SSH keyPair

...

 2. Stop the VM

...

 3. Reset SSH key pair

Verify VM is not restarted automatically as a result of API execution

...

 User should be able to ssh into the

...

VM  using new keypair

...

 User should be able

...

to  login into VM using new password returned

...

by  the API

P1

Sanity

...

Fail(CLOUDSTACK-1293)

3

Reset SSH key for

...

VM  having no SSH key

1.Create a

...

VM 
2. Stop the VM

...

 3. Reset SSH key pair
4.start the VM

3)Verify VM is not restarted automatically as a result of API execution
 4)User should be able to ssh into the

...

VM  using new keypair when VM is restarted

P1

Funcational

...

Pass

...

4

Reset SSH keys for

...

VM  created from password enabled template and have no previous SSH key

1.Create a VM from password enabled template
2. Stop the VM

...

 3. Reset SSH key pair

Verify VM is not restarted automatically as a result of API execution

...

 User should be able to ssh into the

...

VM  using new keypair when VM is restarted

...

 User should be able

...

to  login into VM using new password returned

...

by  the API

P1

...

Funcational

Fail(CLOUDSTACK-1293)

5

functional

...

Reset SSH keys for

...

VM  already having SSH key when VM is in running state


1.Create a

...

VM  having SSH keyPair

2. Reset SSH key pair

...

Api  returns error message VM is running

P2

Funcational

...

Pass

...

6

Reset SSH keys for

...

VM  created from password enabled template and already having SSH

...

key  and VM is in running state

...

APi returns error message Vm is running

P2

functional

yes

...

id : The ID of the virtual machine
name: name of the ssh keypair
account: Account name of owner
domainid: Domain ID of owner

1.Create a

...

VM  having SSH keyPair

2.

...

Reset SSH key pair

...


APi returns error message Vm is running

P2

Funcational

Pass

7

Verify API resetSSHKeyForVirtualMachine for non

Verify VM is not restarted automatically as a result of API execution
User should be able to ssh into the VM using new keypair when VM is restarted

P2

functional

yes

Verif API resetSSHKeyForVirtualMachine with incorrect parameters

P3

functional negative

yes

...

admin non root domain user
 
    id : The ID of the virtual machine
     name: name of the ssh keypair
     account: Account name of owner
     domainid: Domain ID of owner

1.Create a

...

VM  for

...

non admin non root domain user

...

 2. Stop the VM

...

 3. Reset SSH key pair for

...

non admin non root domain user

Verify VM is not restarted automatically as a result of API execution

...

 User should be able to ssh into the

...

VM  using new keypair when VM is restarted

P2

...

Funcational

yes

Verif API resetSSHKeyForVirtualMachine for admin and root domain

id : The ID of the virtual machine
name: name of the ssh keypair
account: Account name of owner
domainid: Domain ID of owner

1.Create a VM for root domain admin
2. Stop the VM
3. Reset SSH key pair for root domain admin

Verify VM is not restarted automatically as a result of API execution
User should be able to ssh into the VM using new keypair when VM is restarted

P2

functional

Pass

Reset_SSHKeys_Testexecutionyes