Re: [one-users] VNC problem from Sunstone interface

2012-11-07 Thread Jan Benadik
ot;Sunstone Server is still running
  (PID:$SUNSTONEPID). Please "
      echo "try 'sunstone-server stop' first."
      exit 1
    fi
      fi
      echo "Stale .lock detected. Erasing it."
      rm $SUNSTONE_LOCK_FILE
    fi
  }
  
  start()
  {
    if [ ! -f "$SUNSTONE_SERVER" ]; then
      echo "Cannot find $SUNSTONE_SERVER."
      exit 1
    fi
  
    # Start the sunstone daemon
    touch $SUNSTONE_LOCK_FILE
    ruby $SUNSTONE_SERVER  $SUNSTONE_LOG
  2$SUNSTONE_LOG_ERROR 
    LASTPID=$!
  
    if [ $? -ne 0 ]; then
      echo "Error executing sunstone-server."
      echo "Check $SUNSTONE_LOG_ERROR and $SUNSTONE_LOG for more
  information"
      exit 1
    else
      echo $LASTPID  $SUNSTONE_PID
    fi
  
    sleep 1
    ps $LASTPID  /dev/null
  
    if [ $? -ne 0 ]; then
      echo "Error executing sunstone-server."
      echo "Check $SUNSTONE_LOG_ERROR and $SUNSTONE_LOG for more
  information"
      exit 1
    fi
  
    echo "sunstone-server started"
  }
  #
  # Function that stops the daemon/service
  #
  stop()
  {
    if [ ! -f $SUNSTONE_PID ]; then
      echo "Couldn't find sunstone-server process pid."
      exit 1
    fi
  
    # Kill the sunstone daemon
    kill -INT `cat $SUNSTONE_PID`  /dev/null
  
    # Remove pid files
    rm -f $SUNSTONE_LOCK_FILE  /dev/null
    rm -f $SUNSTONE_PID  /dev/null
  
    echo "sunstone-server stopped"
  }
  
  case "$1" in
    start)
      setup
      start
      ;;
    stop)
      stop
      ;;
    restart)
      stop
      setup
      start
      ;;
    *)
      echo "Usage: sunstone-server {start|stop|restart}" 2
      exit 3
      ;;
  esac



Jan


  
  
  and see if it says something interesting to the console when
you are trying to connect to the VM.

  
  
  Hector
  
  
  
  
  On Wed, 07 Nov 2012 08:01:52 +0100, Jan Benadik
jan.bena...@atos.net wrote:
  
  
   Hi, 
here are my python processes in different situations:

1. sunstone and OCCI server stopped
oneadmin@myto-node:~$ ps aux|grep python
  oneadmin  1395  0.0  0.0   9516   912 pts/0    S+   07:48  
  0:00 grep python
  nova  5838  0.0  0.2 118608 23796 ?    S    Nov06  
  0:02 python /usr/bin/nova-novncproxy
  --flagfile=/etc/nova/nova.conf --web /usr/share/novnc/

2. sunstone started, OCCI stopped
oneadmin@myto-node:~$ ps aux|grep python
  oneadmin  1412  6.5  0.1  93060 16808 pts/0    S    07:49  
  0:00 python /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/sunstone_vnc_tokens 29876
  oneadmin  1415  0.0  0.0   9516   908 pts/0    S+   07:49  
  0:00 grep python
  nova  5838  0.0  0.2 118608 23796 ?    S    Nov06  
  0:02 python /usr/bin/nova-novncproxy
  --flagfile=/etc/nova/nova.conf --web /usr/share/novnc/

3. sunstone and OCCI started
oneadmin@myto-node:~$ ps aux|grep python
  oneadmin  1412  0.2  0.1  93060 16808 pts/0    S    07:49  
  0:00 python /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/sunstone_vnc_tokens 29876
  oneadmin  1434  4.6  0.1  93056 16808 pts/0    S    07:50  
  0:00 python /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/selfservice_vnc_tokens 33876
  oneadmin  1437  0.0  0.0   9520   908 pts/0    S+   07:50  
  0:00 grep python
  nova  5838  0.0  0.2 118608 23796 ?    S    Nov06  
  0:02 python /usr/bin/nova-novncproxy
  --flagfile=/etc/nova/nova.conf --web /usr/share/novnc/

4. sunstone and OCCI started, VNC session via OCCI
  established
oneadmin@myto-node:~$ ps aux|grep python
  oneadmin  1412  0.0  0.1  93060 16808 pts/0    S    07:49  
  0:00 python /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/sunstone_vnc_tokens 29876
  oneadmin  1434  0.1  0.1  93056 16912 pts/0    S    07:50  
  0:00 python /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/selfservice_vnc_tokens 33876
  oneadmin  1833  0.0  0.1  95288 14456 pts/0    S    07:52  
  0:00 python /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/sel

Re: [one-users] VNC problem from Sunstone interface

2012-11-07 Thread Jan Benadik

  
  
YES! This was the issue ...

There was set VNC_WSS="YES" for oneadmin user, I changed it to "NO",
restarted sunstone and everything works.

Thanks!

By the way - I'm sure I didn't change this properties anytime - did
it changed from ONE version 3.8?

Jan


Dňa 07.11.2012 21:43, Hector Sanjuan
  wrote / napísal(a):


  
  
  Somehow it is trying to connect with wss :S:
  
  
  10.0.1.125: SSL connection but '/var/lib/one/self.pem' not
found
  
  
  On sunstone, can you check your user properties (users tab
- select user - update properties).
  
  
  In the user template, is there a VNC_WSS variable set? To
what value? If so, can you delete it? Reload the sunstone page,
logout, login and retry?
  
  
  Hector
  
  
  On Wed, 07 Nov 2012 10:09:31 +0100, Jan Benadik
jan.bena...@atos.net wrote:
  
  
   
Dňa 07.11.2012 08:18, Hector
  Sanjuan wrote / napísal(a):


  
  Any chance the "Use Secure WSS" is checked in sunstone
config? Can you check/uncheck and retry with it unchecked
just in case?


Secure WSS wasn't checked, but I tried to check/uncheck and run
once again with unchecked - nothing changed :-(

  
  
  Otherwise, kill your sunstone proxy and restart it
manually:
  
  
  python
  /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/sunstone_vnc_tokens 29876


1. sunstone stopped, occi stopped
oneadmin@myto-node:~$ ps aux|grep py
oneadmin 12456  0.0  0.0   9516   904 pts/2    S+   09:56   0:00
grep py

2. 
oneadmin@myto-node:/etc/one$ python
/usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/sunstone_vnc_tokens 29876
WebSocket server settings:
  - Listen on :29876
  - Flash security policy server
  - No SSL/TLS support (no cert file)
  - proxying from :29876 to targets in
/var/lib/one/sunstone_vnc_tokens

oneadmin@myto-node:~$ ps aux|grep py
oneadmin 12457  0.5  0.1  93056 16800 pts/1    S+   09:57   0:00
python /usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/sunstone_vnc_tokens 29876
oneadmin 12460  0.0  0.0   9516   908 pts/2    S+   09:57   0:00
grep py


3. oneadmin@myto-node:~$ sunstone-server start
sunstone-server started

oneadmin@myto-node:~$ ps aux|grep py
oneadmin 12457  0.1  0.1  93056 16800 pts/1    S+   09:57   0:00
python /usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/sunstone_vnc_tokens 29876
oneadmin 12481  0.9  0.0  0 0 pts/2    Z    09:58   0:00
[python] defunct
oneadmin 12484  0.0  0.0   9516   908 pts/2    S+   09:58   0:00
grep py

Here seems to be an issue - if websockify process runs in
  time of sunstone is starting - python process is defunct.
If a defunct python proces exist in system, VNC server is
disconnected immediately and 10 lines is added to websockify
console:

oneadmin@myto-node:~$ python
  /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/sunstone_vnc_tokens 29876
  WebSocket server settings:
    - Listen on :29876
    - Flash security policy server
    - No SSL/TLS support (no cert file)
    - proxying from :29876 to targets in
  /var/lib/one/sunstone_vnc_tokens
   
  1: 10.0.1.125: SSL connection but
  '/var/lib/one/self.pem' not found
    2: 10.0.1.125: SSL connection but '/var/lib/one/self.pem'
  not found
    3: 10.0.1.125: SSL connection but '/var/lib/one/self.pem'
  not found
    4: 10.0.1.125: SSL connection but '/var/lib/one/self.pem'
  not found
    5: 10.0.1.125: SSL connection but '/var/lib/one/self.pem'
  not found
    6: 10.0.1.125: SSL connection but '/var/lib/one/self.pem'
  not found
    7: 10.0.1.125: SSL connection but '/var/lib/one/self.pem'
  not found
    8: 10.0.1.125: SSL connection but '/var/lib/one/self.pem'
  not found
    9: 10.0.1.125: SSL connection but '/var/lib/one/self.pem'
  not found
   10: 10.0.1.125: SSL connection but '/var/lib/one/self.pem'
  not found

In /etc/one/sunstone-server there is:
:vnc_proxy_base_port: 29876
:vnc_proxy_path:

[one-users] VNC problem from Sunstone interface

2012-11-06 Thread Jan Benadik

  
  
Hi all,

I have a problem to start VNC session from Sunstone interface.

I have Ubuntu 12.04 Server with Opennebula 3.8.1 installed, the
newest version of noVNC (no error message), restarted oned,
sunstone-server and occi-server too. 

After restarting, the python processes are:
oneadmin@myto-node:/usr/share/opennebula$ ps aux|grep
python
nova  5838  0.0  0.2 118608 23796 ?    S    09:56   0:00
python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf
--web /usr/share/novnc/
oneadmin  6835  0.4  0.1  93068 16816 pts/1    S    10:09   0:00
python /usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/sunstone_vnc_tokens 29876
oneadmin  6857  0.7  0.1  93064 16820 pts/1    S    10:09   0:00
python /usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/selfservice_vnc_tokens 33876
oneadmin  6869  0.0  0.0   9516   908 pts/1    S+   10:10   0:00
grep python

When I try to start VNC session from OCCI interface - everything
  works, VNC session is established.
If I try to start VNC session to the same VM from SUNSTONE
interface, a message "Server disconnected (code: 1006)" occurs
immediately and python processes are changed:
oneadmin@myto-node:/usr/share/opennebula$ ps aux|grep
python
nova  5838  0.0  0.2 118608 23796 ?    S    09:56   0:00
python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf
--web /usr/share/novnc/
oneadmin  6835  0.2  0.1  93068 16920 pts/1    S    10:09   0:00
python /usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/sunstone_vnc_tokens 29876
oneadmin  6857  0.3  0.1  93064 16820 pts/1    S    10:09   0:00
python /usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/selfservice_vnc_tokens 33876
oneadmin  6942  0.0  0.0  0 0 pts/1    Z    10:10   0:00
[python] defunct
oneadmin  6944  0.0  0.0   9516   912 pts/1    S+   10:10   0:00
grep python
  
File /var/log/one/sunstone.error is empty, 
the file /var/log/one/sunstone.log starts with:
--
 Server configuration
--
{:vnc_proxy_cert=nil,
 :vnc_proxy_support_wss=false,
 :vnc_proxy_path="/usr/share/opennebula/websockify/websocketproxy.py",
 :_one_xmlrpc_="http://localhost:2633/RPC2",
 :vnc_proxy_base_port=29876,
 :vnc_proxy_key=nil,
 :core_auth="cipher",
 :host="0.0.0.0",
 :tmpdir="/var/tmp/one",
 :marketplace_url="https://marketplace.c12g.com/appliance",
 :debug_level=3,
 :port=9869,
 :lang="en_US",
 :auth="sunstone"}
Tue Nov 06 10:09:42 2012 [I]: Starting VNC proxy: python
/usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/sunstone_vnc_tokens  29876

and ends with:
Tue Nov 06 10:27:12 2012 [I]: 10.0.1.125 - - [06/Nov/2012
10:27:12] "POST /vm/88/startvnc HTTP/1.1" 200 48 0.0068
Tue Nov 06 10:27:12 2012 [I]: 10.0.1.125 - - [06/Nov/2012
10:27:12] "GET /user?timeout=true HTTP/1.1" 200 3416 0.0062
Tue Nov 06 10:27:13 2012 [I]: 10.0.1.125 - - [06/Nov/2012
10:27:13] "GET /vm?timeout=true HTTP/1.1" 200 24160 0.0203
Tue Nov 06 10:27:15 2012 [I]: 10.0.1.125 - - [06/Nov/2012
10:27:15] "GET /cluster?timeout=true HTTP/1.1" 200 338 0.0038
Tue Nov 06 10:27:26 2012 [I]: 10.0.1.125 - - [06/Nov/2012
10:27:26] "GET /image?timeout=true HTTP/1.1" 200 14143 0.0757
  
Paths to files looks to be correct - which could be an issue?

Jan

-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  mobile: +421 903 691 634
  fax: +421 2 6852 8380
  jan.bena...@atos.net
  Vinohradnicka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 
  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VNC problem from Sunstone interface

2012-11-06 Thread Jan Benadik

  
  
Hi, 
here are my python processes in different situations:

1. sunstone and OCCI server stopped
oneadmin@myto-node:~$ ps aux|grep python
  oneadmin  1395  0.0  0.0   9516   912 pts/0    S+   07:48   0:00
  grep python
  nova  5838  0.0  0.2 118608 23796 ?    S    Nov06   0:02
  python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf
  --web /usr/share/novnc/

2. sunstone started, OCCI stopped
oneadmin@myto-node:~$ ps aux|grep python
  oneadmin  1412  6.5  0.1  93060 16808 pts/0    S    07:49   0:00
  python /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/sunstone_vnc_tokens 29876
  oneadmin  1415  0.0  0.0   9516   908 pts/0    S+   07:49   0:00
  grep python
  nova  5838  0.0  0.2 118608 23796 ?    S    Nov06   0:02
  python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf
  --web /usr/share/novnc/

3. sunstone and OCCI started
oneadmin@myto-node:~$ ps aux|grep python
  oneadmin  1412  0.2  0.1  93060 16808 pts/0    S    07:49   0:00
  python /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/sunstone_vnc_tokens 29876
  oneadmin  1434  4.6  0.1  93056 16808 pts/0    S    07:50   0:00
  python /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/selfservice_vnc_tokens 33876
  oneadmin  1437  0.0  0.0   9520   908 pts/0    S+   07:50   0:00
  grep python
  nova  5838  0.0  0.2 118608 23796 ?    S    Nov06   0:02
  python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf
  --web /usr/share/novnc/

4. sunstone and OCCI started, VNC session via OCCI
  established
oneadmin@myto-node:~$ ps aux|grep python
  oneadmin  1412  0.0  0.1  93060 16808 pts/0    S    07:49   0:00
  python /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/sunstone_vnc_tokens 29876
  oneadmin  1434  0.1  0.1  93056 16912 pts/0    S    07:50   0:00
  python /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/selfservice_vnc_tokens 33876
  oneadmin  1833  0.0  0.1  95288 14456 pts/0    S    07:52   0:00
  python /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/selfservice_vnc_tokens 33876
  oneadmin  1835  0.0  0.0   9520   912 pts/0    S+   07:52   0:00
  grep python
  nova  5838  0.0  0.2 118608 23796 ?    S    Nov06   0:02
  python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf
  --web /usr/share/novnc/

5. sunstone and OCCI started, VNC session via sunstone try to
  establish (with error message :Server disconnected (code: 1006)
  displayed)
oneadmin  1833  0.0  0.0  0 0 pts/0    Z    07:52  
  0:00 [python] defunct
  oneadmin  1927  0.0  0.0  0 0 pts/0    Z    07:53   0:00
  [python] defunct
  oneadmin  1938  0.0  0.0   9520   912 pts/0    S+   07:53   0:00
  grep python
  nova  5838  0.0  0.2 118608 23796 ?    S    Nov06   0:02
  python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf
  --web /usr/share/novnc/

6. the same as 5., but after error message closing
oneadmin@myto-node:~$ ps aux|grep python
  oneadmin  1412  0.0  0.1  93060 16912 pts/0    S    07:49   0:00
  python /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/sunstone_vnc_tokens 29876
  oneadmin  1434  0.0  0.1  93056 16912 pts/0    S    07:50   0:00
  python /usr/share/opennebula/websockify/websocketproxy.py
  --target-config=/var/lib/one/selfservice_vnc_tokens 33876
  oneadmin  1833  0.0  0.0  0 0 pts/0    Z    07:52   0:00
  [python] defunct
  oneadmin  1927  0.0  0.0  0 0 pts/0    Z    07:53   0:00
  [python] defunct
  oneadmin  2016  0.0  0.0   9520   908 pts/0    S+   07:55   0:00
  grep python
  nova  5838  0.0  0.2 118608 23796 ?    S    Nov06   0:02
  python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf
  --web /usr/share/novnc/


File /var/log/one/sunstone.error is still empty.

Jan


Dňa 06.11.2012 19:53, Hector Sanjuan
  wrote / napísal(a):


  
  
  Is there any suspicious python process still running after
stopping sunstone that might be taking the 33876 port?
  
  
  (im seeing oneadmin 6942 0.0 0.0 0 0 pts/1 Z 10:10 0:00
[python] defunct)
  
  
  Anything in sunstone.error maybe?
  
  
  Hector
  
  
  On Tue, 06 Nov 2012 10:43:30 +0100, Jan Benadik
jan.bena...@atos.net wrote:
  
  
   Hi all,

I have a problem to start VNC session from Sunstone interface.

I have Ubuntu 12.04 Server with Opennebula 3.8.1

Re: [one-users] Saveas error in 3.6

2012-11-05 Thread Jan Benadik

  
  
Hi,

if I'm right, this is because of ACPI parameter is missing in your
template:

FEATURES=[
  ACPI="yes" ]


Jan


Dňa 05.11.2012 15:24, Zeeshan Ali Shah
  wrote / napísal(a):


  
Strange error when saveas vm running 3.6 

ERROR=[
  MESSAGE="Error shuting down VM: Timed out shutting down one-42",


Oneimage show image but in Lock and not file exist in location . VM after shutdown turns into running state but with above error

any hint ?

Zeeshan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  mobile: +421 903 691 634
  fax: +421 2 6852 8380
  jan.bena...@atos.net
  Vinohradnicka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 
  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Stuck in PROLOG state

2012-10-31 Thread Jan Benadik

  
  
Hi,

maybe you are not stucked ...
Check the size of datafile 
node3:/var/lib/one//datastores/0/17/disk.0

  If is
  continuously increasing, everything works, but NFS is t
  slow :-)
  (if target size is 30B, it can takes a hours, depends on
  system performance ...).

  Jan

  
Dňa 30.10.2012 15:08, Markus wrote /
  napísal(a):


  
  Hello,
  

  I'm running a small
  infrastructure consisting of 3 hosts and 1 Frontend including
  NFS share. When checking via terminal, I have access to the
  shared folder /var/lib/one/datastores, I am also able to
  create files and then display them on all hosts via the share.
  But when I start a VM creation
  process, I stuck in the PROLOG state. The TM command executed
  is 
  CLONE
  shared
  frontend:/var/lib/one/datastores/1/d93bd5f4146e8e1ca2fba35e4cb9edb3
  node3:/var/lib/one//datastores/0/17/disk.0 17 1
  

  After that, nothing is
  responding anymore, I can't even access the datastore
  directory at the host any more. Has anybody a clue?
  

  Thanks, Markus
  
  
  
  ___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  mobile: +421 903 691 634
  fax: +421 2 6852 8380
  jan.bena...@atos.net
  Vinohradnicka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 
  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] A new feature idea

2012-10-04 Thread Jan Benadik

  
  
Hi all,

what do you think - could be interesting to have (in next version of
OpenNebula) possibility to create a group of resources with priority
to start?

For example:
- I have VM's for DNS, AP, DB
- I want to start all servers - the DNS VM need to start first, DB
VM starts after and AP VM start the last (or I will have possibility
to set delay between start-ups of VM's)
- could be nice to have possibility to group that VM's and start
whole group in one click (or restart whole group in right order in
case of failure)

J.B.

-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  mobile: +421 903 691 634
  fax: +421 2 6852 8380
  jan.bena...@atos.net
  Vinohradnicka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 
  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] The type of processor required for OpenNebula setup

2012-09-19 Thread Jan Benadik

  
  
You need 64-bit CPU with virtualization support in it (doesn't
matter if AMD or Intel - it's compatible).

To check, if virtualization support is in CPU (checked flag "vmx" or
"svm" has to be in output), run as root:
for AMD CPU:
egrep vmx /proc/cpuinfo

for Intel CPU:
egrep svm /proc/cpuinfo

In positive case the output looks like:
[root@redhat proc]# egrep vmx /proc/cpuinfo
  flags        : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge
  mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
  syscall nx lm constant_tsc arch_perfmon pebs bts rep_good
  aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
  cx16 xtpr pdcm sse4_1 xsave lahf_lm ida dts tpr_shadow vnmi
  flexpriority
  flags        : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge
  mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
  syscall nx lm constant_tsc arch_perfmon pebs bts rep_good
  aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
  cx16 xtpr pdcm sse4_1 xsave lahf_lm ida dts tpr_shadow vnmi
  flexpriority

Jan

Dňa 19.09.2012 12:49, Qiubo Su (David
  Su) wrote / napísal(a):


  
  Dear OpenNebula Team,
  
  I want to download OpenNebula and see there are options like
  OpenNebula 3.2.1 Ubuntu 10.0.4 amd64 and OpenNebula 3.2.1 CentOS
  6.0 x86_64.
  
  For OpenNebula 3.2.1 Ubuntu 10.0.4 amd64, we have to buy AMD
  processor, but for OpenNebula 3.2.1 CentOS 6.0 x86_64, what type
  of processor should we buy?
  
  Thanks,
  Q.S.
  
  
  
  ___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  mobile: +421 903 691 634
  fax: +421 2 6852 8380
  jan.bena...@atos.net
  Vinohradnicka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 
  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Suggestion of possibility feature

2012-09-18 Thread Jan Benadik

  
  
Hi all,

I suggest to implement a feature in some next release:

- time frame defined running state (when VM is deployed, it can be
specified to run and stop it at certain time, i.e. start daily at
6.00 AM and stop 20.00 PM in working days only OR deployment of VM
for time limited period - i.e. 2 months - and after that period VM
will be stopped / deleted automatically).
- more detailed granularity for oneacct reports (number of minutes
VM is running, number of CPU cores)
- export in csv format (or - at least - data column in data format
...)


Jan
-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  mobile: +421 903 691 634
  fax: +421 2 6852 8380
  jan.bena...@atos.net
  Vinohradnicka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 
  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] double cdroms

2012-08-08 Thread Jan Benadik

  
  
Hi,

change parameter
OS=[

  ARCH="x86_64",

  BOOT="hd" ]


to 

OS=[

  ARCH="x86_64",

  BOOT="CDROM" ]


Jan


Dňa 08.08.2012 00:50, Jurgen Weber
  wrote / napísal(a):

Mark
  
  
  Thank you very much, one of those conceptual things in which I
  have missed.
  
  
  Ok, so the VM starts I am looking at the VNC session.
  
  
  its just an in infinite loop of rebooting.. I can see the BIOS
  flash up. It says the disk is not bootable (which of course it
  isn't yet, nothing on it). I can see the first line of the boot CD
  come up, and then it reboots again.
  
  
  any ideas?
  
  
  Nothing in logs.
  
  
  Jurgen
  
  On 08/08/12 08:18, Mark Wagner wrote:
  
  

On 08/07/2012 03:05 PM, Jurgen Weber wrote:


  
  CONTEXT=[
  
    HOSTNAME="aether" ]
  
  ...
  
  As you can see, there are two CDROMs, why!? it is not in my
  template! it creates one randomly and for no reason. I read
  somewhere KVM does not support 2x CDROMs so this has be
  baffled.
  
  


When you set a context a CDROM device is automatically created
with contextualization information. See
http://opennebula.org/documentation:rel3.6:cong#generic_contextualization
(the same holds true for 3.4).





  
  


-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 
  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] sunstone noVNC - connect timeout

2012-07-31 Thread Jan Benadik

  
  
Hi jakub,

I have had the similar problem - an issue was browser (in that case
Chromium). In Firefox and vncviewer everything works, in Chromium
not ...
Which kind of browser do you use?

Jan

Dňa 30.07.2012 19:27, Jakub Kaláb wrote
  / napísal(a):


  
  Hello,
  I'm having a problem with the opennebula sunstone vnc feature.
  When I try to connect to the server using the vnc button, it opens
  the window and after a short while "connect timeout" message
  appears. First I tried to connect to the host vnc with vncviewer
  and it works allright, so there should be no firewall problems. So
  I played a bit with the sunstone configuration. I set
  :vnc_proxy_base_port: 0 in the sunstone.conf so that the noVNC
  proxy port on the sunstone server is the same as the remote one. I
  then restarted sunstone and watched the sunstone.log while I tried
  to use the vnc again, this line appeared in the log (and I got the
  "connect timeout" message again):
  
   Mon Jul 30
  18:22:56 2012 [I]: Starting vnc proxy:
  /usr/share/one/noVNC/utils/websockify 5904 node3:5904
  
  Then I checked these:
  
  root@nebula # netstat --ip -lnp | grep 5904
  tcp    0  0 0.0.0.0:5904   
  0.0.0.0:*   LISTEN  7534/python
  
  root@nebula # ps u -p 7534
  USER   PID %CPU %MEM    VSZ   RSS TTY  STAT START   TIME
  COMMAND
  root  7534  0.1  1.6  92924 16724 pts/1    S    19:11   0:00
  python /usr/share/one/noVNC/utils/websockify 5904 node3:5904
  
  so the noVNC proxy opened the port correctly, but while I can
  connect to the remote host correctly (using the vncviewer), when I
  try to connect to this proxied port, I get the following:
  
   root@nebula #
  vncviewer localhost:4
  VNC Viewer Free Edition 4.1.1 for X - built Feb  5 2012 20:01:21
  
  Mon Jul 30 19:16:29 2012
   CConn:   connected to host localhost port 5904
  
  Mon Jul 30 19:16:32 2012
   main:    End of stream
   
  it does connect, so the proxy is partly working, but then the
  stream ends before the video transmission starts. What should I do
  to solve this kind of problem? Have I missed something?
  
  Just for completeness, this is my sunstone.conf:
  
  root@nebula:/usr/share/one# cat /etc/one/sunstone-server.conf |
  egrep -v '^#|^$'
  :one_xmlrpc: http://localhost:2633/RPC2
  host: 0.0.0.0
  :port: 9869
  :debug_level: 3
  :auth: sunstone
  :core_auth: cipher
  :vnc_proxy_base_port: 0
  :vnc_proxy_path: /usr/share/one/noVNC/utils/websockify
  :vnc_proxy_support_wss: no
  :vnc_proxy_cert:
  :vnc_proxy_key:
  :lang: en_US
  
  and the graphics part of the template of the VM I tried it on:
  GRAPHICS=[
    LISTEN="0.0.0.0",
    PORT="5904",
    TYPE="vnc" ]
  
  Thank you. Jakub
  
  
  
  ___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 
  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Creating snapshot of VM

2012-07-20 Thread Jan Benadik

  
  
Hi all,

I tried to made a snapshot of VM, I can see it in the Sunstone UI
(as "locked" image) and message in oned.log:

Fri Jul 20 15:23:34 2012 [ImM][I]: Creating disk at  of
  10240Mb (type: save_as)
  Fri Jul 20 15:23:34 2012 [ImG][D]: Message received: LOG I 31
  ExitCode: 0
  Fri Jul 20 15:23:34 2012 [ImM][I]: ExitCode: 0
  Fri Jul 20 15:23:34 2012 [ImG][D]: Message received: MKFS SUCCESS
  31 /var/lib/one/datastores/1/dd0c53b3ba19e88c4131c402df066384
  

But folder /var/lib/one/datastores/1 is empty - why?

Jan

-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 
  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Live migration doesn't work _ SOLVED

2012-07-18 Thread Jan Benadik

  
  
This error description in oned.log is a little bit confused.
The issue was - wrong DNS resolving (or - to be honest - my mistake
in /etc/hosts).

Live migration works well if IP and names are set correctly.

Jan

Dňa 18.07.2012 10:57, haseni...@gmx.de
  wrote / napísal(a):


  
Hi,

please have look in the libvirtd.log. (less /var/log/libvirt/libvirtd.log)
Maybe you have some permission-problems or somethinge else.

Best regards

Stefan


 Original-Nachricht 

  
Datum: Tue, 17 Jul 2012 17:50:36 +0200
Von: Jan Benadik jan.bena...@atos.net
An: "users@lists.opennebula.org" users@lists.opennebula.org
Betreff: [one-users] Live migration doesn\'t work

  
  

  
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

  


-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 


  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] W2008 in VM boot failed

2012-07-18 Thread Jan Benadik

  
  
Here it is (I deleted it already, so I've prepared new one):

domain type='kvm'
  xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'
      nameone-51/name
      vcpu2/vcpu
      memory2097152/memory
      os
      type arch='x86_64'hvm/type
      boot dev='cdrom'/
      /os
      devices
      emulator/usr/bin/kvm/emulator
      disk type='file' device='disk'
      source
  file='/var/lib/one/datastores/0/51/disk.0'/
      target dev='vda'/
      driver name='qemu' type='virtio'
  cache='default'/
      /disk
      disk type='file' device='cdrom'
      source
  file='/var/lib/one/datastores/0/51/disk.1'/
      target dev='hda'/
      readonly/
      driver name='qemu' type='raw'
  cache='default'/
      /disk
      graphics type='vnc' listen='0.0.0.0'
  port='5951'/
      /devices
      features
      acpi/
      /features
  
  /domain

Jan

Dňa 17.07.2012 07:57, cloud.b.lab wrote
  / napísal(a):


  
  Jan,
Myself an OpenNebula user,
Can you please paste the contents of /var/lib/one//datastores/0/0/deployment.0
  file.
  regards,
  Anil


   On Sun, 15 Jul 2012 23:14:42 -0700 Jan Benadik jan.bena...@atos.net wrote
   



   Thanks for reply, but I
have another problem with virtio drivers.
If I set this driver (from the same web page) in my template
(or image), VM boot crashed with:
Fri Jul 13 16:02:05 2012 [VMM][D]: Message received:
  LOG I 0 Successfully execute network driver operation:
  pre.
  Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG I
  0 Command execution fail: cat  EOT |
  /var/tmp/one/vmm/kvm/deploy
  /var/lib/one//datastores/0/0/deployment.0 myto 0 myto
  Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG I
  0 error: Failed to create domain from
  /var/lib/one//datastores/0/0/deployment.0
  Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG I
  0 error: internal error cannot load AppArmor profile
  'libvirt-2680a394-85af-399d-2d6d-93b300446bf0'
  Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG E
  0 Could not create domain from
  /var/lib/one//datastores/0/0/deployment.0
  Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG I
  0 ExitCode: 255

Doesn't matter if AppArmor is loaded or not ... (Ubuntu
12.04 Server on frontend and node). 
The same image / template without virtio driver booted
correctly.

Jan

Dňa 13.07.2012 15:46, André Monteiro wrote /
  napísal(a):


  Hello,
   
  I had a problem like that, you have to install in
your Windows the Virtio drivers: http://kahdev.wordpress.com/2011/05/30/using-virtio-drivers-in-a-kvm-windows-guest-vm/,
in my case it were Red Hat Virtio controllers.
   
  Hope it helps,

--
André Monteiro




  
  On Fri, Jul 13, 2012 at 2:31 PM, Jan Benadik jan.bena...@atos.net
wrote:

   Hi all,

I have prepared w2008 image in virt-manager and
installed Win 2008 R2 Server into. Image was
prepared without virtio drivers and is working
inside of virt-manager (see pict-vm.png).
BUT - if I try to run that same image in
Opennebula 3.6, boot failed - see attached
pict2.png.

My template in OpenNebula:
CPU="1"
  DISK=[
    IMAGE="w2008",
    IMAGE_UNAME="test",
    TARGET="hda" ]
  FEATURES=[
    ACPI="yes" ]
  GRAPHICS=[
    LISTEN="0.0.0.0",
    TYPE="vnc" ]
  MEMORY="2048"
  NA

Re: [one-users] W2008 in VM boot failed

2012-07-16 Thread Jan Benadik

  
  
Thanks for reply, but I have another problem with virtio drivers.
If I set this driver (from the same web page) in my template (or
image), VM boot crashed with:
Fri Jul 13 16:02:05 2012 [VMM][D]: Message received: LOG I 0
  Successfully execute network driver operation: pre.
  Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG I 0
  Command execution fail: cat  EOT |
  /var/tmp/one/vmm/kvm/deploy
  /var/lib/one//datastores/0/0/deployment.0 myto 0 myto
  Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG I 0
  error: Failed to create domain from
  /var/lib/one//datastores/0/0/deployment.0
  Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG I 0
  error: internal error cannot load AppArmor profile
  'libvirt-2680a394-85af-399d-2d6d-93b300446bf0'
  Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG E 0 Could
  not create domain from /var/lib/one//datastores/0/0/deployment.0
  Fri Jul 13 16:02:07 2012 [VMM][D]: Message received: LOG I 0
  ExitCode: 255

Doesn't matter if AppArmor is loaded or not ... (Ubuntu 12.04 Server
on frontend and node). 
The same image / template without virtio driver booted correctly.

Jan

Dňa 13.07.2012 15:46, André Monteiro
  wrote / napísal(a):


  
  Hello,
   
  I had a problem like that, you have to install in your
Windows the Virtio drivers: http://kahdev.wordpress.com/2011/05/30/using-virtio-drivers-in-a-kvm-windows-guest-vm/,
in my case it were Red Hat Virtio controllers.
   
  Hope it helps,

--
André Monteiro




  
  On Fri, Jul 13, 2012 at 2:31 PM, Jan
Benadik jan.bena...@atos.net
wrote:

   Hi all,

I have prepared w2008 image in virt-manager and installed
Win 2008 R2 Server into. Image was prepared without virtio
drivers and is working inside of virt-manager (see
pict-vm.png).
BUT - if I try to run that same image in Opennebula
3.6, boot failed - see attached pict2.png.

My template in OpenNebula:
CPU="1"
  DISK=[
    IMAGE="w2008",
    IMAGE_UNAME="test",
    TARGET="hda" ]
  FEATURES=[
    ACPI="yes" ]
  GRAPHICS=[
    LISTEN="0.0.0.0",
    TYPE="vnc" ]
  MEMORY="2048"
  NAME="w2008-prep"
  NIC=[
    MODEL="e1000",
    NETWORK="test_net",
    NETWORK_UNAME="oneadmin" ]
  OS=[
    ARCH="x86_64",
    BOOT="hd" ]
  RAW=[
    TYPE="kvm" ]
  TEMPLATE_ID="2"
  VCPU="2"

Why it doesn't work? Can somebody help me?

Jan
-- 
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46
5151 332
  +421 903
691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 
  
  
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
  

  
  


-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 


  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OCCI user interface

2012-07-13 Thread Jan Benadik

  
  
Yes - I did it. Doesn't help ...

Jan

Dňa 12.07.2012 14:14, Hector Sanjuan
  wrote / napísal(a):

Hi,
  
  
  have you tried deleting browsers cache?
  
  
  Hector
  
  
  En Thu, 12 Jul 2012 14:09:35 +0200, Jan Benadik
  jan.bena...@atos.net
  
  escribió:
  
  
  Hi all,


after the upgrade to OpenNebula ver. 3.6 my OCCI user interface
looks like

picture attached - logging doesn't work, no error messages in
oned.log or syslog.

What I did wrong?


Jan


  
  
  


-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 


  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OCCI user interface

2012-07-13 Thread Jan Benadik

  
  
sunstone.log:
Fri Jul 13 13:44:04 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:04]
"GET /vnet?timeout=true HTTP/1.1" 200 2295 0.0384
Fri Jul 13 13:44:08 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:08]
"GET /user?timeout=true HTTP/1.1" 200 1703 0.0069
Fri Jul 13 13:44:10 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:10]
"GET /group?timeout=true HTTP/1.1" 200 1001 0.0061
Fri Jul 13 13:44:14 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:14]
"GET /cluster?timeout=true HTTP/1.1" 200 27 0.0054
Fri Jul 13 13:44:14 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:14]
"GET /host?timeout=true HTTP/1.1" 200 2665 0.0076
Fri Jul 13 13:44:29 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:29]
"GET /acl?timeout=true HTTP/1.1" 200 377 0.0075
Fri Jul 13 13:44:30 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:30]
"GET /vmtemplate?timeout=true HTTP/1.1" 200 8612 0.0138
Fri Jul 13 13:44:31 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:31]
"GET /image?timeout=true HTTP/1.1" 200 10404 0.0150
Fri Jul 13 13:44:36 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:36]
"GET /datastore?timeout=true HTTP/1.1" 200 2612 0.0077
Fri Jul 13 13:44:55 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:55]
"GET /vm?timeout=true HTTP/1.1" 200 3113 0.0086
Fri Jul 13 13:45:18 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:45:18]
"GET /user?timeout=true HTTP/1.1" 200 1703 0.0069
Fri Jul 13 13:45:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:45:19]
"GET /group?timeout=true HTTP/1.1" 200 1001 0.0062
Fri Jul 13 13:45:23 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:45:23]
"GET /vnet?timeout=true HTTP/1.1" 200 2295 0.0095
Fri Jul 13 13:45:33 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:45:33]
"GET /cluster?timeout=true HTTP/1.1" 200 27 0.0053
Fri Jul 13 13:45:34 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:45:34]
"GET /acl?timeout=true HTTP/1.1" 200 377 0.0054
Fri Jul 13 13:45:40 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:45:40]
"GET /host?timeout=true HTTP/1.1" 200 2665 0.0601

sunstone.error:
nothing

in browser:
nothing

Dňa 13.07.2012 11:00, Hector Sanjuan
  wrote / napísal(a):


  
  Hello,
  
  
  any messages in sunstone.log, sunstone.error? Perhaps anything
  showing up in your browser console as _javascript_s errors?
  
  
  Hector
  
  
  En Fri, 13 Jul 2012 10:26:44 +0200, Jan Benadik
  jan.bena...@atos.net escribió:
  
  
  Yes - I did it. Doesn't help ...


Jan


Dňa 12.07.2012 14:14, Hector Sanjuan wrote / napísal(a):


Hi,
        
    
have you tried deleting browsers cache?


Hector


En Thu, 12 Jul 2012 14:09:35 +0200, Jan Benadik
jan.bena...@atos.net

escribió:


Hi all,


after the upgrade to OpenNebula ver. 3.6 my OCCI user interface
looks like

picture attached - logging doesn't work, no error messages in
oned.log or syslog.

What I did wrong?


Jan





  
  
  


-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 


  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OCCI user interface

2012-07-13 Thread Jan Benadik

  
  
Gem update says nothing to update ...

occi-server.log:
Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
  15:17:19] "GET /ui?username=testpassword=abcdef HTTP/1.1" 200
  1810 0.0011
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /css/login.css HTTP/1.1" 401 - 0.0685
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /vendor/jQueryUI/jquery-ui-1.8.16.custom.css HTTP/1.1" 401 -
  0.0537
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /vendor/jQuery/jquery-1.7.2.min.js HTTP/1.1" 401 - 0.0057
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /vendor/crypto-js/2.3.0-crypto-sha1.js HTTP/1.1" 401 - 0.0057
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /js/locale.js HTTP/1.1" 401 - 0.0061
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /js/occi.js HTTP/1.1" 401 - 0.0079
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /customize/custom.js HTTP/1.1" 401 - 0.0058
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /js/login.js HTTP/1.1" 401 - 0.0060
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /images/ajax-loader.gif HTTP/1.1" 401 - 0.0057
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /vendor/crypto-js/2.3.0-crypto-sha1.js HTTP/1.1" 401 - 0.0056
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /js/locale.js HTTP/1.1" 401 - 0.0053
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /js/occi.js HTTP/1.1" 401 - 0.0058
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /customize/custom.js HTTP/1.1" 401 - 0.0065
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /js/login.js HTTP/1.1" 401 - 0.0075
  Fri Jul 13 15:17:19 2012 [E]: User not authorized
  Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19]
  "GET /images/ajax-loader.gif HTTP/1.1" 401 - 0.0066

occi-server.error:
empty

Dňa 13.07.2012 12:11, Hector Sanjuan
  wrote / napísal(a):


  
  Hello,
  
  
  sorry I have asked you for sunstone.log/error where it should have
  been occi-server.log/error.
  
  
  Still, thinking of it, it might be a problem with an old version
  of sinatra. Can you do a 'gem update', relaunch occi-server and
  retry?
  
  
  Hector
  
  
  En Fri, 13 Jul 2012 11:18:45 +0200, Jan Benadik
  jan.bena...@atos.net escribió:
  
  
  sunstone.log:

Fri Jul 13 13:44:04 2012 [I]: 10.0.3.51 - - [13/Jul/2012
13:44:04] "GET /vnet?timeout=true

HTTP/1.1" 200 2295 0.0384

Fri Jul 13 13:44:08 2012 [I]: 10.0.3.51 - - [13/Jul/2012
13:44:08] "GET /user?timeout=true

HTTP/1.1" 200 1703 0.0069

Fri Jul 13 13:44:10 2012 [I]: 10.0.3.51 - - [13/Jul/2012
13:44:10] "GET /group?timeout=true

HTTP/1.1" 200 1001 0.0061

Fri Jul 13 13:44:14 2012 [I]: 10.0.3.51 - - [13/Jul/2012
13:44:14] "GET /cluster?timeout=true

HTTP/1.1" 200 27 0.0054

Fri Jul 13 13:44:14 2012 [I]: 10.0.3.51 - - [13/Jul/2012
13:44:14] "GET /host?timeout=true

HTTP/1.1" 200 2665 0.0076

Fri Jul 13 13:44:29 2012 [I]: 10.0.3.51 - - [13/Jul/2012
13:44:29] "GET /acl?timeout=true

HTTP/1.1" 200 377 0.0075

Fri Jul 13 13:44:30 2012 [I]: 10.0.3.51 - - [13/Jul/2012
13:44:30] "GET /vmtemplate?timeout=true

HTTP/1.1" 200 8612 0.0138

Fri Jul 13 13:44:31 2

Re: [one-users] OCCI user interface - SOLVED

2012-07-13 Thread Jan Benadik

  
  
Hi,

THANKS A LOT!!!

Editing that /usr/lib/one/ruby/cloud/occi/occi-server.rb helped.

Jan

Dňa 13.07.2012 14:17, Hector Sanjuan
  wrote / napísal(a):

Hi,
  
  
  I managed to reproduce this once, then I went directly to
  /ui/login and everything went fine again :S So far I have been
  able to bring the issue back, which is puzzling me...
  
  
  The problem is that the public folders (containing css/js files)
  are not being served as such and since the requests are not
  authenticated sinatra fails to serve them.
  
  
  I wonder if this happens to you from different browsers on
  different computers? If so we could discard that the issue is in a
  specific client/browser (I suppose you removed cookies along with
  cache as well?).
  
  
  Secondly I would make sure that occi-server restart is working
  (i.e. theres is not an old server running all the time which
  hasn't been shutdown for whatever reason).
  
  
  Last, you could go to /usr/lib/one/ruby/cloud/occi/occi-server.rb
  and edit line 92 from:
  
  
  set :public_folder, Proc.new { File.join(root, "ui/public") }
  
  
  to
  
  
  set :public, Proc.new { File.join(root, "ui/public") }
  
  
  and restart occi-server.
  
  
  Let me know if any of these tips can fix it, otherwise we can keep
  looking. Thanks for your patience.
  
  
  Hector
  
  
  En Fri, 13 Jul 2012 12:51:39 +0200, Jan Benadik
  jan.bena...@atos.net escribió:
  
  
  Gem update says nothing to update ...


occi-server.log:

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /ui?username=testpassword=abcdef

HTTP/1.1" 200 1810 0.0011

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /css/login.css

HTTP/1.1" 401 - 0.0685

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /vendor/jQueryUI/jquery-ui-1.8.16.custom.css

HTTP/1.1" 401 - 0.0537

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /vendor/jQuery/jquery-1.7.2.min.js

HTTP/1.1" 401 - 0.0057

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /vendor/crypto-js/2.3.0-crypto-sha1.js

HTTP/1.1" 401 - 0.0057

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /js/locale.js

HTTP/1.1" 401 - 0.0061

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /js/occi.js

HTTP/1.1" 401 - 0.0079

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /customize/custom.js

HTTP/1.1" 401 - 0.0058

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /js/login.js

HTTP/1.1" 401 - 0.0060

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /images/ajax-loader.gif

HTTP/1.1" 401 - 0.0057

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /vendor/crypto-js/2.3.0-crypto-sha1.js

HTTP/1.1" 401 - 0.0056

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /js/locale.js

HTTP/1.1" 401 - 0.0053

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /js/occi.js

HTTP/1.1" 401 - 0.0058

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /customiz

Re: [one-users] OCCI user interface - SOLVED

2012-07-13 Thread Jan Benadik

  
  
The same results from chromium and firefox.

It seems to be an older version of sinatra installed with Opennebula
3.6 on Ubuntu 12.04:
oneadmin@myto-node:~/images$ dpkg -l |grep sinatra
  ii  ruby-sinatra
  1.2.6-1+build1   Ruby web-development
  dressed in a DSL

But editing occi-server.rb helps.

Jan

Dňa 13.07.2012 14:41, Hector Sanjuan
  wrote / napísal(a):

Great! Can you confirm me that you are using Sinatra
  1.3.2 as well? I would like to keep track of this...
  
  
  Hector
  
  
  En Fri, 13 Jul 2012 14:38:18 +0200, Jan Benadik
  jan.bena...@atos.net escribió:
  
  
  Hi,


THANKS A LOT!!!


Editing that /usr/lib/one/ruby/cloud/occi/occi-server.rb helped.


Jan


Dňa 13.07.2012 14:17, Hector Sanjuan wrote / napísal(a):


Hi,


I managed to reproduce this once, then I went directly to
/ui/login and

everything went fine again :S So far I have been able to bring
the issue back,

which is puzzling me...


The problem is that the public folders (containing css/js files)
are not being

served as such and since the requests are not authenticated
sinatra fails to

serve them.


I wonder if this happens to you from different browsers on
different computers?

If so we could discard that the issue is in a specific
client/browser (I suppose

you removed cookies along with cache as well?).


Secondly I would make sure that occi-server restart is working
(i.e. theres is

not an old server running all the time which hasn't been
shutdown for whatever

reason).


Last, you could go to
/usr/lib/one/ruby/cloud/occi/occi-server.rb and edit line

92 from:


set :public_folder, Proc.new { File.join(root, "ui/public") }


to


set :public, Proc.new { File.join(root, "ui/public") }


and restart occi-server.


Let me know if any of these tips can fix it, otherwise we can
keep looking.

Thanks for your patience.


Hector


En Fri, 13 Jul 2012 12:51:39 +0200, Jan Benadik
jan.bena...@atos.net escribió:


Gem update says nothing to update ...


occi-server.log:

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /ui?username=testpassword=abcdef

HTTP/1.1" 200 1810 0.0011

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /css/login.css

HTTP/1.1" 401 - 0.0685

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /vendor/jQueryUI/jquery-ui-1.8.16.custom.css

HTTP/1.1" 401 - 0.0537

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /vendor/jQuery/jquery-1.7.2.min.js

HTTP/1.1" 401 - 0.0057

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /vendor/crypto-js/2.3.0-crypto-sha1.js

HTTP/1.1" 401 - 0.0057

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /js/locale.js

HTTP/1.1" 401 - 0.0061

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /js/occi.js

HTTP/1.1" 401 - 0.0079

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /customize/custom.js

HTTP/1.1" 401 - 0.0058

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /js/login.js

HTTP/1.1" 401 - 0.0060

Fri Jul 13 15:17:19 2012

Re: [one-users] OCCI user interface - SOLVED

2012-07-13 Thread Jan Benadik

  
  
Hi,

I reinstalled sinatra to 1.3.2 
- back /usr/lib/one/ruby/cloud/occi/occi-server.rb, line 92 to
previous version
set :public_folder, Proc.new { File.join(root, "ui/public") }

- restarted occi-server

  Result - server doesn't work ...

- with sinatra 1.3.2
- edit /usr/lib/one/ruby/cloud/occi/occi-server.rb, line 92 to new
version
set :public, Proc.new { File.join(root, "ui/public") }

- restart occi-server

Result - occi-server works

Jan


Dňa 13.07.2012 14:53, Hector Sanjuan
  wrote / napísal(a):

ah.. perhaps uninstalling the  package and
  [re]installing latest version with 'gem' helps then?
  
  
  Hector
  
  
  En Fri, 13 Jul 2012 14:50:37 +0200, Jan Benadik
  jan.bena...@atos.net escribió:
  
  
  The same results from chromium and
firefox.


It seems to be an older version of sinatra installed with
Opennebula 3.6 on

Ubuntu 12.04:

oneadmin@myto-node:~/images$ dpkg -l |grep sinatra

ii ruby-sinatra 1.2.6-1+build1 Ruby web-development dressed in a
DSL


But editing occi-server.rb helps.


Jan


Dňa 13.07.2012 14:41, Hector Sanjuan wrote / napísal(a):


Great! Can you confirm me that you are using Sinatra 1.3.2 as
well? I would like

to keep track of this...


Hector


En Fri, 13 Jul 2012 14:38:18 +0200, Jan Benadik
jan.bena...@atos.net escribió:


Hi,


THANKS A LOT!!!


Editing that /usr/lib/one/ruby/cloud/occi/occi-server.rb helped.


Jan


Dňa 13.07.2012 14:17, Hector Sanjuan wrote / napísal(a):


Hi,


I managed to reproduce this once, then I went directly to
/ui/login and

everything went fine again :S So far I have been able to bring
the issue back,

which is puzzling me...


The problem is that the public folders (containing css/js files)
are not being

served as such and since the requests are not authenticated
sinatra fails to

serve them.


I wonder if this happens to you from different browsers on
different computers?

If so we could discard that the issue is in a specific
client/browser (I suppose

you removed cookies along with cache as well?).


Secondly I would make sure that occi-server restart is working
(i.e. theres is

not an old server running all the time which hasn't been
shutdown for whatever

reason).


Last, you could go to
/usr/lib/one/ruby/cloud/occi/occi-server.rb and edit line

92 from:


set :public_folder, Proc.new { File.join(root, "ui/public") }


to


set :public, Proc.new { File.join(root, "ui/public") }


and restart occi-server.


Let me know if any of these tips can fix it, otherwise we can
keep looking.

Thanks for your patience.


Hector


    En Fri, 13 Jul 2012 12:51:39 +0200, Jan Benadik
jan.bena...@atos.net escribió:


Gem update says nothing to update ...


occi-server.log:

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /ui?username=testpassword=abcdef

HTTP/1.1" 200 1810 0.0011

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /css/login.css

HTTP/1.1" 401 - 0.0685

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /vendor/jQueryUI/jquery-ui-1.8.16.custom.css

HTTP/1.1" 401 - 0.0537

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /vendor/jQuery/jquery-1.7.2.min.js

HTTP/1.1" 401 - 0.0057

Fri Jul 13 15:17:19 2012 [E]: User not authorized

Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012
15:17:19] "GET /vendor/crypto-js/2.3.0-crypto-sha1

[one-users] Win2008R2 Server in OpenNebula VM (KVM hypervisor)

2012-07-10 Thread Jan Benadik

  
  

Hi all,
  
  I have a problem to fresh install Win 2008 Server because of
  message "no device driver for HDD". Can somebody helps me how to
  solve it?
  
  
  Jan
  
  -- 


 
  Ján Beňadik
   Managed Services - Solution
Design Architect
+421 46 5151 332
+421 903 691 634
jan.bena...@atos.net
Vinohradnícka 6, 971 01 Prievidza
www.sk.atos.net
__


   
  


  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Win2008R2 Server in OpenNebula VM (KVM hypervisor)

2012-07-10 Thread Jan Benadik

  
  
No - it doesn't help ...:-(
Still the same behaviour

Jan

Dňa 10.07.2012 15:32, Javier Fontan
  wrote / napísal(a):


  
  Try attaching the disk to the IDE bus, add TARGET="hda" in the
  hard disk "DISK" description.
  
  On Tue, Jul 10, 2012 at 3:20 PM, Jan
Benadik jan.bena...@atos.net
wrote:

   No - this is inside of
windows machine (during the installation - see attached
screenshot).
I know there is possibility to press F8 somewhere at the
begin of Win Server installation, but in VM this is (maybe)
available for very short moment only ...

Nobody installed Win Server in OpenNebula VM yet?

Image "w-hd" information 
ID 11 Name w-hd 
Datastore shared 
Owner test 
Group users 
Type OS 
Register time 13:48:32 07/10/2012 
Persistent yes 
Source
/var/lib/one/datastores/100/1621efcc90c1e3f27d978f202c9dd8cf

Path -- 
Filesystem type ntfs 
Size (Mb) 1

Template Information:
CPU="2"
DISK=[
  IMAGE="w2008-cd",
  IMAGE_UNAME="test" ]
DISK=[
  DRIVER="raw",
  IMAGE="w-hd",
  IMAGE_UNAME="test" ]
FEATURES=[
  ACPI="yes" ]
GRAPHICS=[
  LISTEN="0.0.0.0",
  TYPE="vnc" ]
MEMORY="4096"
NAME="w2008-v"
NIC=[
  MODEL="e1000",
  NETWORK="test_net",
  NETWORK_UNAME="oneadmin" ]
OS=[
  ARCH="x86_64",
  BOOT="cdrom" ]
RAW=[
  TYPE="kvm" ]
TEMPLATE_ID="8"
VCPU="4"

Jan

Dňa 10.07.2012 15:04, Javier Fontan wrote / napísal(a):


  
 Where are you getting that
          error? Inside windows machine? OpenNebula logs?
  libvirt? What are your vm and image templates?
  
  On Tue, Jul 10, 2012 at 10:56
AM, Jan Benadik jan.bena...@atos.net
wrote:

   Hi all,

I have a problem to fresh install Win 2008
Server because of message "no device driver for
HDD". Can somebody helps me how to solve it?


Jan

-- 
   
Ján Beňadik
 Managed Services -
  Solution Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 
  
  
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
  

  
  

  

  

  


  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Failed to connect to server (code: 1006)

2012-07-04 Thread Jan Benadik

  
  
Hi all,

I've installed the newest version of OpenNebula (3.6 beta) on Ubuntu
Server 12.04 (management node and host too). When I try to click on
VNC icon of running VM in Sunstone UI, open window with this error
message appears:

Failed to connect to server (code: 1006)

The same behaviour in the newest Chromium and Firefox 13 browser ...

Nothing in /var/log/syslog (host nor management node),
/var/log/one/oned.log, /var/log/one/sunstone.log (management node).

Where can be an issue?

Jan
-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 
  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Failed to connect to server (code: 1006)

2012-07-04 Thread Jan Benadik

  
  
- /var/log/one/sunstone.error is empty
- websockify is not running
- I ran /usr/share/one/install_novnc.sh already at the end of
installation, config files in /etc/one were modified and I restarted
one, occi-server and sunstone-server after that
- no, I cannot connect to running VM via another VNC viewer
- I installed OpenNebula 3.6 from scratch (virgin installation, no
upgrade)
- yes, line "starting VNC proxy" appears in sunstone.log (see below)

  --
   Server configuration
  --
  {:marketplace_url="http://marketplace.c12g.com/",
   :vnc_proxy_cert=nil,
   :core_auth="cipher",
   :auth="sunstone",
   :vnc_proxy_support_wss=false,
   :vnc_proxy_base_port=29876,
   :debug_level=3,
   :tmpdir="/var/tmp/one",
   :vnc_proxy_key=nil,
   :host="0.0.0.0",
   :port=9869,
   :_one_xmlrpc_="http://localhost:2633/RPC2",
   :lang="en_US",
   :vnc_proxy_path="/usr/share/one/noVNC/utils/websockify"}
  .
  .
  .
  Wed Jul 04 17:47:57 2012 [I]: Starting vnc proxy:
  /usr/share/one/noVNC/utils/websockify  35777 myto:5901
  Wed Jul 04 17:47:57 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:47:57]
  "POST /vm/1/startvnc HTTP/1.1" 200 30 0.0518
  Wed Jul 04 17:48:04 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:04]
  "GET /vnet?timeout=true HTTP/1.1" 200 790 0.0139
  
  Next line in log is after closing window with error message:
  Wed Jul 04 17:48:06 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:06]
  "POST /vm/1/stopvnc HTTP/1.1" 200 - 0.0028
  Wed Jul 04 17:48:06 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:06]
  "GET /vmtemplate?timeout=true HTTP/1.1" 200 948 0.0159
  Wed Jul 04 17:48:07 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:07]
  "GET /image?timeout=true HTTP/1.1" 200 901 0.0142
  Wed Jul 04 17:48:30 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:30]
  "GET /acl?timeout=true HTTP/1.1" 200 377 0.1223
  Wed Jul 04 17:48:34 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:34]
  "GET /datastore?timeout=true HTTP/1.1" 200 2312 0.0284
  Wed Jul 04 17:48:34 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:34]
  "GET /group?timeout=true HTTP/1.1" 200 605 0.0105
  Wed Jul 04 17:48:35 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:35]
  "GET /cluster?timeout=true HTTP/1.1" 200 27 0.0072
  Wed Jul 04 17:48:39 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:39]
  "GET /vm?timeout=true HTTP/1.1" 200 2254 0.0278
  
  

Jan

- 
Dňa 04.07.2012 15:11, Hector Sanjuan
  wrote / napísal(a):

Hi, let see,
  
  
  Check sunstone.error too.
  
  
  Check that no websockify from a previous session is running (ps
  aux | grep websockify).
  
  
  Check that you have run ./install_novnc.sh after your upgrade.
  
  
  Check that you can still connect to the machine VNC with a
  different vnc client directly.
  
  
  Is the "starting vnc proxy" line showing up in sunstone.log?
  
  
  From which version were you upgrading? You can attach sunstone.log
  so I can check if I see something that you missed.
  
  
  Hector
  
  
  En Wed, 04 Jul 2012 14:56:14 +0200, Jan Benadik
  jan.bena...@atos.net escribió:
  
  
  Hi all,


I've installed the newest version of OpenNebula (3.6 beta) on
Ubuntu Server 12.04

(management node and host too). When I try to click on VNC icon
of running VM in

Sunstone UI, open window with this error message appears:


Failed to connect to server (code: 1006)


The same behaviour in the newest Chromium and Firefox 13 browser
...


Nothing in /var/log/syslog (host nor management node),
/var/log/one/oned.log, /var/log/one/sunstone.log

(management node).


Where can be an issue?


Jan


  
  
  


-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 


  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Failed to connect to server (code: 1006)

2012-07-04 Thread Jan Benadik

  
  
Solved.

I forgot to set LISTEN parameter ...

Thanks, Hector!

Jan


Dňa 04.07.2012 15:34, Hector Sanjuan
  wrote / napísal(a):


  
  En Wed, 04 Jul 2012 15:28:18 +0200, Jan Benadik
  jan.bena...@atos.net escribió:
  
  
  - no, I cannot connect to running VM via
another VNC viewer

  
  
  Well, then it's a problem with the hypervisor or the connectivity
  to the VM physical host? You should try to fix that and then check
  if the problem still persists in Sunstone.
  
  
  Im assuming that you defined the GRAPHICS section correctly in
  your VM template and that the LISTEN param is set to 0.0.0.0?
  
  


-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 


  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VM has no VNC configured

2012-07-02 Thread Jan Benadik

  
  
Thanks, now it is a little bit better (but only a little bit - VNC
still doesn't work, no error message on screen ...)

Now I have in /etc/one/occi_templates/small.erb :
CPU = 1
  MEMORY  = 512
  ARCH    = "i686"
  GRAPHICS    = [
      TYPE    = "vnc",
      LISTEN  = "0.0.0.0"
  ]

In /etc/one/sunstone-server.conf I have:
:vnc_proxy_base_port: 29876
  :vnc_proxy_path: /usr/share/opennebula/noVNC/utils/websockify
  :vnc_proxy_support_wss: no
  :vnc_proxy_cert:
  :vnc_proxy_key:
  
In /etc/one/oned.conf I have:
VNC_BASE_PORT = 5900

When I click on VNC icon in Sunstone interface, the following
message in /var/log/one/sunstone.log appears:

Mon Jul 02 12:51:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012
  12:51:14] "POST /vm/25/startvnc HTTP/1.1" 200 30 0.0023
  Mon Jul 02 12:51:19 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:19]
  "GET /vmtemplate?timeout=true HTTP/1.1" 200 3559 0.0829
  Mon Jul 02 12:51:26 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:26]
  "GET /group?timeout=true HTTP/1.1" 200 311 0.0124
  Mon Jul 02 12:51:47 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:47]
  "GET /cluster?timeout=true HTTP/1.1" 200 27 0.0778
  Mon Jul 02 12:51:57 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:57]
  "GET /user?timeout=true HTTP/1.1" 200 840 0.0099
  Mon Jul 02 12:52:00 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:00]
  "GET /datastore?timeout=true HTTP/1.1" 200 2360 0.0132
  Mon Jul 02 12:52:01 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:01]
  "GET /vnet?timeout=true HTTP/1.1" 200 791 0.0157
  Mon Jul 02 12:52:03 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:03]
  "GET /vm?timeout=true HTTP/1.1" 200 18134 0.0172
  Mon Jul 02 12:52:04 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:04]
  "GET /image?timeout=true HTTP/1.1" 200 6974 0.0143
  Mon Jul 02 12:52:08 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:08]
  "GET /acl?timeout=true HTTP/1.1" 200 377 0.0750
  Mon Jul 02 12:52:11 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:11]
  "GET /host?timeout=true HTTP/1.1" 200 3808 0.0171
  Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14]
  "GET
  /host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistory_length=40
  HTTP/1.1" 200 330 0.0121
  Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14]
  "GET
  /host/monitor?title=graph2monitor_resources=mem_usage%2Cused_mem%2Cmax_memhistory_length=40
  HTTP/1.1" 200 398 0.0042
  Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14]
  "GET
  /vm/monitor?title=graph3monitor_resources=total%2Cactive%2Cerrorhistory_length=40
  HTTP/1.1" 200 293 0.0043
  Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14]
  "GET
  /vm/monitor?title=graph4monitor_resources=net_tx%2Cnet_rxhistory_length=40
  HTTP/1.1" 200 274 0.0032

In /etc/one/sunstone-server.error:

    File "/usr/share/opennebula/noVNC/utils/websockify", line 282,
  in websockify_init
      server.start_server()
    File "/usr/share/opennebula/noVNC/utils/websocket.py", line 804,
  in start_server
      lsock = self.socket(self.listen_host, self.listen_port)
    File "/usr/share/opennebula/noVNC/utils/websocket.py", line 190,
  in socket
      sock.bind(addrs[0][4])
    File "/usr/lib/python2.7/socket.py", line 224, in meth
      return getattr(self._sock,name)(*args)
  socket.error: [Errno 98] Address already in use
  
What is wrong?

Jan


Dňa 29.06.2012 14:15, Hector Sanjuan
  wrote / napísal(a):


  
  Hello,
  
  
  I believe your small.erb should rather say:
  
  
  GRAPHICS = [
  
    TYPE    = "vnc"
  
  ]
  
  
  More info:
  http://opennebula.org/documentation:rel3.4:template#i_o_devices_section
  
  
  Also remember to set LISTEN if your not accessing the VM from
  localhost.
  
  


-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 


  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VM has no VNC configured

2012-07-02 Thread Jan Benadik

  
  
It doesn't help.
That websockify process is ran by clicking on icon.

Processes before clicking on icon VNC console:
root@nebula-3:/home/sk1u06k5# ps aux |grep websoc
  root  6179  0.0  0.0   8068   648 pts/0    S+   13:51   0:00
  grep --color=auto websoc
  root@nebula-3:/home/sk1u06k5# 

Processes after clicking to icon VNC console (instance ID 32):
root@nebula-3:/home/sk1u06k5# ps aux |grep websoc
  oneadmin  6461  4.0  0.4  91628 16808 ?    S    13:52   0:00
  python /usr/share/opennebula/noVNC/utils/websockify 35808
  myto:5932
  root  6471  0.0  0.0   8068   652 pts/0    S+   13:52   0:00
  grep --color=auto websoc
  root@nebula-3:/home/sk1u06k5# 

But console doesn't work ...:-(
No open port on that server:
root@nebula-3:/home/sk1u06k5# nmap one
  
  Starting Nmap 5.21 ( http://nmap.org ) at 2012-07-02 13:56 CEST
  Nmap scan report for one (10.0.1.125)
  Host is up (0.15s latency).
  Not shown: 996 closed ports
  PORT STATE SERVICE
  22/tcp   open  ssh
  111/tcp  open  rpcbind
  2049/tcp open  nfs
  5678/tcp open  unknown
  
  Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds
  root@nebula-3:/home/sk1u06k5# 


J.B.




Dňa 02.07.2012 13:45, Hector Sanjuan
  wrote / napísal(a):


  
  looks like there is a websockify proxy running that shouldnt be
  there...
  
  
  try killing the related python process which is taking port
  29876+vmid and retry opening the vnc console.
  
  
  Hector
  
  
  En Mon, 02 Jul 2012 13:40:56 +0200, Jan Benadik
  jan.bena...@atos.net escribió:
  
  
  Thanks, now it is a little bit better (but
only a little bit - VNC still doesn't

work, no error message on screen ...)


Now I have in /etc/one/occi_templates/small.erb :

CPU = 1

MEMORY = 512

ARCH = "i686"

GRAPHICS = [

TYPE = "vnc",

LISTEN = "0.0.0.0"

]


In /etc/one/sunstone-server.conf I have:

:vnc_proxy_base_port: 29876

:vnc_proxy_path: /usr/share/opennebula/noVNC/utils/websockify

:vnc_proxy_support_wss: no

:vnc_proxy_cert:

:vnc_proxy_key:


In /etc/one/oned.conf I have:

VNC_BASE_PORT = 5900


When I click on VNC icon in Sunstone interface, the following
message in /var/log/one/sunstone.log

appears:


Mon Jul 02 12:51:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012
12:51:14] "POST /vm/25/startvnc

HTTP/1.1" 200 30 0.0023

Mon Jul 02 12:51:19 2012 [I]: 10.0.3.51 - - [02/Jul/2012
12:51:19] "GET /vmtemplate?timeout=true

HTTP/1.1" 200 3559 0.0829

Mon Jul 02 12:51:26 2012 [I]: 10.0.3.51 - - [02/Jul/2012
12:51:26] "GET /group?timeout=true

HTTP/1.1" 200 311 0.0124

Mon Jul 02 12:51:47 2012 [I]: 10.0.3.51 - - [02/Jul/2012
12:51:47] "GET /cluster?timeout=true

HTTP/1.1" 200 27 0.0778

Mon Jul 02 12:51:57 2012 [I]: 10.0.3.51 - - [02/Jul/2012
12:51:57] "GET /user?timeout=true

HTTP/1.1" 200 840 0.0099

Mon Jul 02 12:52:00 2012 [I]: 10.0.3.51 - - [02/Jul/2012
12:52:00] "GET /datastore?timeout=true

HTTP/1.1" 200 2360 0.0132

Mon Jul 02 12:52:01 2012 [I]: 10.0.3.51 - - [02/Jul/2012
12:52:01] "GET /vnet?timeout=true

HTTP/1.1" 200 791 0.0157

Mon Jul 02 12:52:03 2012 [I]: 10.0.3.51 - - [02/Jul/2012
12:52:03] "GET /vm?timeout=true

HTTP/1.1" 200 18134 0.0172

Mon Jul 02 12:52:04 2012 [I]: 10.0.3.51 - - [02/Jul/2012
12:52:04] "GET /image?timeout=true

HTTP/1.1" 200 6974 0.0143

Mon Jul 02 12:52:08 2012 [I]: 10.0.3.51 - - [02/Jul/2012
12:52:08] "GET /acl?timeout=true

HTTP/1.1" 200 377 0.0750

Mon Jul 02 12:52:11 2012 [I]: 10.0.3.51 - - [02/Jul/2012
12:52:11] "GET /host?timeout=true

HTTP/1.1" 200 3808 0.0171

Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012
12:52:14] "GET
/host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistory_length=40
HTTP/1.1" 200 330 0.0121

Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/20

Re: [one-users] VM has no VNC configured

2012-07-02 Thread Jan Benadik

  
  
BACK, BACK, BACK ...:-)

VNC console works, but on other IP than I expected ...
When I tried to open port 5932 on IP of physical server (where
virtual instance runs - via other VNC viewer which I have), it
works.
Why it doesn't work directly in Sunstone UI or OCCI UI?

I'm sure I have something wrong in noVNC installation / setting ...

J.B.

Dňa 02.07.2012 13:57, Jan Benadik wrote
  / napísal(a):


  
  It doesn't help.
  That websockify process is ran by clicking on icon.
  
  Processes before clicking on icon VNC console:
  root@nebula-3:/home/sk1u06k5# ps aux |grep websoc
root  6179  0.0  0.0   8068   648 pts/0    S+   13:51   0:00
grep --color=auto websoc
root@nebula-3:/home/sk1u06k5# 
  
  Processes after clicking to icon VNC console (instance ID 32):
  root@nebula-3:/home/sk1u06k5# ps aux |grep websoc
oneadmin  6461  4.0  0.4  91628 16808 ?    S    13:52   0:00
python /usr/share/opennebula/noVNC/utils/websockify 35808
myto:5932
root  6471  0.0  0.0   8068   652 pts/0    S+   13:52   0:00
grep --color=auto websoc
root@nebula-3:/home/sk1u06k5# 
  
  But console doesn't work ...:-(
  No open port on that server:
  root@nebula-3:/home/sk1u06k5# nmap one

Starting Nmap 5.21 ( http://nmap.org
) at 2012-07-02 13:56 CEST
Nmap scan report for one (10.0.1.125)
Host is up (0.15s latency).
Not shown: 996 closed ports
PORT STATE SERVICE
22/tcp   open  ssh
111/tcp  open  rpcbind
2049/tcp open  nfs
5678/tcp open  unknown

Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds
root@nebula-3:/home/sk1u06k5# 
  
  
  J.B.
  
  
  
  
  Dňa 02.07.2012 13:45, Hector Sanjuan
wrote / napísal(a):
  
   
looks like there is a websockify proxy running that shouldnt be
there... 

try killing the related python process which is taking port
29876+vmid and retry opening the vnc console. 

Hector 

En Mon, 02 Jul 2012 13:40:56 +0200, Jan Benadik jan.bena...@atos.net
escribió: 

Thanks, now it is a little bit better
  (but only a little bit - VNC still doesn't 
  work, no error message on screen ...) 
  
  Now I have in /etc/one/occi_templates/small.erb : 
  CPU = 1 
  MEMORY = 512 
  ARCH = "i686" 
  GRAPHICS = [ 
  TYPE = "vnc", 
  LISTEN = "0.0.0.0" 
  ] 
  
  In /etc/one/sunstone-server.conf I have: 
  :vnc_proxy_base_port: 29876 
  :vnc_proxy_path: /usr/share/opennebula/noVNC/utils/websockify
  
  :vnc_proxy_support_wss: no 
  :vnc_proxy_cert: 
  :vnc_proxy_key: 
  
  In /etc/one/oned.conf I have: 
  VNC_BASE_PORT = 5900 
  
  When I click on VNC icon in Sunstone interface, the following
  message in /var/log/one/sunstone.log 
  appears: 
  
  Mon Jul 02 12:51:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012
  12:51:14] "POST /vm/25/startvnc 
  HTTP/1.1" 200 30 0.0023 
  Mon Jul 02 12:51:19 2012 [I]: 10.0.3.51 - - [02/Jul/2012
  12:51:19] "GET /vmtemplate?timeout=true 
  HTTP/1.1" 200 3559 0.0829 
  Mon Jul 02 12:51:26 2012 [I]: 10.0.3.51 - - [02/Jul/2012
  12:51:26] "GET /group?timeout=true 
  HTTP/1.1" 200 311 0.0124 
  Mon Jul 02 12:51:47 2012 [I]: 10.0.3.51 - - [02/Jul/2012
  12:51:47] "GET /cluster?timeout=true 
  HTTP/1.1" 200 27 0.0778 
  Mon Jul 02 12:51:57 2012 [I]: 10.0.3.51 - - [02/Jul/2012
  12:51:57] "GET /user?timeout=true 
  HTTP/1.1" 200 840 0.0099 
  Mon Jul 02 12:52:00 2012 [I]: 10.0.3.51 - - [02/Jul/2012
  12:52:00] "GET /datastore?timeout=true 
  HTTP/1.1" 200 2360 0.0132 
  Mon Jul 02 12:52:01 2012 [I]: 10.0.3.51 - - [02/Jul/2012
  12:52:01] "GET /vnet?timeout=true 
  HTTP/1.1" 200 791 0.0157 
  Mon Jul 02 12:52:03 2012 [I]: 10.0.3.51 - - [02/Jul/2012
  12:52:03] "GET /vm?timeout=true 
  HTTP/1.1" 200 18134 0.0172 
  Mon Jul 02 12:52:04 2012 [I]: 10.0.3.51 - - [02/Jul/2012
  12:52:04] "GET /image?timeout=true 
  HTTP/1.1" 200 6974 0.0143 
  Mon Jul 02 12:52:08 2012 [I]: 10.0.3.51 - - [02/Jul/2012
  12:52:08] "GET /acl?timeout=true 
  HTTP/1.1" 200 377 0.0750 
  Mon Jul 02 12:52:11 2012 [I]: 10.0.3.51 - - [02/Jul/2012
  12:52:11] "GET /host?timeout

Re: [one-users] VM has no VNC configured

2012-07-02 Thread Jan Benadik

  
  
Chromium 18.0.1025.168

Jan

Dňa 02.07.2012 15:06, Hector Sanjuan
  wrote / napísal(a):

Ah. good then.
  
  
  The IP address is not that of the Virtual Machine but of the
  physical host, since vnc is served by the hypervisor in the host.
  
  
  What version of chrome were you using?
  
  
  Hector    
  
  En Mon, 02 Jul 2012 15:01:38 +0200, Jan Benadik
  jan.bena...@atos.net escribió:
  
  
  Physical node has IP 10.0.5.21.

Virtual machine on it has IP 192.168.122.1 (ID 32), clicking on
VNC icon in the

Sunstone session - nothing is displayed (Chrome browser).

Console of that virtual machine is accessible on 10.0.5.21::5932
(via Vinagre

viewer), I expected to catch it on 192.168.122.1::5932 ...


BUT - I checked it right now in Firefox and it works corectly
...


Sorry for my mistakes and thanks for your help.


Jan


Dňa 02.07.2012 14:23, Hector Sanjuan wrote / napísal(a):



What do you mean on other IP than expected?


Can you try manually running the proxy as I suggested?


Hector


En Mon, 02 Jul 2012 14:14:07 +0200, Jan Benadik
jan.bena...@atos.net escribió:


BACK, BACK, BACK ...:-)


VNC console works, but on other IP than I expected ...

When I tried to open port 5932 on IP of physical server (where
virtual instance

runs - via other VNC viewer which I have), it works.

Why it doesn't work directly in Sunstone UI or OCCI UI?


I'm sure I have something wrong in noVNC installation / setting
...


J.B.


Dňa 02.07.2012 13:57, Jan Benadik wrote / napísal(a):


It doesn't help.

That websockify process is ran by clicking on icon.


Processes before clicking on icon VNC console:

root@nebula-3:/home/sk1u06k5# ps aux |grep websoc

root 6179 0.0 0.0 8068 648 pts/0 S+ 13:51 0:00 grep --color=auto
websoc

root@nebula-3:/home/sk1u06k5#


Processes after clicking to icon VNC console (instance ID 32):

root@nebula-3:/home/sk1u06k5# ps aux |grep websoc

oneadmin 6461 4.0 0.4 91628 16808 ? S 13:52 0:00 python
/usr/share/opennebula/noVNC/utils/websockify

35808 myto:5932

root 6471 0.0 0.0 8068 652 pts/0 S+ 13:52 0:00 grep --color=auto
websoc

root@nebula-3:/home/sk1u06k5#


But console doesn't work ...:-(

No open port on that server:

root@nebula-3:/home/sk1u06k5# nmap one


Starting Nmap 5.21 ( http://nmap.org ) at 2012-07-02 13:56 CEST

Nmap scan report for one (10.0.1.125)

Host is up (0.15s latency).

Not shown: 996 closed ports

PORT STATE SERVICE

22/tcp open ssh

111/tcp open rpcbind

2049/tcp open nfs

5678/tcp open unknown


Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds

root@nebula-3:/home/sk1u06k5#



J.B.





Dňa 02.07.2012 13:45, Hector Sanjuan wrote / napísal(a):



looks like there is a websockify proxy running that shouldnt be
there...


try killing the related python process which is taking port
29876+vmid and retry

opening the vnc console.


Hector


En Mon, 02 Jul 2012 13:40:56 +0200, Jan Benadik
jan.bena...@atos.net escribió:


Thanks, now it is a little bit better (but only a little bit -
VNC still doesn't

work, no error message on screen ...)


Now I have in /etc/one/occi_templates/small.erb :

CPU = 1

MEMORY = 512

ARCH = "i686"

GRAPHICS = [

TYPE = "vnc",

LISTEN = "0.0.0.0"

]


In /etc/one/sunstone-server.conf I have:

:vnc_proxy_base_port: 29876

:vnc_proxy_path: /usr/share/opennebula/noVNC/utils/websockify

:vnc_proxy_support_wss: no

:vnc_proxy_cert:
 

Re: [one-users] Apparmor Profile

2012-06-27 Thread Jan Benadik

  
  
Hi,

did you append the line 

  /var/lib/one/** lrwk,

at the end of /etc/apparmor.d/usr.sbin.libvirtd file and restart
apparmor service?

J.B.

Dňa 27.06.2012 14:25, Mohamed Mohamed
  wrote / napísal(a):


  
  
  Hi all,
I installed opennebula 3.6 on ubuntu 12.4TLS,
i added 2 new hosts, i was following the documentation in
opennebula.org.
when i try to submit a new VM  the following error occures:



Wed Jun 27 14:23:22 2012 [VMM][I]: Successfully execute network driver operation: pre.
Wed Jun 27 14:23:22 2012 [VMM][I]: Command execution fail: cat  EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/3/deployment.0 node1 3 node1
Wed Jun 27 14:23:22 2012 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/3/deployment.0
Wed Jun 27 14:23:22 2012 [VMM][I]: error: internal error cannot load AppArmor profile 'libvirt-11995295-92ea-b181-c44c-4fc74b7afe4a'
Wed Jun 27 14:23:22 2012 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/3/deployment.0
Wed Jun 27 14:23:22 2012 [VMM][I]: ExitCode: 255
Wed Jun 27 14:23:22 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.
Wed Jun 27 14:23:22 2012 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/3/deployment.0
Wed Jun 27 14:23:23 2012 [DiM][I]: New VM state is FAILED




does any one have a suggestion?
best regards, 
Mohamed.
  
  
  
  
  ___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 


  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Error when instantiating VM from image - next status

2012-06-24 Thread Jan Benadik

  
  
No - this attempt was with SSH transfer driver, not shared.

Jan

Dňa 22.06.2012 17:18, Ruben S. Montero  wrote / napísal(a):

  
  Seems the same thing... is it /var/lib/one/ in an NFS volume in
  the host? 
  
  
  BTW, you need ACPI installed in the guest domains to shutdown
them, if not you can just use cancel 

  
  
On Fri, Jun 22, 2012 at 4:39 PM, Jan Benadik jan.bena...@atos.net
wrote:

   Other error message
(with SSH transfer driver used):
Fri Jun 22 14:08:53 2012 [LCM][I]: New VM state
  is BOOT
  Fri Jun 22 14:08:53 2012 [VMM][I]: Generating
  deployment file: /var/lib/one/0/deployment.1
  Fri Jun 22 14:08:53 2012 [VMM][I]: ExitCode: 0
  Fri Jun 22 14:08:53 2012 [VMM][I]: Successfully
  execute network driver operation: pre.
  Fri Jun 22 14:09:24 2012 [VMM][I]: Command execution
  fail: cat  EOT | /var/tmp/one/vmm/kvm/deploy
  /var/lib/one/0/images/deployment.1 10.0.5.201 0
  10.0.5.201
  Fri Jun 22 14:09:24 2012 [VMM][I]: error: Failed to
  create domain from /var/lib/one/0/images/deployment.1
  Fri Jun 22 14:09:24 2012 [VMM][I]: error: monitor
socket did not show up.: No such file or directory
  Fri Jun 22 14:09:24 2012 [VMM][E]: Could not create
  domain from /var/lib/one/0/images/deployment.1
  Fri Jun 22 14:09:24 2012 [VMM][I]: ExitCode: 255
  Fri Jun 22 14:09:24 2012 [VMM][I]: Failed to execute
  virtualization driver operation: deploy.
  Fri Jun 22 14:09:24 2012 [VMM][E]: Error deploying
  virtual machine: Could not create domain from
  /var/lib/one/0/images/deployment.1
  Fri Jun 22 14:09:25 2012 [DiM][I]: New VM state is
  FAILED
  
  In syslog it is very similar:
Jun 22 16:45:01 tyan-host kernel: [82002.423842]
  type=1505 audit(1340376301.285:71): 
  operation="profile_load" pid=24477
  name="libvirt-3cd36a8d-dd19-6b86-333e-f0249700ba79"
  Jun 22 16:45:01 tyan-host libvirtd: 16:45:01.317:
  error : qemuDomainSetFileOwnership: : cannot set
  ownership on /var/lib/one/0/images/disk.0: Permission
  denied
  Jun 22 16:45:31 tyan-host libvirtd: 16:45:31.327:
  error : qemuMonitorOpenUnix:268 : monitor socket did
  not show up.: No such file or directory
  Jun 22 16:45:31 tyan-host libvirtd: 16:45:31.328:
  error : qemuConnectMonitor:822 : Failed to connect
  monitor for one-0#012
  Jun 22 16:45:31 tyan-host kernel: [82032.643614]
  type=1505 audit(1340376331.505:72): 
  operation="profile_remove" pid=24585
  name="libvirt-3cd36a8d-dd19-6b86-333e-f0249700ba79"
  namespace="root"
  

Jan







Dňa 22.06.2012 11:58, Jaime Melis  wrote / napísal(a):

  
 Hello Jan,
  
  
  I forgot to mention that it's not enough with
using the SSH transfer driver, you also have to
unmount all your NFS exports in your hypervisor
node, so the disk images aren't copied to an NFS
filesystem.
  
  

  
  Cheers,
Jaime


  
On Fri, Jun 22, 2012 at 11:21
  AM, Jaime Melis jme...@opennebula.org
  wrote:

  
  

  Hello Jan,


let's try without NFS just to rule it
  out. Can you use the SSH transfer driver:
http://opennebula.org/documentation:rel3.4:fs_ds#using_the_ssh_transfer_driver
and try launching the VM again?


 

Re: [one-users] Error when instantiating VM from image - next status

2012-06-22 Thread Jan Benadik

  
  
Yes, it runs:
oneadmin@nebula-3:~$ ps aux |grep oned
  oneadmin 10158  0.0  0.1 1172252 8020 ?    Sl   Jun21   0:22
  /usr/bin/oned -f

When I changed security_driver in qemu.conf to default state
/etc/libvirt/qemu.conf:
# security_driver = "selinux"
my error message went back to previous state (but still was there)
...

When I replaced OS on host to Ubuntu 10.04 Server (with the same
settings), error message is:

Thu Jun 21 16:41:17 2012 [LCM][I]: New VM state is BOOT
  Thu Jun 21 16:41:17 2012 [VMM][I]: Generating deployment file:
  /var/lib/one/1/deployment.4
  Thu Jun 21 16:41:17 2012 [VMM][I]: ExitCode: 0
  Thu Jun 21 16:41:17 2012 [VMM][I]: Successfully execute network
  driver operation: pre.
  Thu Jun 21 16:41:48 2012 [VMM][I]: Command execution fail: cat
   EOT | /var/tmp/one/vmm/kvm/deploy
  /var/lib/one/1/images/deployment.4 tyan 1 tyan
  Thu Jun 21 16:41:48 2012 [VMM][I]: error: Failed to create domain
  from /var/lib/one/1/images/deployment.4
  Thu Jun 21 16:41:48 2012 [VMM][I]: error: cannot set ownership
on /var/lib/one/1/images/disk.1: Permission denied
  Thu Jun 21 16:41:48 2012 [VMM][E]: Could not create domain from
  /var/lib/one/1/images/deployment.4
  Thu Jun 21 16:41:48 2012 [VMM][I]: ExitCode: 255
  Thu Jun 21 16:41:48 2012 [VMM][I]: Failed to execute
  virtualization driver operation: deploy.
  Thu Jun 21 16:41:48 2012 [VMM][E]: Error deploying virtual
  machine: Could not create domain from
  /var/lib/one/1/images/deployment.4
  Thu Jun 21 16:41:49 2012 [DiM][I]: New VM state is FAILED

Messages in /var/log/syslog at the same time:
Jun 22 10:17:01 tyan-host CRON[12881]: (root) CMD (   cd /
   run-parts --report /etc/cron.hourly)
  Jun 22 10:22:04 tyan-host kernel: [59025.594722] type=1505
  audit(1340353324.455:27):  operation="profile_load" pid=13044
  name="libvirt-f42d2d5f-e5a0-3bcd-a445-1d3d876451e1"
  Jun 22 10:22:04 tyan-host libvirtd: 10:22:04.470: error :
  qemuDomainSetFileOwnership: : cannot set ownership on
  /var/lib/one/1/images/disk.0: Permission denied
  Jun 22 10:22:34 tyan-host libvirtd: 10:22:34.481: error :
  qemuMonitorOpenUnix:268 : monitor socket did not show up.: No such
  file or directory
  Jun 22 10:22:34 tyan-host libvirtd: 10:22:34.481: error :
  qemuConnectMonitor:822 : Failed to connect monitor for one-1#012
  Jun 22 10:22:34 tyan-host libvirtd: 10:22:34.665: error :
  qemuDomainSetFileOwnership: : cannot set ownership on
  /var/lib/one/1/images/disk.1: Permission denied
  Jun 22 10:22:34 tyan-host libvirtd: 10:22:34.665: warning :
  qemudShutdownVMDaemon:2703 : Failed to restore all device
  ownership for one-1
  Jun 22 10:22:34 tyan-host kernel: [59055.797448] type=1505
  audit(1340353354.655:28):  operation="profile_remove" pid=13051
  name="libvirt-f42d2d5f-e5a0-3bcd-a445-1d3d876451e1"
  namespace="root"

Jan



Dňa 21.06.2012 17:19, Javier Fontan  wrote / napísal(a):

  Also, I supposte oned is running as oneadmin user. Just to check.

On Thu, Jun 21, 2012 at 5:19 PM, Javier Fontan jfon...@opennebula.org wrote:

  
I am checking my configuration ans the only differences are:

* oneadmin is in group oneadmin
* qemu group is oneadmin
* /var/lib/one/** lrwk, line is in /etc/apparmor.d/local/usr.sbin.libvirtd

Can you try moving the line of apparmor to
/etc/apparmor.d/local/usr.sbin.libvirtd? Maybe there's a precedence
problem that we don't know of. Unfortunately I am not an apparmor.

On Thu, Jun 21, 2012 at 9:55 AM, Jan Benadik jan.bena...@atos.net wrote:


  So - now I have still the same error message in oned.log:
Thu Jun 21 09:26:42 2012 [LCM][I]: New VM state is BOOT
Thu Jun 21 09:26:42 2012 [VMM][I]: Generating deployment file:
/var/lib/one/0/deployment.38
Thu Jun 21 09:26:42 2012 [VMM][I]: ExitCode: 0
Thu Jun 21 09:26:42 2012 [VMM][I]: Successfully execute network driver
operation: pre.
Thu Jun 21 09:26:44 2012 [VMM][I]: Command execution fail: cat  EOT |
/var/tmp/one/vmm/kvm/deploy /var/lib/one/0/images/deployment.38 myto 0 myto
Thu Jun 21 09:26:44 2012 [VMM][I]: error: Failed to create domain from
/var/lib/one/0/images/deployment.38
Thu Jun 21 09:26:44 2012 [VMM][I]: error: Unable to read from monitor:
Connection reset by peer
Thu Jun 21 09:26:44 2012 [VMM][E]: Could not create domain from
/var/lib/one/0/images/deployment.38
Thu Jun 21 09:26:44 2012 [VMM][I]: ExitCode: 255
Thu Jun 21 09:26:44 2012 [VMM][I]: Failed to execute virtualization driver
operation: deploy.
Thu Jun 21 09:26:44 2012 [VMM][E]: Error deploying virtual machine: Could
not create domain from /var/lib/one/0/images/deployment.38
Thu Jun 21 09:26:45 2012 [DiM][I]: New VM state is FAILED

At the 

Re: [one-users] cannot set ownership on /var/lib/one/1/images/disk.1: Permission denied

2012-06-22 Thread Jan Benadik
   drwx--  3 oneadmin cloud  4096 Jun 21 09:35 .cache
drwx--  3 oneadmin cloud  4096 Jun 21 09:35 .config
drwx--  3 oneadmin cloud  4096 Jun 21 09:35 .local
drwx--  2 oneadmin cloud  4096 Jun 20 09:49 .one
drwx--  2 oneadmin root   4096 Jun 20 17:43 .ssh
-rw---  1 oneadmin cloud  3977 Jun 21 09:49 .viminfo
drwxrwxrwx  3 oneadmin cloud  4096 Jun 21 16:18 0
drwxrwxrwx  3 oneadmin cloud  4096 Jun 22 08:44 1
-rw-r--r--  1 oneadmin cloud  1738 Jun 21 08:50 config
drwxrwx--T  2 oneadmin root   4096 Jun 21 16:01 images
-rw-r--r--  1 oneadmin cloud 91136 Jun 22 08:44 one.db
-rw-r--r--  1 oneadmin cloud 16384 Jun 20 16:28 oneacct.db
drwxr-xr-x  8 root root   4096 Jun 20 09:33 remotes
  
oneadmin@tyan-host:~/1$ pwd
/var/lib/one/1
oneadmin@tyan-host:~/1$ ls -la
total 164
drwxrwxrwx  3 oneadmin cloud 4096 Jun 22 08:44 .
drwxr-xr-x 11 oneadmin root  4096 Jun 22 08:44 ..
-rw-r--r--  1 oneadmin cloud  723 Jun 22 08:44 deployment.12
drwxrwxrwx  2 oneadmin cloud 4096 Jun 22 08:44 images
-rw-r--r--  1 oneadmin cloud  201 Jun 22 08:42
transfer.12.prolog

oneadmin@tyan-host:~/1/images$ pwd
/var/lib/one/1/images
oneadmin@tyan-host:~/1/images$ ls -la
total 2926580
drwxrwxrwx 2 oneadmin cloud   4096 Jun 22 08:44 .
drwxrwxrwx 3 oneadmin cloud   4096 Jun 22 08:44 ..
-rw-r--r-- 1 oneadmin cloud    724 Jun 22 08:44
deployment.12
-rw-rw-rw- 1 oneadmin cloud 2996799488 Jun 22 08:43 disk.0
lrwxrwxrwx 1 oneadmin cloud 52 Jun 22 08:43 disk.1 -
/var/lib/one/images/a1a5f9b12659a78bdc54e9fe9c6ecb79

  
Perhaps this helps to analyze the issue.

Jan

Dňa 21.06.2012 16:46, Jaime Melis  wrote / napísal(a):

  
  Hello Jan,
  
  
  have you tried disabling apparmor in this one?
  
  
  cheers,
Jaime
    
On Thu, Jun 21, 2012 at 4:34 PM, Jan
  Benadik jan.bena...@atos.net
  wrote:
  
 Hi all,
  
  I tried to install another host (Ubuntu 10.04 Server)
  and error message in oned.log is a little bit
  different (see $SUBJ), error message in
  /var/log/syslog is different too
  (one-1 is name of VM instance):

  Jun 21 18:46:18 tyan-host kernel: [ 2879.259739]
  type=1505 audit(1340297178.115:19): 
  operation="profile_load" pid=2267
  name="libvirt-1eda663e-1510-f50b-daf1-97c089f7872c"
  Jun 21 18:46:18 tyan-host libvirtd: 18:46:18.135:
  error : qemuDomainSetFileOwnership: : cannot set
  ownership on /var/lib/one/1/images/disk.0: Permission
  denied
  Jun 21 18:46:48 tyan-host libvirtd: 18:46:48.146:
  error : qemuMonitorOpenUnix:268 : monitor socket did
  not show up.: No such file or directory
  Jun 21 18:46:48 tyan-host libvirtd: 18:46:48.146:
  error : qemuConnectMonitor:822 : Failed to connect
  monitor for one-1#012
  Jun 21 18:46:48 tyan-host kernel: [ 2909.461423]
  type=1505 audit(1340297208.315:20): 
  operation="profile_remove" pid=2276
  name="libvirt-1eda663e-1510-f50b-daf1-97c089f7872c"
  namespace="root"
  Jun 21 18:46:48 tyan-host libvirtd: 18:46:48.329:
  error : qemuDomainSetFileOwnership: : cannot set
  ownership on /var/lib/one/1/images/disk.1: Permission
  denied
  Jun 21 18:46:48 tyan-host libvirtd: 18:46:48.329:
  warning : qemudShutdownVMDaemon:2703 : Failed to
  restore all device ownership for one-1
 
  
  Any idea?
  
  -- 
 
  Ján Beňadik
   Managed Services - Solution
Design Architect
+421 46
  5151 332
+421 903
  691 634
jan.bena...@atos.net
Vinohradnícka 6, 971 01 Prievidza
www.sk.atos.net
__


   


___
Users maili

Re: [one-users] Error when instantiating VM from image - next status

2012-06-22 Thread Jan Benadik

  
  
Yes - I had the same idea already :-)
I tried to set management node as host and deploy VM there - it
works ...
So - it seems to be an NFS issue.

But - I cannot shutdown running VM. VM is in shutdown state for a
while and after that is running again ...

I will try SSH transfer.

Jan

Dňa 22.06.2012 11:21, Jaime Melis  wrote / napísal(a):

  
  Hello Jan,
  
  
  let's try without NFS just to rule it out. Can you use the
SSH transfer driver:
  http://opennebula.org/documentation:rel3.4:fs_ds#using_the_ssh_transfer_driver
  and try launching the VM again?
  
  
  By the way, after reading your logs it seems you're not using
the last stable release OpenNebula 3.4. Could you upgrade to
this release?
  
  
  Regards,
Jaime

On Fri, Jun 22, 2012 at 8:01 AM, Jan
  Benadik jan.bena...@atos.net
  wrote:
  
 Yes, it runs:
  oneadmin@nebula-3:~$ ps aux |grep oned
oneadmin 10158  0.0  0.1 1172252 8020 ?    Sl  
Jun21   0:22 /usr/bin/oned -f
  
  When I changed security_driver in qemu.conf to default
  state
  /etc/libvirt/qemu.conf:
# security_driver = "selinux"
  my error message went back to previous state (but still
  was there) ...
  
  When I replaced OS on host to Ubuntu 10.04 Server (with
  the same settings), error message is:
  
  Thu Jun 21 16:41:17 2012 [LCM][I]: New VM state is
BOOT
Thu Jun 21 16:41:17 2012 [VMM][I]: Generating deployment
file: /var/lib/one/1/deployment.4
Thu Jun 21 16:41:17 2012 [VMM][I]: ExitCode: 0
Thu Jun 21 16:41:17 2012 [VMM][I]: Successfully execute
network driver operation: pre.
Thu Jun 21 16:41:48 2012 [VMM][I]: Command execution
fail: cat  EOT | /var/tmp/one/vmm/kvm/deploy
/var/lib/one/1/images/deployment.4 tyan 1 tyan
Thu Jun 21 16:41:48 2012 [VMM][I]: error: Failed to
create domain from /var/lib/one/1/images/deployment.4
Thu Jun 21 16:41:48 2012 [VMM][I]: error: cannot set
  ownership on /var/lib/one/1/images/disk.1: Permission
  denied
Thu Jun 21 16:41:48 2012 [VMM][E]: Could not create
domain from /var/lib/one/1/images/deployment.4
Thu Jun 21 16:41:48 2012 [VMM][I]: ExitCode: 255
Thu Jun 21 16:41:48 2012 [VMM][I]: Failed to execute
virtualization driver operation: deploy.
Thu Jun 21 16:41:48 2012 [VMM][E]: Error deploying
virtual machine: Could not create domain from
/var/lib/one/1/images/deployment.4
Thu Jun 21 16:41:49 2012 [DiM][I]: New VM state is
FAILED
  
  Messages in /var/log/syslog at the same time:
  Jun 22 10:17:01 tyan-host CRON[12881]: (root) CMD
(   cd /  run-parts --report /etc/cron.hourly)
Jun 22 10:22:04 tyan-host kernel: [59025.594722]
type=1505 audit(1340353324.455:27): 
operation="profile_load" pid=13044
name="libvirt-f42d2d5f-e5a0-3bcd-a445-1d3d876451e1"
Jun 22 10:22:04 tyan-host libvirtd: 10:22:04.470: error
: qemuDomainSetFileOwnership: : cannot set ownership
on /var/lib/one/1/images/disk.0: Permission denied
Jun 22 10:22:34 tyan-host libvirtd: 10:22:34.481: error
: qemuMonitorOpenUnix:268 : monitor socket did not show
up.: No such file or directory
Jun 22 10:22:34 tyan-host libvirtd: 10:22:34.481: error
: qemuConnectMonitor:822 : Failed to connect monitor for
one-1#012
Jun 22 10:22:34 tyan-host libvirtd: 10:22:34.665: error
: qemuDomainSetFileOwnership: : cannot set ownership
on /var/lib/one/1/images/disk.1: Permission denied
Jun 22 10:22:34 tyan-host libvirtd: 10:22:34.665:
warning : qemudShutdownVMDaemon:2703 : Failed to restore
all device ownership for one-1
Jun 22 10:22:34 tyan-host kernel: [59055.797448]
type=1505 audit(1340353354.655:28): 
operation="profile_remove" pid=13051
name="libvirt-f42d2d5f-e5a0-3bcd-a445-1d3d876451e1"
namespace="root"
  
  Jan
  
  
  
  Dňa 21

[one-users] Fwd: Re: Error when instantiating VM from image - next status

2012-06-22 Thread Jan Benadik

  
  
I used Opennebula from Ubuntu repository, so it is version 3.2.1-2.
I will try to upgrade it to version 3.4.

SSh transfer is vry slow (that is why I don't know if it
works yet ...), but definitely the issue is NFS in my case.
Which parameters has to be set?

Jan

- Pôvodná správa -

  

  Predmet: 
  Re: [one-users] Error when instantiating VM from image -
next status


  Dátum: 
  Fri, 22 Jun 2012 11:58:02 +0200


  Od: 
  Jaime Melis jme...@opennebula.org


  Pre: 
  jan.bena...@atos.net


  Kópia: 
  Javier Fontan jfon...@opennebula.org,
users@lists.opennebula.org

  




Hello Jan,


I forgot to mention that it's not enough with using the SSH
  transfer driver, you also have to unmount all your NFS exports in
  your hypervisor node, so the disk images aren't copied to an NFS
  filesystem.


Cheers,
  Jaime
  
  On Fri, Jun 22, 2012 at 11:21 AM, Jaime
Melis jme...@opennebula.org
wrote:
Hello Jan,
  
  
  let's try without NFS just to rule it out. Can you use
the SSH transfer driver:
  http://opennebula.org/documentation:rel3.4:fs_ds#using_the_ssh_transfer_driver
  and try launching the VM again?
  
  
  By the way, after reading your logs it seems you're not
using the last stable release OpenNebula 3.4. Could you
upgrade to this release?
  
  
  Regards,
Jaime

  

On Fri, Jun 22, 2012 at 8:01
  AM, Jan Benadik jan.bena...@atos.net
  wrote:
  
 Yes, it runs:
  oneadmin@nebula-3:~$ ps aux |grep oned
oneadmin 10158  0.0  0.1 1172252 8020 ?   
Sl   Jun21   0:22 /usr/bin/oned -f
  
  When I changed security_driver in qemu.conf to
  default state
  /etc/libvirt/qemu.conf:
# security_driver = "selinux"
  my error message went back to previous state (but
  still was there) ...
  
  When I replaced OS on host to Ubuntu 10.04 Server
  (with the same settings), error message is:
  
  Thu Jun 21 16:41:17 2012 [LCM][I]: New VM
state is BOOT
Thu Jun 21 16:41:17 2012 [VMM][I]: Generating
deployment file: /var/lib/one/1/deployment.4
Thu Jun 21 16:41:17 2012 [VMM][I]: ExitCode: 0
Thu Jun 21 16:41:17 2012 [VMM][I]: Successfully
execute network driver operation: pre.
Thu Jun 21 16:41:48 2012 [VMM][I]: Command
execution fail: cat  EOT |
/var/tmp/one/vmm/kvm/deploy
/var/lib/one/1/images/deployment.4 tyan 1 tyan
Thu Jun 21 16:41:48 2012 [VMM][I]: error: Failed
to create domain from
/var/lib/one/1/images/deployment.4
Thu Jun 21 16:41:48 2012 [VMM][I]: error:
  cannot set ownership on
  /var/lib/one/1/images/disk.1: Permission
  denied
Thu Jun 21 16:41:48 2012 [VMM][E]: Could not
create domain from
/var/lib/one/1/images/deployment.4
Thu Jun 21 16:41:48 2012 [VMM][I]: ExitCode: 255
Thu Jun 21 16:41:48 2012 [VMM][I]: Failed to
execute virtualization driver operation: deploy.
Thu Jun 21 16:41:48 2012 [VMM][E]: Error
deploying virtual machine: Could not create
domain from /var/lib/one/1/images/deployment.4
Thu Jun 21 16:41:49 2012 [DiM][I]: New VM state
is FAILED
  
  Messages in /var/log/syslog at the same time:
  Jun 22 10:17:01 tyan-host CRON[12881]:
(root) CMD (   cd /  run-parts
--report /etc/cron.hourly)
Jun 22 10:22:04 tyan-host kernel: [59025.594722]
type=1505 audit(1340353324.455:27): 
operation="profile_load" pid=13044
name="libvirt-f42d2d5f-e5

Re: [one-users] Error when instantiating VM from image - next status

2012-06-22 Thread Jan Benadik

  
  
Other error message (with SSH transfer driver used):
Fri Jun 22 14:08:53 2012 [LCM][I]: New VM state is BOOT
  Fri Jun 22 14:08:53 2012 [VMM][I]: Generating deployment file:
  /var/lib/one/0/deployment.1
  Fri Jun 22 14:08:53 2012 [VMM][I]: ExitCode: 0
  Fri Jun 22 14:08:53 2012 [VMM][I]: Successfully execute network
  driver operation: pre.
  Fri Jun 22 14:09:24 2012 [VMM][I]: Command execution fail: cat
   EOT | /var/tmp/one/vmm/kvm/deploy
  /var/lib/one/0/images/deployment.1 10.0.5.201 0 10.0.5.201
  Fri Jun 22 14:09:24 2012 [VMM][I]: error: Failed to create domain
  from /var/lib/one/0/images/deployment.1
  Fri Jun 22 14:09:24 2012 [VMM][I]: error: monitor socket did
not show up.: No such file or directory
  Fri Jun 22 14:09:24 2012 [VMM][E]: Could not create domain from
  /var/lib/one/0/images/deployment.1
  Fri Jun 22 14:09:24 2012 [VMM][I]: ExitCode: 255
  Fri Jun 22 14:09:24 2012 [VMM][I]: Failed to execute
  virtualization driver operation: deploy.
  Fri Jun 22 14:09:24 2012 [VMM][E]: Error deploying virtual
  machine: Could not create domain from
  /var/lib/one/0/images/deployment.1
  Fri Jun 22 14:09:25 2012 [DiM][I]: New VM state is FAILED
  
  In syslog it is very similar:
Jun 22 16:45:01 tyan-host kernel: [82002.423842] type=1505
  audit(1340376301.285:71):  operation="profile_load" pid=24477
  name="libvirt-3cd36a8d-dd19-6b86-333e-f0249700ba79"
  Jun 22 16:45:01 tyan-host libvirtd: 16:45:01.317: error :
  qemuDomainSetFileOwnership: : cannot set ownership on
  /var/lib/one/0/images/disk.0: Permission denied
  Jun 22 16:45:31 tyan-host libvirtd: 16:45:31.327: error :
  qemuMonitorOpenUnix:268 : monitor socket did not show up.: No such
  file or directory
  Jun 22 16:45:31 tyan-host libvirtd: 16:45:31.328: error :
  qemuConnectMonitor:822 : Failed to connect monitor for one-0#012
  Jun 22 16:45:31 tyan-host kernel: [82032.643614] type=1505
  audit(1340376331.505:72):  operation="profile_remove" pid=24585
  name="libvirt-3cd36a8d-dd19-6b86-333e-f0249700ba79"
  namespace="root"
  

Jan







Dňa 22.06.2012 11:58, Jaime Melis  wrote / napísal(a):

  
  Hello Jan,
  
  
  I forgot to mention that it's not enough with using the SSH
transfer driver, you also have to unmount all your NFS exports
in your hypervisor node, so the disk images aren't copied to an
NFS filesystem.
  
  
  Cheers,
Jaime

On Fri, Jun 22, 2012 at 11:21 AM, Jaime
  Melis jme...@opennebula.org
  wrote:
  Hello Jan,


let's try without NFS just to rule it out. Can you use
  the SSH transfer driver:
http://opennebula.org/documentation:rel3.4:fs_ds#using_the_ssh_transfer_driver
and try launching the VM again?


By the way, after reading your logs it seems you're not
  using the last stable release OpenNebula 3.4. Could you
  upgrade to this release?


Regards,
  Jaime
  

  
  On Fri, Jun 22, 2012 at 8:01
AM, Jan Benadik jan.bena...@atos.net
wrote:

   Yes, it
runs:
oneadmin@nebula-3:~$ ps aux |grep oned
  oneadmin 10158  0.0  0.1 1172252 8020 ?   
  Sl   Jun21   0:22 /usr/bin/oned -f

When I changed security_driver in qemu.conf to
default state
/etc/libvirt/qemu.conf:
# security_driver = "selinux"
my error message went back to previous state
(but still was there) ...

When I replaced OS on host to Ubuntu 10.04
Server (with the same settings), error message
is:

Thu Jun 21 16:41:17 2012 [LCM][I]: New VM
  state is BOOT
  Thu Jun 21 16:41:17 2012 [VMM][I]: Generating
  deployment file: /var/lib/one/1/deployment.4
  Thu Jun 21 16:41:17 2012 [VMM][I]: ExitCode: 0
  Thu Jun 21 16:41:17 2012 [VMM][I]:
  Successfully execute network driver operation:
  pre.
  Thu Jun 21 16:41:48 2012 [VMM][I]: Command
  execution fail: cat 

[one-users] Error when instantiating VM from image - next status

2012-06-21 Thread Jan Benadik

  
  
So - now I have still the same error message in oned.log:
Thu Jun 21 09:26:42 2012 [LCM][I]: New VM state is BOOT
  Thu Jun 21 09:26:42 2012 [VMM][I]: Generating deployment file:
  /var/lib/one/0/deployment.38
  Thu Jun 21 09:26:42 2012 [VMM][I]: ExitCode: 0
  Thu Jun 21 09:26:42 2012 [VMM][I]: Successfully execute network
  driver operation: pre.
  Thu Jun 21 09:26:44 2012 [VMM][I]: Command execution fail: cat
   EOT | /var/tmp/one/vmm/kvm/deploy
  /var/lib/one/0/images/deployment.38 myto 0 myto
  Thu Jun 21 09:26:44 2012 [VMM][I]: error: Failed to create domain
  from /var/lib/one/0/images/deployment.38
  Thu Jun 21 09:26:44 2012 [VMM][I]: error: Unable to read from
  monitor: Connection reset by peer
  Thu Jun 21 09:26:44 2012 [VMM][E]: Could not create domain from
  /var/lib/one/0/images/deployment.38
  Thu Jun 21 09:26:44 2012 [VMM][I]: ExitCode: 255
  Thu Jun 21 09:26:44 2012 [VMM][I]: Failed to execute
  virtualization driver operation: deploy.
  Thu Jun 21 09:26:44 2012 [VMM][E]: Error deploying virtual
  machine: Could not create domain from
  /var/lib/one/0/images/deployment.38
  Thu Jun 21 09:26:45 2012 [DiM][I]: New VM state is FAILED

At the same time in the /var/log/libvirt/libvirtd.log the
  following message appears:
2012-06-21 09:27:43.610+: 1114: warning :
  virDomainDiskDefForeachPath:13244 : Ignoring open failure on
  /var/lib/one/0/images/disk.1: Permission denied
  2012-06-21 09:27:44.296+: 1110: error : qemuMonitorIORead:513
  : Unable to read from monitor: Connection reset by peer
  
  Nothing in /var/log/syslog (doesn't matter if apparmor is
  running, stopped, flushed ...!).
  
  Permissions of files and folders:
  oneadmin@opennebula-host:/var/lib$ ls -ld
  /var/lib/one
  drwxr-xr-x 10 oneadmin root 4096 Jun 21 09:49 /var/lib/one
  
oneadmin@opennebula-host:/var/lib/one#
  ls -la
  total 132
  drwxr-xr-x  8 oneadmin root   4096 Jun 21 09:27 .
  drwxr-xr-x 37 root root   4096 Jun 21 06:30 ..
  -rw---  1 oneadmin cloud  2261 Jun 21 08:42 .bash_history
  drwx--  2 oneadmin cloud  4096 Jun 20 09:48 .cache
  drwx--  2 oneadmin cloud  4096 Jun 20 09:49 .one
  drwx--  2 oneadmin root   4096 Jun 20 17:43 .ssh
  -rw---  1 oneadmin cloud  3412 Jun 20 11:06 .viminfo
  drwxrwxrwx  3 oneadmin cloud  4096 Jun 21 09:26 0
  -rw-r--r--  1 oneadmin cloud  1738 Jun 21 08:50 config
  drwxrwx--T  2 oneadmin root   4096 Jun 20 10:57 images
  -rw-r--r--  1 oneadmin cloud 67584 Jun 21 09:27 one.db
  -rw-r--r--  1 oneadmin cloud 16384 Jun 20 16:28 oneacct.db
  drwxr-xr-x  8 root root   4096 Jun 20 09:33 remotes

oneadmin@opennebula-host:/var/lib/one/0#
  ls -la
  total 20
  drwxrwxrwx  3 oneadmin cloud 4096 Jun 21 09:36 .
  drwxr-xr-x 10 oneadmin root  4096 Jun 21 09:35 ..
  -rw-r--r--  1 oneadmin cloud  735 Jun 21 09:26 deployment.38
  drwxrwxrwx  2 oneadmin cloud 4096 Jun 21 09:26 images
  -rw-r--r--  1 oneadmin cloud  201 Jun 21 09:26
  transfer.38.prolog
  
oneadmin@opennebula-host:/var/lib/one/0/images#
  ls -la
  total 906256
  drwxrwxrwx 2 oneadmin cloud  4096 Jun 21 09:26 .
  drwxrwxrwx 3 oneadmin cloud  4096 Jun 21 09:36 ..
  -rw-r--r-- 1 oneadmin cloud   736 Jun 21 09:26
  deployment.38
  -rw-rw-rw- 1 oneadmin cloud 927989760 Jun 21 09:26 disk.0
  lrwxrwxrwx 1 oneadmin cloud    52 Jun 21 09:26 disk.1
  - /var/lib/one/images/9c52b90a79dba7c26a912d05ff5190b8
  
  oneadmin@opennebula-host:~/images$ ls -la
  total 1040116
  drwxrwx--T  2 oneadmin root    4096 Jun 20 10:57 .
  drwxr-xr-x 10 oneadmin root    4096 Jun 21 09:37 ..
  -rw-rw  1 oneadmin root   927989760 Jun 20 10:57
  46440b43448202b4ee69b4b541f5eeab
  -rw-rw  1 oneadmin root 10737418241 Jun 20 10:57
  9c52b90a79dba7c26a912d05ff5190b8
  

  Libvirtd and Qemu settings:
/etc/libvirt/libvirtd.conf:
listen_tls = 0
  listen_tcp = 1
  unix_sock_group = "libvirtd"
  unix_sock_ro_perms = "0777"
  unix_sock_rw_perms = "0777"
  unix_sock_dir = "/var/run/libvirt"
  auth_unix_ro = "none"
  auth_unix_rw = "none"

  /etc/libvirt/qemu.conf:
security_driver = "none"
  user = "oneadmin"
  group = "cloud"
  dynamic_ownership = 0

/etc/default/libvirt-bin:
start_libvirtd="yes"
  libvirtd_opts="-d -l"

/etc/apparmor.d/usr.sbin.libvirtd:
# Last Modified: Mon Jul  6 17:23:58 2009
  #include tunables/global
  

[one-users] cannot set ownership on /var/lib/one/1/images/disk.1: Permission denied

2012-06-21 Thread Jan Benadik

  
  
Hi all,

I tried to install another host (Ubuntu 10.04 Server) and error
message in oned.log is a little bit different (see $SUBJ), error
message in /var/log/syslog is different too
(one-1 is name of VM instance):
  
  Jun 21 18:46:18 tyan-host kernel: [ 2879.259739] type=1505
  audit(1340297178.115:19):  operation="profile_load" pid=2267
  name="libvirt-1eda663e-1510-f50b-daf1-97c089f7872c"
  Jun 21 18:46:18 tyan-host libvirtd: 18:46:18.135: error :
  qemuDomainSetFileOwnership: : cannot set ownership on
  /var/lib/one/1/images/disk.0: Permission denied
  Jun 21 18:46:48 tyan-host libvirtd: 18:46:48.146: error :
  qemuMonitorOpenUnix:268 : monitor socket did not show up.: No such
  file or directory
  Jun 21 18:46:48 tyan-host libvirtd: 18:46:48.146: error :
  qemuConnectMonitor:822 : Failed to connect monitor for one-1#012
  Jun 21 18:46:48 tyan-host kernel: [ 2909.461423] type=1505
  audit(1340297208.315:20):  operation="profile_remove" pid=2276
  name="libvirt-1eda663e-1510-f50b-daf1-97c089f7872c"
  namespace="root"
  Jun 21 18:46:48 tyan-host libvirtd: 18:46:48.329: error :
  qemuDomainSetFileOwnership: : cannot set ownership on
  /var/lib/one/1/images/disk.1: Permission denied
  Jun 21 18:46:48 tyan-host libvirtd: 18:46:48.329: warning :
  qemudShutdownVMDaemon:2703 : Failed to restore all device
  ownership for one-1
  

Any idea?

-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 
  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Error when instantiating VM from image

2012-06-20 Thread Jan Benadik

  
  
Thanks for reply, but it doesn't help.
Still the same result ...:-(

Jan

Dňa 19.06.2012 19:06, Jaime Melis  wrote / napísal(a):

  
  Hello,
  
  
  You probably need to add oneadmin to the disk group.
  
Let us know if that doesn't work.
  
Cheers,
Jaime

On Mon, Jun 18, 2012 at 12:44 PM, Jan
  Benadik jan.bena...@atos.net
  wrote:
  
 Hi all,
  
  I have two machines with Ubuntu 12.04 Server ("central"
  and "host"), KVM hypervisor, Opennebula 3.2.1, shared
  /var/lib/one folder (nfs)
  User "oneadmin" and group "cloud" has the same uid and gid
  on both systems, user oneadmin is a member of kvm and
  libvirtd group too.
  
  In /etc/libvirt/libvirtd.conf I have set :
  listen_tls = 0
  listen_tcp = 1
  unix_sock_group = "libvirtd"
  unix_sock_ro_perms = "0777"
  unix_sock_rw_perms = "0777"
  unix_sock_dir = "/var/run/libvirt"
  auth_unix_ro = "none"
  auth_unix_rw = "none"
  
  In /etc/libvirt/qemu.conf I have set :
  - user = "oneadmin"
  - group = "cloud"
  - dynamic_ownership = 0
  
  In /etc/apparmor.d/usr.sbin.libvirtd I have set:
  /var/lib/one/** lrwk,
  
  Daemon libvirtd is running on both machines.
  Permissions for /var/lib/one folder are:
  drwxr-xr-x 15 oneadmin root 4096 June 18 10:46 one
  
  Permissions of folder /var/lib/one/images are:
  drwsrws--T 2 oneadmin cloud 4096 June 18 10:46 images
  
  Permissions of images are:
  -rw-rw 1 oneadmin cloud     688914432  June 18 10:46
  e9203521a014fd8045d64206277acaa6f
  -rw-rw 1 oneadmin cloud 10737418241 June 18 10:46
  6f2589756c6432563546cc36543c55465
  
  
  Monitoring of host is working, but if I want to start VM,
  the folloving error is in /var/log/one/oned.log:
  Mon Jun 18 10:17:56 2012 [DiM][I]: New VM state is ACTIVE.
  Mon Jun 18 10:17:57 2012 [LCM][I]: New VM state is PROLOG.
  Mon Jun 18 10:17:57 2012 [VM][I]: Virtual Machine has no
  context
  Mon Jun 18 10:17:58 2012 [TM][D]: tm_clone.sh:
  seed:/var/lib/one/images/e9203521a14fd8045d64206277acaa6f
  myto:/var/lib/one/5/images/disk.0
  Mon Jun 18 10:17:58 2012 [TM][D]: tm_clone.sh: DST:
  /var/lib/one/5/images/disk.0
  Mon Jun 18 10:17:58 2012 [TM][I]: tm_clone.sh: Creating
  directory /var/lib/one/5/images
  Mon Jun 18 10:17:58 2012 [TM][I]: tm_clone.sh: Executed
  "mkdir -p /var/lib/one/5/images".
  Mon Jun 18 10:17:58 2012 [TM][I]: tm_clone.sh: Executed
  "chmod a+w /var/lib/one/5/images".
  Mon Jun 18 10:17:58 2012 [TM][I]: tm_clone.sh: Cloning
  /var/lib/one/images/e9203521a14fd8045d64206277acaa6f
  Mon Jun 18 10:17:58 2012 [TM][I]: tm_clone.sh: Executed
  "cp -r
  /var/lib/one/images/e9203521a14fd8045d64206277acaa6f
  /var/lib/one/5/images/disk.0".
  Mon Jun 18 10:17:58 2012 [TM][I]: tm_clone.sh: Executed
  "chmod a+rw /var/lib/one/5/images/disk.0".
  Mon Jun 18 10:17:58 2012 [TM][I]: ExitCode: 0
  Mon Jun 18 10:17:58 2012 [TM][I]: tm_ln.sh: Creating
  directory /var/lib/one/5/images
  Mon Jun 18 10:17:58 2012 [TM][I]: tm_ln.sh: Executed
  "mkdir -p /var/lib/one/5/images".
  Mon Jun 18 10:17:58 2012 [TM][I]: tm_ln.sh: Executed
  "chmod a+w /var/lib/one/5/images".
  Mon Jun 18 10:17:58 2012 [TM][I]: tm_ln.sh: Link
  /var/lib/one/images/6f540e1c32177f6e5f5cc9a51bc42408
  Mon Jun 18 10:17:58 2012 [TM][I]: tm_ln.sh: Executed "ln
  -s /var/lib/one/images/6f540e1c32177f6e5f5cc9a51bc42408
  /var/lib/one/5/images/disk.1".
  Mon Jun 18 10:17:58 2012 [TM][I]: ExitCode: 0
  Mon Jun 18 10:18:04 2012 [LCM][I]: New VM state is BOOT
  Mon Jun 18 10:18:04 2012 [VMM][I]: Generating deployment
  file: /var/lib/one/5/deployment.0
  Mon Jun 18 10:18:04 2012 [VMM][I]: ExitCode: 0
  Mon Jun 18 10:18:04 2012 [VMM][I]: Successfully execute
  network driver operation: p

Re: [one-users] Error when instantiating VM from image

2012-06-20 Thread Jan Benadik

  
  
ad1) 
- doesn't help, libvirtd daemon didn't start (dnsmasq only)
- yes - it is owned by oneadmin (but this is link only, original
file is owned by oneadmin too)

ad2) - doesn't help

Still the same error message.


Jan

Dňa 20.06.2012 09:12, cloud.b.lab  wrote / napísal(a):

  
  Jan,

This reply is from a ONE user.

Try after making following change:

1) In /etc/libvirt/libvirtd.conf set :

#unix_sock_group = "libvirtd"
unix_sock_group = "oneadmin"



Restart Libvirt-bin.

Also just check if the ownership of /var/lib/one/5/images/disk.1
is with oneadmin.

If that does't help try with following too
2) In /etc/libvirt/qemu.conf I have set 
dynamic_ownership = 1

Regards,
Anil.

   On Tue, 19 Jun 2012 23:32:43 -0700 Jan Benadikjan.bena...@atos.net wrote
   



   Thanks for reply, but
it doesn't help.
Still the same result ...:-(

Jan

Dňa 19.06.2012 19:06, Jaime Melis  wrote / napísal(a):
 Hello,
  
  
  You probably need to add oneadmin to the disk group.
  
Let us know if that doesn't work.
  
Cheers,
Jaime

On Mon, Jun 18, 2012 at 12:44 PM, Jan Benadik jan.bena...@atos.net
  wrote:
  
 Hi all,
  
  I have two machines with Ubuntu 12.04 Server
  ("central" and "host"), KVM hypervisor, Opennebula
  3.2.1, shared /var/lib/one folder (nfs)
  User "oneadmin" and group "cloud" has the same uid
  and gid on both systems, user oneadmin is a member
  of kvm and libvirtd group too.
  
  In /etc/libvirt/libvirtd.conf I have set :
  listen_tls = 0
  listen_tcp = 1
  unix_sock_group = "libvirtd"
  unix_sock_ro_perms = "0777"
  unix_sock_rw_perms = "0777"
  unix_sock_dir = "/var/run/libvirt"
  auth_unix_ro = "none"
  auth_unix_rw = "none"
  
  In /etc/libvirt/qemu.conf I have set :
  - user = "oneadmin"
  - group = "cloud"
  - dynamic_ownership = 0
  
  In /etc/apparmor.d/usr.sbin.libvirtd I have set:
  /var/lib/one/** lrwk,
  
  Daemon libvirtd is running on both machines.
  Permissions for /var/lib/one folder are:
  drwxr-xr-x 15 oneadmin root 4096 June 18 10:46 one
  
  Permissions of folder /var/lib/one/images are:
  drwsrws--T 2 oneadmin cloud 4096 June 18 10:46
  images
  
  Permissions of images are:
  -rw-rw 1 oneadmin cloud     688914432  June 18
  10:46 e9203521a014fd8045d64206277acaa6f
  -rw-rw 1 oneadmin cloud 10737418241 June 18
  10:46 6f2589756c6432563546cc36543c55465
  
  
  Monitoring of host is working, but if I want to
  start VM, the folloving error is in
  /var/log/one/oned.log:
  Mon Jun 18 10:17:56 2012 [DiM][I]: New VM state is
  ACTIVE.
  Mon Jun 18 10:17:57 2012 [LCM][I]: New VM state is
  PROLOG.
  Mon Jun 18 10:17:57 2012 [VM][I]: Virtual Machine
  has no context
  Mon Jun 18 10:17:58 2012 [TM][D]: tm_clone.sh:
  seed:/var/lib/one/images/e9203521a14fd8045d64206277acaa6f
  myto:/var/lib/one/5/images/disk.0
  Mon Jun 18 10:17:58 2012 [TM][D]: tm_clone.sh:
  DST: /var/lib/one/5/images/disk.0
  Mon Jun 18 10:17:58 2012 [TM][I]: tm_clone.sh:
  Creating directory /var/lib/one/5/images
  Mon Jun 18 10:17:58 2012 [TM][I]: tm_clone.sh:
  Executed "mkdir -p /var/lib/one/5/images".

Re: [one-users] Error when instantiating VM from image

2012-06-20 Thread Jan Benadik

  
  
oneadminoneadmin@nebula-3:~$ ls -l `readlink -f 
/var/lib/one/0/images/disk.1`
-rw-rw 1 oneadmin root 10737418241 Jun 20 10:57
/var/lib/one/images/9c52b90a79dba7c26a912d05ff5190b8
oneadmin@nebula-3:~$ id
uid=108(oneadmin) gid=115(cloud)
groups=115(cloud),6(disk),105(kvm),111(libvirtd)
oneadmin@nebula-3:~$ grep -Ev '^($|#)' /etc/libvirt/qemu.conf
user = "oneadmin"
group = "cloud"
dynamic_ownership = 0
oneadmin@nebula-3:~$ 


Dňa 20.06.2012 11:23, Jaime Melis  wrote / napísal(a):

  
  Hello Jan,
  
  
  can you please revert to your initial conf (dyn_ownership =
0) and send us:
  
  
  # something like this (the disk will have probably changed by
now):
  $ ls -l `readlink -f  /var/lib/one/5/images/disk.1`
  

  and:
  $ id
  $ grep -Ev '^($|#)' /etc/libvirt/qemu.conf
  

  can you confirm that libvirtd is running and
  restarted?
  

  regards,
  Jaime
  
On Wed, Jun 20, 2012 at 11:14 AM, Jan
  Benadik jan.bena...@atos.net
  wrote:
  
 ad1) 
  - doesn't help, libvirtd daemon didn't start (dnsmasq
  only)
  - yes - it is owned by oneadmin (but this is link only,
  original file is owned by oneadmin too)
  
  ad2) - doesn't help
  
  Still the same error message.
  
  
  Jan
  
  Dňa 20.06.2012 09:12, cloud.b.lab  wrote / napísal(a):
  

  
Jan,
  
  This reply is from a ONE user.
  
  Try after making following change:
  
  1) In /etc/libvirt/libvirtd.conf set :
  
  #unix_sock_group = "libvirtd"
  unix_sock_group = "oneadmin"
  
  
  
  Restart Libvirt-bin.
  
  Also just check if the ownership of
  /var/lib/one/5/images/disk.1 is with oneadmin.
  
  If that does't help try with following too
  2) In /etc/libvirt/qemu.conf I have set 
  dynamic_ownership = 1
  
  Regards,
  Anil.
  
 On Tue, 19 Jun 2012 23:32:43 -0700 Jan
  Benadikjan.bena...@atos.net
wrote  
  
  
  
 Thanks
  for reply, but it doesn't help.
  Still the same result ...:-(
  
  Jan
  
  Dňa 19.06.2012 19:06, Jaime Melis  wrote /
  napísal(a):
   Hello,


You probably need to add oneadmin to
  the disk group.

  Let us know if that doesn't work.

  Cheers,
  Jaime
  
      On Mon, Jun 18, 2012 at 12:44 PM, Jan
Benadik jan.bena...@atos.net
wrote:

  
Hi all,

I have two machines with Ubuntu
12.04 Server ("central" and "host"),
KVM hypervisor, Opennebula 3.2.1,
shared /var/lib/one folder (nfs)
User "oneadmin" and group "cloud"
has the same uid and gid on both
systems, user oneadmin is a member
of kvm and libvirtd group too.

In /etc/libvirt/libvirtd.conf I have
set :
listen_tls = 0
listen_tcp = 1
unix_sock_group = "libvirtd"

[one-users] Fwd: Re: Error when instantiating VM from image

2012-06-20 Thread Jan Benadik

  
  
And of course - libvirtd daemon is restarted and running on both
machines.

oneadmin@opennebula-host:~$ ps aux|grep libv
root  1010  0.0  0.0 852624  6612 ?    Sl   12:03   0:00
/usr/sbin/libvirtd -d -l
106   1107  0.0  0.0  25964   992 ?    S    12:03   0:00
/usr/sbin/dnsmasq -u libvirt-dnsmasq --strict-order
--bind-interfaces --pid-file=/var/run/libvirt/network/default.pid
--conf-file= --except-interface lo --listen-address 192.168.122.1
--dhcp-range 192.168.122.2,192.168.122.254
--dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases
--dhcp-lease-max=253 --dhcp-no-override
oneadmin  7053  0.0  0.0   9352   652 pts/0    S+   14:23   0:00
grep libv
oneadmin@opennebula-host:~$ 

oneadmin@nebula-3:~$ ps aux|grep libv
106   2439  0.0  0.0  25964   928 ?    S    10:09   0:00
/usr/sbin/dnsmasq -u libvirt-dnsmasq --strict-order
--bind-interfaces --pid-file=/var/run/libvirt/network/default.pid
--conf-file= --except-interface lo --listen-address 192.168.122.1
--dhcp-range 192.168.122.2,192.168.122.254
--dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases
--dhcp-lease-max=253 --dhcp-no-override
root 19329  0.0  0.1 262560  5864 ?    Sl   12:14   0:00
/usr/sbin/libvirtd -d -l
oneadmin 19659  0.0  0.0   8072   648 pts/1    S+   12:22   0:00
grep libv
oneadmin@nebula-3:~$ 

Jan

- Pôvodná správa -

  

  Predmet: 
  Re: [one-users] Error when instantiating VM from image


  Dátum: 
  Wed, 20 Jun 2012 12:15:01 +0200


  Od: 
  Jan Benadik jan.bena...@atos.net


  Odpoveď
komu: 
  jan.bena...@atos.net


  Organizácia:
  
  Atos IT Solutions and Services s.r.o.


  Pre: 
  Jaime Melis jme...@opennebula.org


  Kópia: 
  cloud.b.lab cloud.b@zoho.com,
users@lists.opennebula.org

  




oneadminoneadmin@nebula-3:~$ ls -l `readlink -f 
/var/lib/one/0/images/disk.1`
-rw-rw 1 oneadmin root 10737418241 Jun 20 10:57
/var/lib/one/images/9c52b90a79dba7c26a912d05ff5190b8
oneadmin@nebula-3:~$ id
uid=108(oneadmin) gid=115(cloud)
groups=115(cloud),6(disk),105(kvm),111(libvirtd)
oneadmin@nebula-3:~$ grep -Ev '^($|#)' /etc/libvirt/qemu.conf
user = "oneadmin"
group = "cloud"
dynamic_ownership = 0
oneadmin@nebula-3:~$ 


Dňa 20.06.2012 11:23, Jaime Melis  wrote / napísal(a):

  
  Hello Jan,
  
  
  can you please revert to your initial conf (dyn_ownership =
0) and send us:
  
  
  # something like this (the disk will have probably changed by
now):
  $ ls -l `readlink -f  /var/lib/one/5/images/disk.1`
  

  and:
  $ id
  $ grep -Ev '^($|#)' /etc/libvirt/qemu.conf
  

  can you confirm that libvirtd is running and
  restarted?
  

  regards,
  Jaime
  
On Wed, Jun 20, 2012 at 11:14 AM, Jan
  Benadik jan.bena...@atos.net
  wrote:
  
 ad1) 
  - doesn't help, libvirtd daemon didn't start (dnsmasq
  only)
  - yes - it is owned by oneadmin (but this is link only,
  original file is owned by oneadmin too)
  
  ad2) - doesn't help
  
  Still the same error message.
  
  
  Jan
  
  Dňa 20.06.2012 09:12, cloud.b.lab  wrote / napísal(a):
  

  
Jan,
  
  This reply is from a ONE user.
  
  Try after making following change:
  
  1) In /etc/libvirt/libvirtd.conf set :
  
  #unix_sock_group = "libvirtd"
  unix_sock_group = "oneadmin"
  
  
  
  Restart Libvirt-bin.
  
  Also just check if the ownership of
  /var/lib/one/5/images/disk.1 is with oneadmin.
  
  If that does't help try with following too
  2) In /etc/libvirt/qemu.conf I have set 
  dynamic_ownership = 1
  
  Regards,
  Anil.
  
 On Tue, 19 Jun 2012 23:32:43 -0700 Jan
  Benadikjan.bena..

Re: [one-users] Fwd: Re: Error when instantiating VM from image

2012-06-20 Thread Jan Benadik

  
  
Maybe bingo?

In /etc/apparmor.d/usr.sbin.libvirtd I have set (on ONE-server and host too):
/var/lib/one/** lrwk,
and /var/lib/syslog on host is saying (at deployment time):

Jun 20 15:10:16 opennebula-host kernel: [11202.067916] type=1400
audit(1340197816.112:73): apparmor="STATUS"
operation="profile_load"
name="libvirt-ffa4b319-b4fb-c261-92ee-4ccdd4f06b9b" pid=9080
comm="apparmor_parser"
Jun 20 15:10:16 opennebula-host kernel: [11202.591541] type=1400
audit(1340197816.636:74): apparmor="DENIED" operation="open"
parent=1 profile=""
name="/var/lib/one/images/9c52b90a79dba7c26a912d05ff5190b8"
pid=9085 comm="kvm" requested_mask="r" denied_mask="r" fsuid=108
ouid=108
Jun 20 15:10:16 opennebula-host kernel: [11202.592449] type=1400
audit(1340197816.640:75): apparmor="DENIED" operation="open"
parent=1 profile=""
name="/var/lib/one/images/9c52b90a79dba7c26a912d05ff5190b8"
pid=9085 comm="kvm" requested_mask="r" denied_mask="r" fsuid=108
ouid=108
Jun 20 15:10:16 opennebula-host kernel: [11202.593430] type=1400
audit(1340197816.640:76): apparmor="DENIED" operation="open"
parent=1 profile=""
name="/var/lib/one/images/9c52b90a79dba7c26a912d05ff5190b8"
pid=9085 comm="kvm" requested_mask="rw" denied_mask="rw"
fsuid=108 ouid=108
Jun 20 15:10:17 opennebula-host kernel: [11203.282562] type=1400
audit(1340197817.328:77): apparmor="STATUS"
operation="profile_remove"
name="libvirt-ffa4b319-b4fb-c261-92ee-4ccdd4f06b9b" pid=9088
comm="apparmor_parser"
  

after /etc/init.d/apparmor teardown syslog is saying the same (at
deployment time):

Jun 20 15:13:16 opennebula-host kernel: [11382.242000]
type=1400 audit(1340197996.288:84): apparmor="STATUS"
operation="profile_load"
name="libvirt-e57f7c9b-8d8c-ad64-a87d-cde092e83eb1" pid=9281
comm="apparmor_parser"
Jun 20 15:13:16 opennebula-host kernel: [11382.867109] type=1400
audit(1340197996.912:85): apparmor="DENIED" operation="open"
parent=1 profile=""
name="/var/lib/one/images/9c52b90a79dba7c26a912d05ff5190b8"
pid=9286 comm="kvm" requested_mask="r" denied_mask="r" fsuid=108
ouid=108
Jun 20 15:13:16 opennebula-host kernel: [11382.867866] type=1400
audit(1340197996.912:86): apparmor="DENIED" operation="open"
parent=1 profile=""
name="/var/lib/one/images/9c52b90a79dba7c26a912d05ff5190b8"
pid=9286 comm="kvm" requested_mask="r" denied_mask="r" fsuid=108
ouid=108
Jun 20 15:13:16 opennebula-host kernel: [11382.868606] type=1400
audit(1340197996.916:87): apparmor="DENIED" operation="open"
parent=1 profile=""
name="/var/lib/one/images/9c52b90a79dba7c26a912d05ff5190b8"
pid=9286 comm="kvm" requested_mask="rw" denied_mask="rw"
fsuid=108 ouid=108
Jun 20 15:13:17 opennebula-host kernel: [11383.551792] type=1400
audit(1340197997.596:88): apparmor="STATUS"
operation="profile_remove"
name="libvirt-e57f7c9b-8d8c-ad64-a87d-cde092e83eb1" pid=9289
comm="apparmor_parser"
  
On server machine (where one is running) apparmon is saying nothing
at time of deployment (setting is the same).
Jun 20 12:17:01 nebula-3 CRON[19424]: (root) CMD (  
cd /  run-parts --report /etc/cron.hourly)
Jun 20 12:30:56 nebula-3 dhclient: DHCPREQUEST of 10.0.1.125 on
eth0 to 10.0.10.12 port 67
    Jun 20 12:30:56 nebula-3 dhclient: DHCPACK of 10.0.1.125 from
10.0.10.12
Jun 20 12:30:56 nebula-3 dhclient: bound to 10.0.1.125 --
renewal in 8162 seconds.
Jun 20 13:17:01 nebula-3 CRON[22347]: (root) CMD (   cd /
 run-parts --report /etc/cron.hourly)
  
Why?
And what I can do?

Jan

Dňa 20.06.2012 12:55, Javier Fontan  wrote / napísal(a):

  Can you check that you are not getting apparmor error messages in
/var/log/syslog at the time of VM deployment?

On Wed, Jun 20, 2012 at 12:23 PM, Jan Benadik jan.bena...@atos.net wrote:

  

And of course - libvirtd daemon is restarted and running on both machines.

oneadmin@opennebula-host:~$ ps aux|grep lib

Re: [one-users] Fwd: Re: Error when instantiating VM from image

2012-06-20 Thread Jan Benadik

  
  
Yes - of course, but by command /etc/init.d/apparmor reload

After that I tried to remove apparmor and from that moment I have
nothing in syslog but error message in oned.log changed to:


Wed Jun 20 17:51:03 2012 [LCM][I]: New VM state is BOOT
Wed Jun 20 17:51:03 2012 [VMM][I]: Generating deployment file: /var/lib/one/0/deployment.27
Wed Jun 20 17:51:03 2012 [VMM][I]: ExitCode: 0
Wed Jun 20 17:51:03 2012 [VMM][I]: Successfully execute network driver operation: pre.
Wed Jun 20 17:51:05 2012 [VMM][I]: Command execution fail: cat  EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one/0/images/deployment.27 myto 0 myto
Wed Jun 20 17:51:05 2012 [VMM][I]: error: Failed to create domain from /var/lib/one/0/images/deployment.27
Wed Jun 20 17:51:05 2012 [VMM][I]: error: Unable to read from monitor: Connection reset by peer
Wed Jun 20 17:51:05 2012 [VMM][E]: Could not create domain from /var/lib/one/0/images/deployment.27
Wed Jun 20 17:51:05 2012 [VMM][I]: ExitCode: 255
Wed Jun 20 17:51:05 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.
Wed Jun 20 17:51:05 2012 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one/0/images/deployment.27
Wed Jun 20 17:51:06 2012 [DiM][I]: New VM state is FAILED
Now I have this error, doesn't matter on apparmor setting ... (and
nothing in syslog)
I reinstalled Host node completelly, but still the same ...

Jan

Dňa 20.06.2012 16:39, Javier Fontan  wrote / napísal(a):

  
  Have you reloaded the apparmor conf?
  
  
  service apparmor reload

On Wed, Jun 20, 2012 at 1:20 PM, Jan
  Benadik jan.bena...@atos.net
  wrote:
  
 Maybe
  bingo?
  
  In /etc/apparmor.d/usr.sbin.libvirtd I have set (on ONE-server and host too):
/var/lib/one/** lrwk,
  and /var/lib/syslog on host is saying (at deployment
  time):
  
  Jun 20 15:10:16 opennebula-host kernel: [11202.067916]
  type=1400 audit(1340197816.112:73): apparmor="STATUS"
  operation="profile_load"
  name="libvirt-ffa4b319-b4fb-c261-92ee-4ccdd4f06b9b"
  pid=9080 comm="apparmor_parser"
  Jun 20 15:10:16 opennebula-host kernel: [11202.591541]
  type=1400 audit(1340197816.636:74): apparmor="DENIED"
  operation="open" parent=1
  profile=""
  name="/var/lib/one/images/9c52b90a79dba7c26a912d05ff5190b8"

  pid=9085 comm="kvm" requested_mask="r" denied_mask="r"
  fsuid=108 ouid=108
  Jun 20 15:10:16 opennebula-host kernel: [11202.592449]
  type=1400 audit(1340197816.640:75): apparmor="DENIED"
  operation="open" parent=1
  profile=""
  name="/var/lib/one/images/9c52b90a79dba7c26a912d05ff5190b8"

  pid=9085 comm="kvm" requested_mask="r" denied_mask="r"
  fsuid=108 ouid=108
  Jun 20 15:10:16 opennebula-host kernel: [11202.593430]
  type=1400 audit(1340197816.640:76): apparmor="DENIED"
  operation="open" parent=1
  profile=""
  name="/var/lib/one/images/9c52b90a79dba7c26a912d05ff5190b8"

  pid=9085 comm="kvm" requested_mask="rw"
  denied_mask="rw" fsuid=108 ouid=108
  Jun 20 15:10:17 opennebula-host kernel: [11203.282562]
  type=1400 audit(1340197817.328:77): apparmor="STATUS"
  operation="profile_remove"
  name="libvirt-ffa4b319-b4fb-c261-92ee-4ccdd4f06b9b"
  pid=9088 comm="apparmor_parser"

  
  after /etc/init.d/apparmor teardown syslog is saying the
  same (at deployment time):
  
  Jun 20 15:13:16 opennebula-host kernel:
  [11382.242000] type=1400 audit(1340197996.288:84):
  apparmor="STATUS" operation="profile_load"
  name="libvirt-e57f7c9b-8d8c-ad64-a87d-cde092e83eb1"
  pid=9281 comm="apparmor_parser"
  Jun 20 15:13:16 opennebula-host kernel: [11382.867109]
  type=1400 audit(1340197996.912:85): apparmor="DENIED"
  operation="open" parent=1
  profile=""
  name="/var/lib/one/images/9c52b90a79dba7c26a912d05ff5190b8"

 

Re: [one-users] Problem ading an host

2012-06-18 Thread Jan Benadik

  
  
Hi,

I have the same problem with Opennebula 3.4.1 - which "little
problem" with ruby did you mean?
I installed ruby on host, but the problem still remains the same ...

Jan
-- 
  
  
   
Ján Beňadik
 Managed Services - Solution
  Design Architect
  +421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.sk.atos.net
  __
  
  
 
  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Error when instantiating VM from image

2012-06-18 Thread Jan Benadik

  
  
Hi all,

I have two machines with Ubuntu 12.04 Server ("central" and "host"),
KVM hypervisor, Opennebula 3.2.1, shared /var/lib/one folder (nfs)
User "oneadmin" and group "cloud" has the same uid and gid on both
systems, user oneadmin is a member of kvm and libvirtd group too.

In /etc/libvirt/libvirtd.conf I have set :
listen_tls = 0
listen_tcp = 1
unix_sock_group = "libvirtd"
unix_sock_ro_perms = "0777"
unix_sock_rw_perms = "0777"
unix_sock_dir = "/var/run/libvirt"
auth_unix_ro = "none"
auth_unix_rw = "none"

In /etc/libvirt/qemu.conf I have set :
- user = "oneadmin"
- group = "cloud"
- dynamic_ownership = 0

In /etc/apparmor.d/usr.sbin.libvirtd I have set:
/var/lib/one/** lrwk,

Daemon libvirtd is running on both machines.
Permissions for /var/lib/one folder are:
drwxr-xr-x 15 oneadmin root 4096 June 18 10:46 one

Permissions of folder /var/lib/one/images are:
drwsrws--T 2 oneadmin cloud 4096 June 18 10:46 images

Permissions of images are:
-rw-rw 1 oneadmin cloud     688914432  June 18 10:46
e9203521a014fd8045d64206277acaa6f
-rw-rw 1 oneadmin cloud 10737418241 June 18 10:46
6f2589756c6432563546cc36543c55465


Monitoring of host is working, but if I want to start VM, the
folloving error is in /var/log/one/oned.log:
Mon Jun 18 10:17:56 2012 [DiM][I]: New VM state is ACTIVE.
Mon Jun 18 10:17:57 2012 [LCM][I]: New VM state is PROLOG.
Mon Jun 18 10:17:57 2012 [VM][I]: Virtual Machine has no context
Mon Jun 18 10:17:58 2012 [TM][D]: tm_clone.sh:
seed:/var/lib/one/images/e9203521a14fd8045d64206277acaa6f
myto:/var/lib/one/5/images/disk.0
Mon Jun 18 10:17:58 2012 [TM][D]: tm_clone.sh: DST:
/var/lib/one/5/images/disk.0
Mon Jun 18 10:17:58 2012 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one/5/images
Mon Jun 18 10:17:58 2012 [TM][I]: tm_clone.sh: Executed "mkdir -p
/var/lib/one/5/images".
Mon Jun 18 10:17:58 2012 [TM][I]: tm_clone.sh: Executed "chmod a+w
/var/lib/one/5/images".
Mon Jun 18 10:17:58 2012 [TM][I]: tm_clone.sh: Cloning
/var/lib/one/images/e9203521a14fd8045d64206277acaa6f
Mon Jun 18 10:17:58 2012 [TM][I]: tm_clone.sh: Executed "cp -r
/var/lib/one/images/e9203521a14fd8045d64206277acaa6f
/var/lib/one/5/images/disk.0".
Mon Jun 18 10:17:58 2012 [TM][I]: tm_clone.sh: Executed "chmod a+rw
/var/lib/one/5/images/disk.0".
Mon Jun 18 10:17:58 2012 [TM][I]: ExitCode: 0
Mon Jun 18 10:17:58 2012 [TM][I]: tm_ln.sh: Creating directory
/var/lib/one/5/images
Mon Jun 18 10:17:58 2012 [TM][I]: tm_ln.sh: Executed "mkdir -p
/var/lib/one/5/images".
Mon Jun 18 10:17:58 2012 [TM][I]: tm_ln.sh: Executed "chmod a+w
/var/lib/one/5/images".
Mon Jun 18 10:17:58 2012 [TM][I]: tm_ln.sh: Link
/var/lib/one/images/6f540e1c32177f6e5f5cc9a51bc42408
Mon Jun 18 10:17:58 2012 [TM][I]: tm_ln.sh: Executed "ln -s
/var/lib/one/images/6f540e1c32177f6e5f5cc9a51bc42408
/var/lib/one/5/images/disk.1".
Mon Jun 18 10:17:58 2012 [TM][I]: ExitCode: 0
Mon Jun 18 10:18:04 2012 [LCM][I]: New VM state is BOOT
Mon Jun 18 10:18:04 2012 [VMM][I]: Generating deployment file:
/var/lib/one/5/deployment.0
Mon Jun 18 10:18:04 2012 [VMM][I]: ExitCode: 0
Mon Jun 18 10:18:04 2012 [VMM][I]: Successfully execute network
driver operation: pre.
Mon Jun 18 10:18:07 2012 [VMM][I]: Command execution fail: cat
 EOT | /var/tmp/one/vmm/kvm/deploy
/var/lib/one/5/images/deployment.0 myto 5 myto
Mon Jun 18 10:18:07 2012 [VMM][I]: error: Failed to create domain
from /var/lib/one/5/images/deployment.0
Mon Jun 18 10:18:07 2012 [VMM][I]: error: internal error process
exited while connecting to monitor: kvm: -drive
file=/var/lib/one/5/images/disk.1,if=none,id=drive-ide0-0-0,format=raw:
could not open disk image /var/lib/one/5/images/disk.1: Permission
denied
Mon Jun 18 10:18:07 2012 [VMM][I]: 
Mon Jun 18 10:18:07 2012 [VMM][E]: Could not create domain from
/var/lib/one/5/images/deployment.0
Mon Jun 18 10:18:07 2012 [VMM][I]: ExitCode: 255
Mon Jun 18 10:18:07 2012 [VMM][I]: Failed to execute virtualization
driver operation: deploy.
Mon Jun 18 10:18:07 2012 [VMM][E]: Error deploying virtual machine:
Could not create domain from /var/lib/one/5/images/deployment.0
Mon Jun 18 10:18:12 2012 [DiM][I]: New VM state is FAILED

I dont knew where is issue - could somebody help me?

Thx
-- 
  
  
  Jan Benadik
+421 46 5151 332
  +421 903 691 634
  jan.bena...@atos.net
  Vinohradnícka 6, 971 01 Prievidza
  www.s