one_bug.txt

Stefan Catargiu, 03/14/2012 10:30 AM

Download (1.33 KB)

 
1
oneadmin@one-test:~/scripts$ onevm list
2
    ID USER     GROUP    NAME         STAT CPU     MEM        HOSTNAME        TIME
3
     0 oneadmin oneadmin TestVM       runn   0      2G        host_1    1d 22:54
4
oneadmin@one-test:~/scripts$ ssh host_1
5
oneadmin@host_1:~$ sudo virsh suspend one-0
6
Domain one-0 suspended
7

    
8
oneadmin@host_1:~$ sudo virsh list
9
 Id Name                 State
10
----------------------------------
11
  2 one-0                paused
12
oneadmin@host_1:~$ exit
13
logout
14
Connection to host_1 closed.
15
oneadmin@one-test:~/scripts$ onevm list
16
    ID USER     GROUP    NAME         STAT CPU     MEM        HOSTNAME        TIME
17
     0 oneadmin oneadmin TestVM       susp   0      2G        host_1    1d 22:54
18
oneadmin@one-test:~/scripts$ onevm resume 0
19
oneadmin@one-test:~/scripts$ onevm list
20
    ID USER     GROUP    NAME         STAT CPU     MEM        HOSTNAME        TIME
21
     0 oneadmin oneadmin TestVM       fail   0      2G                    1d 22:55
22
oneadmin@one-test:~/scripts$ ssh one_host1
23
oneadmin@host_1:~$ sudo virsh list
24
 Id Name                 State
25
----------------------------------
26
  2 one-0                paused
27
oneadmin@host_1:~$ sudo virsh resume one-0
28
Domain one-0 resumed
29

    
30
oneadmin@host_1:~$ sudo virsh list
31
 Id Name                 State
32
----------------------------------
33
  2 one-0                running