1 Reply Latest reply: Oct 14, 2012 2:33 AM by User378152 RSS

    Virtual Machine startup problem: Set CPU Cap: failed

    User378152
      Hi,

      Recently, I have installed Oracle VM Server 2.2.2 on two servers having common Repository. I've configured 3 disks as repository.

      [root@ec-vs01 ~]# /opt/ovs-agent-2.3/utils/repos.py -l
      [   ] 692dbfde-9af4-49ef-9889-f02cb2e371e5 => /dev/sdc1
      [ * ] 0e06a940-cd25-4e4d-a4a0-93afc3832a00 => /dev/sda1
      [   ] 19101310-406a-4090-89ef-1be439e531dc => /dev/sdb1

      Intallation of VM Machine also ended up without any issues. (O/S OEL 5.5).

      When I restart the Virtual Machine after o/s installation, It runs for few minutes and stopped with the following error. ( Also, the console button is not active).

      **********************************************************

      Start - /OVS/running_pool/250_ec-vptst01
      PowerOn successfully.
      Update server -10.10.140.181
      Update Port - 0.0
      Update VM Status - Running
      Configure CPU Cap
      Set CPU Cap: failed:<Exception: failed:<Exception: ['xm', 'sched-credit', '-d', '250_ec-vptst01', '-c', '0'] => Error: Domain '250_ec-vptst01' does not exist.
      >

      StackTrace:
      File "/opt/ovs-agent-2.3/OVSXXenVMConfig.py", line 2531, in xen_set_cpu_cap
      run_cmd(args=['xm',
      File "/opt/ovs-agent-2.3/OVSCommons.py", line 92, in run_cmd
      raise Exception('%s => %s' % (args, err))
      >

      StackTrace:
      File "/opt/ovs-agent-2.3/OVSSiteVMConfig.py", line 1108, in set_vm_cpu_cap
      if not rs.startswith("success"): raise Exception(rs)

      ************************************************

      if anybody resolved this issue, kindly help me.
        • 1. Re: Virtual Machine startup problem: Set CPU Cap: failed
          User378152
          Also, I've found the below.

          Even though the repos.py -l script shows 2 repositories, df -h is not showing any repository mounted on /OVS folder

          [root@ec-vs01 running_pool]# df -h
          Filesystem Size Used Avail Use% Mounted on
          /dev/cciss/c0d0p2 3.4G 982M 2.2G 31% /
          /dev/cciss/c0d0p1 99M 46M 48M 50% /boot
          tmpfs 291M 0 291M 0% /dev/shm
          none 291M 80K 291M 1% /var/lib/xenstored
          /dev/sda1 391G 8.4G 383G 3% /var/ovs/mount/0E06A940CD254E4DA4A093AFC3832A00
          /dev/sdc1 196G 2.1G 194G 2% /var/ovs/mount/692DBFDE9AF449EF9889F02CB2E371E5
          /dev/sdb1 391G 2.1G 389G 1% /var/ovs/mount/19101310406A409089EF1BE439E531DC


          The Guest VM is created under /var/ovs/mount/0E06A940CD254E4DA4A093AFC3832A00/running_pool , whereas /OVS/running_pool contains nothing.

          ls -l /OVS/running_pool/ shows nothing.

          How to mount repository on /OVS folder ?