[one-users] Opennebula 4.8.2 Sunstone accounting - some miscalculations

2014-08-29 Thread Robert Tanase
Hello,

I am testing Opennebula 4.8.2 build.

Working with accounting stats I found a wrong calculation in Sunstone
results:

 VID HOSTNAMEACTION   REAS START_TIME   END_TIME
MEMORY CPU NET_RX NET_TX
   5 bu-mf39014.appn poweroff user *08/25 13:57:16* 08/28 16:55:24
 1024M 0.1   285M  15.9M

Life time Is about 10 hours on 25-08 for VM 5.

[image: Inline image 1]



-- 



*Best regards,Robert Tanase*
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Can't loginto sunstone after upgrade to 4.8

2014-08-29 Thread Ale
Hello all,

After upgrade opennebula from 4.6 to 4.8 through deb, i follow the steps on
the upgrade guide.

oned.log report bad decript http://pastebin.com/KfVYpeSL

Probably i've made some mistake, any suggestion?

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


Re: [one-users] Can't loginto sunstone after upgrade to 4.8

2014-08-29 Thread Daniel Dehennin
Ale ale...@gmail.com writes:

 Hello all,

 After upgrade opennebula from 4.6 to 4.8 through deb, i follow the steps on
 the upgrade guide.

 oned.log report bad decript http://pastebin.com/KfVYpeSL

 Probably i've made some mistake, any suggestion?

This means that the /var/lib/one/.one/sunstone_auth does not match the
password in the database.

Does the CLIs work for oneadmin user?

oneadmin@nebula:~$ onehost list

I personally reset the serveradmin password with the following:

# Generate a random password
oneadmin@nebula:~$ pwgen -s 42 1  serveradmin.pwd

# Make serveradmin using core auth to change the password
oneadmin@nebula:~$ oneuser chauth serveradmin core -r serveradmin.pwd

# Switch back to server_cipher
oneadmin@nebula:~$ oneuser chauth serveradmin server_cipher

# Store new password
oneadmin@nebula:~$ for f in sunstone ec2 occi oneflow onegate; do \
echo serveradmin:$(cat serveradmin.pwd)  ~/.one/${f}_auth ; \
done

Then you can restart Sunstone.

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


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


[one-users] Default Attributes

2014-08-29 Thread Stefan Kooman
Hi,

I'm trying to get some Default Attributes for kvm [1], i.e. default
bootmenu in vm's: RAW = osbootmenu enable=\'yes\'//os entry in
vmm_exec_kvm.conf. I've tried old and new syntax, see [2] but it's not
working for newly created vm's. I'm running ONE 4.8. I've synced all the
hosts and restarted opennebula (if at all needed). This extra bit
of XML is not included in the domain XML's. Any hints?

Gr. Stefan

[1]:
http://docs.opennebula.org/4.8/administration/virtualization/kvmg.html?highlight=kvm#default-attributes
[2]: http://dev.opennebula.org/issues/2951



-- 
| BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] IP Addressing

2014-08-29 Thread Robert Foote
Hi All:

 

I have some VMs in my opennebula cloud that need to use about 5 static IP
addresses, that will not be leased to them through OpenNebula, they will be
in use manually due to the need for VRRP on them.

 

However, those IP addresses, are part of a VNET that I've already
established and have leases coming out of, but those specific IPs have not
yet been leased out by opennebula. Is there a way I can tell opennebula not
to use those specific IP addresses when future VMs are created on that
specific VNET?

 

Thanks,

 

Robert Foote

bpsNode

www.bpsnode.com

 



---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] IP Addressing

2014-08-29 Thread Stefan Kooman
Quoting Robert Foote (rfo...@bpsnode.com):
 Hi All:
 
  
 
 I have some VMs in my opennebula cloud that need to use about 5 static IP
 addresses, that will not be leased to them through OpenNebula, they will be
 in use manually due to the need for VRRP on them.
 
  
 
 However, those IP addresses, are part of a VNET that I've already
 established and have leases coming out of, but those specific IPs have not
 yet been leased out by opennebula. Is there a way I can tell opennebula not
 to use those specific IP addresses when future VMs are created on that
 specific VNET?

Jep. In ONE you cane put leases on HOLD. Just go to leases of the
specific VNET, add an IP and click Hold IP. On the cli you would do
something like this:

onevnet hold vnetid/vnetname ip.

In ONE 4.8 onwards you can also make a reservation:

onevnet reserve vnetid/vnetname.

Gr. Stefan

-- 
| BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] IP Addressing

2014-08-29 Thread Robert Foote
Perfect, 

Thanks!

Robert Foote
bpsNode
www.bpsnode.com

-Original Message-
From: Stefan Kooman [mailto:ste...@bit.nl] 
Sent: Friday, August 29, 2014 8:49 AM
To: Robert Foote
Cc: users@lists.opennebula.org
Subject: Re: [one-users] IP Addressing

Quoting Robert Foote (rfo...@bpsnode.com):
 Hi All:
 
  
 
 I have some VMs in my opennebula cloud that need to use about 5 static 
 IP addresses, that will not be leased to them through OpenNebula, they 
 will be in use manually due to the need for VRRP on them.
 
  
 
 However, those IP addresses, are part of a VNET that I've already 
 established and have leases coming out of, but those specific IPs have 
 not yet been leased out by opennebula. Is there a way I can tell 
 opennebula not to use those specific IP addresses when future VMs are 
 created on that specific VNET?

Jep. In ONE you cane put leases on HOLD. Just go to leases of the specific
VNET, add an IP and click Hold IP. On the cli you would do something like
this:

onevnet hold vnetid/vnetname ip.

In ONE 4.8 onwards you can also make a reservation:

onevnet reserve vnetid/vnetname.

Gr. Stefan

-- 
| BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl


---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

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


[one-users] Softlayer Error

2014-08-29 Thread Vincenzo Barbieri
Hi



I followed the steps in the doc SoftLayer Driver but I get the following
error.
I proceeded also to update ruby as required



Fri Aug 29 23:46:33 2014 [Z0][InM][D]: Monitoring host ams01 (3)

Fri Aug 29 23:46:33 2014 [Z0][InM][I]: Command execution fail:
/var/lib/one/remotes/im/run_probes sl /vmfs/volumes 4124 20 3 ams01

Fri Aug 29 23:46:33 2014 [Z0][InM][I]:
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- softlayer_api (LoadError)

Fri Aug 29 23:46:33 2014 [Z0][InM][I]: from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'

Fri Aug 29 23:46:33 2014 [Z0][InM][I]: from ./../../vmm/sl/sl_driver.rb:35

Fri Aug 29 23:46:33 2014 [Z0][InM][I]: from ./poll:21:in `require'

Fri Aug 29 23:46:33 2014 [Z0][InM][I]: from ./poll:21

Fri Aug 29 23:46:33 2014 [Z0][InM][E]: Error executing poll

Fri Aug 29 23:46:33 2014 [Z0][InM][I]: ExitCode: 1

Fri Aug 29 23:46:33 2014 [Z0][ONE][E]: Error monitoring Host ams01 (3):
Error executing poll



Grazie

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