[one-users] users and vnets

Ruben Diez rdiez at cesga.es
Mon Dec 27 06:52:56 PST 2010


Hi:

I just have added a OpenNebula user. This user (render), have all the 
permissions:

This user can create a vnet by using "onevnet create".


$ onevnet create render_pru_localnet.net

$ onevnet list
  ID USER     NAME                   TYPE BRIDGE P #LEASES
 220 render   render_pru_localnet  Ranged    br1 N       0

But when the user attempts to delete this net, it not works:

$ onevnet delete 220
Error: [VirtualNetworkDelete] User [3] not authorized to perform DELETE 
on NET [220].

How cat this user delete his own nets??

The user seems to have all the permissions:

mysql> select * from user_permissions where user_name='render';
+-----------+----------------+
| user_name | permissions_id |
+-----------+----------------+
| render    |              1 |
| render    |              2 |
| render    |              3 |
| render    |              4 |
| render    |              5 |
| render    |              6 |
| render    |              7 |
| render    |              8 |
| render    |              9 |
| render    |             10 |
| render    |             11 |
| render    |             12 |
| render    |             13 |
| render    |             14 |
| render    |             15 |
| render    |             16 |
+-----------+----------------+
16 rows in set (0.01 sec)

Regards.




More information about the Users mailing list