Re: [one-users] Can't upload image through browser

2014-06-16 Thread Jaime Melis
Hi,

I can confirm this is a bug introduced in the 4.6.2 maintanance release as
a consequence of the csrf vulnerability fix.

We are working on realasing a patch for this.

http://dev.opennebula.org/issues/2984

cheers,
Jaime


On Sun, Jun 15, 2014 at 7:10 PM, Vladislav Solovei  wrote:

> Hi, all!
>
> CentOS 6.5 x86_64
> Opennebula 4.6.2
>
> I can't upload image through web-interface. Even very small image (empty
> 10gb from marketplace)
> In sunstone.log i have a error:
> Sun Jun 15 20:06:55 2014 [I]: x.x.x.x - - [15/Jun/2014 20:06:55] "POST
> /upload?img=%7B%22image%22%3A%7B%22NAME%22%3A%22Empty%22%2C%
> 22DESCRIPTION%22%3A%2210gb+empty+img%22%2C%22TYPE%22%3A%
> 22OS%22%2C%22PERSISTENT%22%3A%22NO%22%7D%2C%22ds_id%22%3A%
> 22101%22%7D&file=Empty10G.bz2&qqfile=Empty10G.bz2 HTTP/1.1" 401 - 0.0014
>
> HTTP error 401.
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Can't upload image through browser

2014-06-16 Thread Jaime Melis
Hi Vladislav,

please find the patch in this document:
http://docs.opennebula.org/4.6/release_notes/release_notes/known_issues.html

cheers,
Jaime


On Mon, Jun 16, 2014 at 10:59 AM, Jaime Melis  wrote:

> Hi,
>
> I can confirm this is a bug introduced in the 4.6.2 maintanance release as
> a consequence of the csrf vulnerability fix.
>
> We are working on realasing a patch for this.
>
> http://dev.opennebula.org/issues/2984
>
> cheers,
> Jaime
>
>
> On Sun, Jun 15, 2014 at 7:10 PM, Vladislav Solovei 
> wrote:
>
>> Hi, all!
>>
>> CentOS 6.5 x86_64
>> Opennebula 4.6.2
>>
>> I can't upload image through web-interface. Even very small image (empty
>> 10gb from marketplace)
>> In sunstone.log i have a error:
>> Sun Jun 15 20:06:55 2014 [I]: x.x.x.x - - [15/Jun/2014 20:06:55] "POST
>> /upload?img=%7B%22image%22%3A%7B%22NAME%22%3A%22Empty%22%2C%
>> 22DESCRIPTION%22%3A%2210gb+empty+img%22%2C%22TYPE%22%3A%
>> 22OS%22%2C%22PERSISTENT%22%3A%22NO%22%7D%2C%22ds_id%22%3A%
>> 22101%22%7D&file=Empty10G.bz2&qqfile=Empty10G.bz2 HTTP/1.1" 401 - 0.0014
>>
>> HTTP error 401.
>>
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>
> --
> Jaime Melis
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | jme...@opennebula.org
>



-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Known Issue: Broken image upload in Sunstone OpenNebula 4.6.2

2014-06-16 Thread Jaime Melis
Dear all,

The image upload in Sunstone is currently broken in OpenNebula 4.6.2.

You can find the patch here:
http://docs.opennebula.org/4.6/release_notes/release_notes/known_issues.html
(issue 2984)

Regards,
Jaime

-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Opennebula 4.6.2. Problem with VM creation

2014-06-16 Thread Vlad

I didn't know, how, but i solved this problem... But only with KVM.
With xen i found a new problem:

Mon Jun 16 13:13:30 2014 [TM][D]: Message received: TRANSFER SUCCESS 19 -
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 ExitCode: 0
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 
Successfully execute network driver operation: pre.
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 Command 
execution fail: cat << EOT | /var/tmp/one/vmm/xen4/deploy 
'/var/lib/one//datastores/102/19/deployment.0' 'compute2.domain.com' 19 
compute2.domain.com
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 xend is 
running, which may cause unpredictable results when using
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 this xl 
command.  Please shut down xend before continuing.

Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 (This 
check can be overridden with the -f option.)

Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG E 19 Unable
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 ExitCode: 1
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 Failed to 
execute virtualization driver operation: deploy.
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: DEPLOY FAILURE 19 
Unable



- but if i stopped the xend, i am loosing virtual host from hosts list :-)
Xen version is 4.2.4, so i'm using xen4 driver.
Should i use xen3 driver with this xen version?



15.06.2014 16:30, Vladislav Solovei wrote:

Hi, all.
Help me, please.
What i have:
Two servers, in test setup.
Freshy installed CentOS 6.5 x86_64, KVM installed.
One server i was using as "controller" (sunstone, etc). Hostname - 
"controller.domain.com".

Second server - as "node", hostname - "compute1.domain.com".
No shared storages at this moment.
Datastore "TEST_DS" with TYPE_DS = "IMAGE_DS", "TM_MAD" = "ssh", 
"DS_MAD" = "file"/

One image - ttylinux, from marketplace, and a template for it.

When i trying to create VM, i got an error (in oned.log):

Sun Jun 15 15:58:03 2014 [ReM][D]: Req:9856 UID:0 
VirtualMachinePoolInfo invoked, -2, 0, -2000, -1
Sun Jun 15 15:58:03 2014 [ReM][D]: Req:9856 UID:0 
VirtualMachinePoolInfo result SUCCESS, "8
Sun Jun 15 15:58:04 2014 [TM][D]: Message received: TRANSFER SUCCESS 8 -
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8 ExitCode: 0
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8 
Successfully execute network driver operation: pre.
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8 Command 
execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy 
'/var/lib/one//datastores/0/8/deployment.0' 'compute1.domain.com' 8 
compute1.domain.com
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8 error: 
Failed to create domain from /var/lib/one//datastores/0/8/deployment.0
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8 error: 
internal error process exited while connecting to monitor: qemu-kvm: 
-drive 
file=/var/lib/one//datastores/0/8/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none: 
could not open disk image /var/lib/one//datastores/0/8/disk.0: Is a 
directory

Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG E 8 Could not 
create domain from /var/lib/one//datastores/0/8/deployment.0
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8 ExitCode: 
255
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8 Failed to 
execute virtualization driver operation: deploy.
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: DEPLOY FAILURE 8 
Could not create domain from /var/lib/one//datastores/0/8/deployment.0


And, really, /var/lib/one//datastores/0/8/disk.0 - is a directory :-)



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


Re: [one-users] VM Failed - how to get it running.

2014-06-16 Thread Carlos Martín Sánchez
Hi,


On Fri, Jun 13, 2014 at 12:12 PM, Leszek Master  wrote:

> I found it in db at table vm_pool, but can't find xml inside body column.
> Could you tell me where it is exaclly ?
>

The body columns should be an string containing xml:

> select body from vm_pool;
00...

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org  | cmar...@opennebula.org |
@OpenNebula  


>
> 2014-06-12 11:12 GMT+02:00 Carlos Martín Sánchez :
>
> Hi,
>>
>> On Mon, Jun 9, 2014 at 8:44 AM, Leszek Master  wrote:
>>
>>> Isn't there any way to change this ? In DB for example?
>>>
>>>  I can't recreate this VM it's in production state.
>>>
>>
>> Well, yes, you can force the state in the DB, but that may lead to some
>> inconsistencies.
>>
>> If you want to give it a try, do the following:
>> - stop opennebula, and do a db backup  [1]
>> - change the vm state to: state 3, lcm_state 3 [2]. This needs to be done
>> in the db table columns, and the xml inside the body column.
>> - run onedb fsck [3] to fix host allocation and usage quota numbers
>>
>> Regards,
>> Carlos
>>
>> [1]
>> http://docs.opennebula.org/4.6/administration/references/onedb.html#onedb-backup
>> [2]
>> http://docs.opennebula.org/4.6/integration/system_interfaces/api.html#schemas-for-virtual-machine
>> [3]
>> http://docs.opennebula.org/4.6/administration/references/onedb.html#onedb-fsck
>>
>> --
>> Carlos Martín, MSc
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org  | cmar...@opennebula.org
>>  | @OpenNebula  
>>
>>
>>>
>>>  2014-06-02 10:56 GMT+02:00 Carlos Martín Sánchez <
>>> cmar...@opennebula.org>:
>>>
>>> Hi,

 On Fri, May 23, 2014 at 2:02 PM, Leszek Master 
 wrote:

> I've got 1 VM that is in the FAILED state. I've manually got it
> working and can't get it in the OpenNebula to the running state. How can i
> do that manually, from cli or db maybe?
>

 Forcing a VM state is not supported. The only option is to delete
 --recreate it, but that will clear the current vm disks.

 Regards
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org  |
 cmar...@opennebula.org | @OpenNebula 

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


Re: [one-users] Opennebula 4.6.2. Problem with VM creation

2014-06-16 Thread Vlad

With xen3 driver:

Mon Jun 16 14:12:34 2014 [TM][D]: Message received: TRANSFER SUCCESS 20 -
Mon Jun 16 14:12:34 2014 [VMM][D]: Message received: LOG I 20 ExitCode: 0
Mon Jun 16 14:12:34 2014 [VMM][D]: Message received: LOG I 20 
Successfully execute network driver operation: pre.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG D 20 deploy: 
Credits set to 256
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 Error: 
Subcommand sched-cred not found!
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG E 20 deploy: 
Unable to set VM credits

Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 ExitCode: 0
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
Successfully execute virtualization driver operation: deploy.
Mon Jun 1Message received: LOG I 20 uptime   Print uptime 
for all/some domains.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
usb-add  Add the usb device to FV VM.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
usb-del  Delete the usb device to FV VM.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
domstate get the state of a domain
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
vcpu-set Set the number of active VCPUs for allowed for

Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 the domain.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20  
can either be the Domain Name or Id.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 For more 
help on 'xm' see the xm(1) man page.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 For more 
help on 'xm create' see the xmdomain.cfg(5)  man page.

Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 For a 
complete list of subcommands run 'xm help'.

Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 one-20'
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 bash: line 
23: Domain: No such file or directory

Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 ExitCode: 1
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 Command 
execution fail: /var/tmp/one/vmm/xen3/cancel 'Usage: xm  [args]

Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 Control, 
list, and manipulate Xen guest instances.

Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 Common 
'xm' commands:

Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
console  Attach to 's console.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
vncviewerAttach to 's VNC server.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
create   Create a domain based on .
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
new  Adds a domain to Xend domain management
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
delete   Remove a domain from Xend domain management.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
destroy  Terminate a domain immediately.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
dump-coreDump core for a specific domain.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
help Display this message.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
list List information about all/some domains.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
mem-set  Set the current memory usage for a domain.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
migrate  Migrate a domain to another machine.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
pausePause execution of a domain.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
reboot   Reboot a domain.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
resetReset a domain.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
restore  Restore a domain from a saved state.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
resume   Resume a Xend managed domain
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
save Save a domain state to restore later.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
shellLaunch an interactive shell.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 
shutdown Shutdown a domain.
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG

[one-users] OpenNebula at GigaOM Structure and HostingCon 2014 this Week

2014-06-16 Thread Tino Vazquez
Dear OpenNebula users,

As you may be aware, the OpenNebula Project is organising two Cloud
Technology Days [1] in US this month. The first one will take place in
Boca Raton, Florida [2], the 19th of June, hosted by TransUnion,
whereas the west coast will be covered by the Bay Area Techday [3] the
24th of June, hosted by Hyve, which includes an exciting tour around
the manufacturing plant of Facebook production racks.

OpenNebula Project members will be also around the two following events:

- GigaOM: Structure 2014, 18-19 June 2014, San Francisco (CA) [4]
- HostingCon 2014, 16-18 June 2014, Miami Beach (FL) [5]

If you happen to be around and want to get to know the project and
discuss OpenNebula or Cloud Computing in general, drop us a line and
will schedule a meeting.

 -- The OpenNebula Team

[1] http://opennebula.org/community/techdays/
[2] http://opennebula.org/community/techdays/bocaraton2014/
[3] http://opennebula.org/community/techdays/bayarea2014/
[4] http://events.gigaom.com/structure-2014/
[5] http://www.hostingcon.com/

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
"To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] ONE repos for RHEL7

2014-06-16 Thread InterNetX - Juergen Gotteswinter
Hello Folks,

i rebuilded / modified the 4.6.x ONE SRC.RPM for CentOS/RHEL 6 to match RHEL7.

  http://download.obs.j0ke.net//home:/jg:/playground:/opennebula/

Currently its 100% untestested, so far i can just say that it had been  built
without any issues (and the buildbot is really really picky...). If anyone needs
something to play around:

http://download.obs.j0ke.net//home:/jg:/playground:/opennebula/

Feel free to try it, but please dont use it in your production setup until some
experience / feedback is available.


If anyone decides to try the builds, i whould love to hear if it worked or not.
if not, i highly appriciate any feedback what was broken.

Cheers,

Juergen

Alvaro Simon Garcia  hat am 12. Juni 2014 um 13:37
geschrieben:

>  Hi Ruben
> 
>  > >  Hi Alvaro,
> > 
> >  Support for CentOS7 will be included in the next release, we'll update
> > when the first builds are ready.
> > 
> > 
> >  > Thanks a lot for the info!
> 
>  Cheers
>  Alvaro
> 
>  > >  Cheers
> > 
> >  Ruben
> > 
> > 
> >  On Wed, Jun 11, 2014 at 4:17 PM, Alvaro Simon Garcia
> > mailto:alvaro.simongar...@ugent.be> > wrote:
> >   > > >   Hi
> > > 
> > >   RHEL7 is now out but it's available a ONE repo for this version? I
> > > have tested the current ONE CentOS/RHEL repo with RHEL7+EPEL but some
> > > packages are not available from EPEL7 repository:
> > > 
> > >   Error: Package: opennebula-server-4.6.1-1.x86_64 (opennebula)
> > > Requires: log4cpp Error: Package: opennebula-server-4.6.1-1.x86_64
> > > (opennebula) Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
> > > Error: Package: opennebula-ruby-4.6.1-1.x86_64 (opennebula) Requires:
> > > rubygem-thin Error: Package: opennebula-ruby-4.6.1-1.x86_64 (opennebula)
> > > Requires: rubygem-uuidtools Error: Package:
> > > opennebula-server-4.6.1-1.x86_64 (opennebula) Requires:
> > > liblog4cpp.so.4()(64bit) Error: Package: opennebula-ruby-4.6.1-1.x86_64
> > > (opennebula) Requires: ruby-mysql Error: Package:
> > > opennebula-node-kvm-4.6.1-1.x86_64 (opennebula) Requires: vconfig Error:
> > > Package: opennebula-ruby-4.6.1-1.x86_64 (opennebula) Requires:
> > > rubygem-sequel Error: Package: opennebula-server-4.6.1-1.x86_64
> > > (opennebula) Requires: libmysqlclient.so.16()(64bit) Error: Package:
> > > opennebula-ruby-4.6.1-1.x86_64 (opennebula) Requires: rubygem-sinatra
> > > Error: Package: opennebula-ruby-4.6.1-1.x86_64 (opennebula) Requires:
> > > rubygem-rack Error: Package: opennebula-ruby-4.6.1-1.x86_64 (opennebula)
> > > Requires: rubygem-sqlite3-ruby anyone has tried it? Thanks in advance!
> > > Alvaro
> > > 
> > >   ___
> > >   Users mailing list
> > >   Users@lists.opennebula.org 
> > >   http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> > >
> > > 
> > >   --
> > >
> > >   --
> > >   Ruben S. Montero, PhD
> > >   Project co-Lead and Chief Architect
> > > 
> > >   OpenNebula - Flexible Enterprise Cloud Made Simple
> > >
> > >   www.OpenNebula.org  |
> > > rsmont...@opennebula.org  | @OpenNebula
> > >  > > 
> >  > 
  ___
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