[ovirt-users] [QE][ACTION REQUIRED] oVirt 3.5.0 status - Go / No Go

2014-10-05 Thread Sandro Bonazzola
Hi,
We are going to start composing oVirt 3.5.0 GA today 2014-10-06 as soon as the 
ovirt-engine package finish to build.

The bug tracker [1] shows no blockers:
The bugs keyworded as Regression have been reviewed by maintainers and not 
marked as blockers[4]
Features completed are marked in green on Features Status Table [2]

There are still 34 bugs [3] targeted to 3.5.0 which will be moved automatically 
to 3.5.1 once the build will be released.

Maintainers / Assignee:
If you're aware of something that should block the release, please raise it as 
soon as possible.

[1] http://bugzilla.redhat.com/1073943
[2] http://goo.gl/4SuYdE
[3] http://red.ht/1pVEk7H
[4] http://goo.gl/uavikG

Thanks,



-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Restoring backed up VM

2014-10-05 Thread santosh

Hi

I am trying to backup and restore the VM using the flow suggester at 
Features/Backup-Restore API Integration 



When I tried to restore the VM using the following steps,


_*Full Virtual Machine Restoration*_

1. Create disks for restore
2. Attach the disks for restore to the virtual appliance (Restore the
   data to it)
3. Detach the disks from the virtual appliance.
4. Create a vm using the configuration that was saved as part of the
   backup flow - (added capabillity to oVirt as part of the Backup API)
5. Attach the restored disks to the created vm.

I encountered following error at step 4.

   
Operation Failed
[Import VM failed - _*VM Id already exist in the
   system*_. Please remove the VM (RHEL_65_CL1_CLONE2) from the system
   first]
   


I have not deleted/removed the backed up VM from the system.

Is it expected behaviour?
Should it not overwrite the existing VM or Create new VM with different 
VM Id, if the backup up VM exists?



Thanks, Santosh



***Legal Disclaimer***
"This communication may contain confidential and privileged material for the
sole use of the intended recipient. Any unauthorized review, use or distribution
by others is strictly prohibited. If you have received the message by mistake,
please advise the sender by reply email and delete the message. Thank you."
**___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-3.5 ovirt-guest-agent linux builds are now available

2014-10-05 Thread Nick Kesick
On Oct 5, 2014 6:31 PM, "Nick Kesick"  wrote:
>
> > -- Forwarded message --
> > From: Gianluca Cecchi 
> > To: Bob Doolittle 
> > Cc: "de...@ovirt.org" , "Users@ovirt.org List" <
Users@ovirt.org>
> > Date: Thu, 2 Oct 2014 21:19:40 +0200
> > Subject: Re: [ovirt-users] [ovirt-devel] ovirt-3.5 ovirt-guest-agent
linux builds are now available
> > On Thu, Oct 2, 2014 at 8:34 PM, Bob Doolittle 
wrote:
> >>
> >> I can't seem to find any spec for the "usual guest OBS repositories"
for guest-agent on Ubuntu. It's not specified on this page:
> >>
> >> http://www.ovirt.org/How_to_install_the_guest_agent_in_Ubuntu
> >>
> >> Note that this page and the pages it references probably need
updating, since it's supposed to provide links to all relevant info for all
platforms:
> >>
http://www.ovirt.org/Understanding_Guest_Agents_and_Other_Tools#Linux_Guests
> >>
> >> Pointer for Ubuntu please?
> >>
> >> Thanks,
> >> Bob
> >>
> >
> > I think correct link is what I referred in my first answer and that I
used:
> > http://www.ovirt.org/Feature/GuestAgentUbuntu
> >
> > In that page we have the timestamp and tested version of
> > Name: oVirt Guest Agent on Ubuntu
> > Modules: ovirt-guest-agent
> > Target version: 3.4.1
> > Status: Done
> > Last updated: 2014-08-05 by Vfeenstr
> >
> > That is valid also for 3.5rc3 and ubuntu 14.04
> >
> > I edited the page
> >
http://www.ovirt.org/Understanding_Guest_Agents_and_Other_Tools#Linux_Guests
> >
> > pointing to my referred page.
> > Let me know if ok for all
> >
> > Gianluca
> >
> I'm biased here as the author of the 'Understanding' page and the how to
install page, but I feel the how to install page should be updated. It is
more friendly for less savvy users and focuses on install information. No
confusing Dev talk.
>
> But, I would also be fine updating the feature pages with more friendly
install instructions if that would be better.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Users Digest, Vol 37, Issue 11

2014-10-05 Thread Nick Kesick
> -- Forwarded message --
> From: Gianluca Cecchi 
> To: Bob Doolittle 
> Cc: "de...@ovirt.org" , "Users@ovirt.org List" <
Users@ovirt.org>
> Date: Thu, 2 Oct 2014 21:19:40 +0200
> Subject: Re: [ovirt-users] [ovirt-devel] ovirt-3.5 ovirt-guest-agent
linux builds are now available
> On Thu, Oct 2, 2014 at 8:34 PM, Bob Doolittle 
wrote:
>>
>> I can't seem to find any spec for the "usual guest OBS repositories" for
guest-agent on Ubuntu. It's not specified on this page:
>>
>> http://www.ovirt.org/How_to_install_the_guest_agent_in_Ubuntu
>>
>> Note that this page and the pages it references probably need updating,
since it's supposed to provide links to all relevant info for all platforms:
>>
http://www.ovirt.org/Understanding_Guest_Agents_and_Other_Tools#Linux_Guests
>>
>> Pointer for Ubuntu please?
>>
>> Thanks,
>> Bob
>>
>
> I think correct link is what I referred in my first answer and that I
used:
> http://www.ovirt.org/Feature/GuestAgentUbuntu
>
> In that page we have the timestamp and tested version of
> Name: oVirt Guest Agent on Ubuntu
> Modules: ovirt-guest-agent
> Target version: 3.4.1
> Status: Done
> Last updated: 2014-08-05 by Vfeenstr
>
> That is valid also for 3.5rc3 and ubuntu 14.04
>
> I edited the page
>
http://www.ovirt.org/Understanding_Guest_Agents_and_Other_Tools#Linux_Guests
>
> pointing to my referred page.
> Let me know if ok for all
>
> Gianluca
>
I'm biased here as the author of the 'Understanding' page and the how to
install page, but I feel the how to install page should be updated. It is
more friendly for less savvy users and focuses on install information. No
confusing Dev talk.

But, I would also be fine updating the feature pages with more friendly
install instructions if that would be better.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] using ovirt-shell to attach defind network to hosts

2014-10-05 Thread Vladimir Pakhomov
Thank you!!

Thanks to Maikl P  I find the solution:
action nic $IF_NAME --host-identifier $HOST_ID attach --network-name
$NET_NAME
Moti Asayag, thank you for links provided.

Kind regards,
Vladimir Pakhomov



2014-10-05 17:19 GMT+04:00 Moti Asayag :

> - Original Message -
> > From: "Vladimir Pakhomov" 
> > To: users@ovirt.org
> > Sent: Sunday, October 5, 2014 1:26:12 PM
> > Subject: [ovirt-users] using ovirt-shell to attach defind network to
> hosts
> >
> > Hi,
> >
> > I would like to implement a script that would attach a newly created
> network
> > to all hosts in cluster. Unfortunately I cannot find anything about that
> in
> > documentation. Is it possible to attach network to host using CLI/REST
> API?
>
> If the case is for attaching a network to all of the hosts on the cluster,
> you can use the 'network labels' feature in which you label the host nics
> with a label, and once you mark a network with the same label, it will be
> auto-configured on the hosts. This will allow you just to label networks
> in order to configure them on the hosts without a need to access the hosts.
>
> http://www.ovirt.org/Features/NetworkLabels#REST
>
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html-single/Administration_Guide/index.html#sect-Network_Labels
>
> For configuring networks manually on the host you can use the setupnetworks
> api, which allows you to configure the destination network topology for
> the host.
> See "Configure bond with several networks" example from:
> http://www.ovirt.org/Testing/PythonApi#Networking
>
> I've also added several more examples here:
>
> https://motiasayag.wordpress.com/category/ovirt/ovirt-engine-sdk-python/setup-networks/
>
>
> >
> > Kind regards,
> > Vladimir Pakhomov
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] using ovirt-shell to attach defind network to hosts

2014-10-05 Thread Moti Asayag
- Original Message -
> From: "Vladimir Pakhomov" 
> To: users@ovirt.org
> Sent: Sunday, October 5, 2014 1:26:12 PM
> Subject: [ovirt-users] using ovirt-shell to attach defind network to hosts
> 
> Hi,
> 
> I would like to implement a script that would attach a newly created network
> to all hosts in cluster. Unfortunately I cannot find anything about that in
> documentation. Is it possible to attach network to host using CLI/REST API?

If the case is for attaching a network to all of the hosts on the cluster,
you can use the 'network labels' feature in which you label the host nics
with a label, and once you mark a network with the same label, it will be
auto-configured on the hosts. This will allow you just to label networks
in order to configure them on the hosts without a need to access the hosts.

http://www.ovirt.org/Features/NetworkLabels#REST
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html-single/Administration_Guide/index.html#sect-Network_Labels

For configuring networks manually on the host you can use the setupnetworks
api, which allows you to configure the destination network topology for the 
host.
See "Configure bond with several networks" example from:
http://www.ovirt.org/Testing/PythonApi#Networking

I've also added several more examples here:
https://motiasayag.wordpress.com/category/ovirt/ovirt-engine-sdk-python/setup-networks/


> 
> Kind regards,
> Vladimir Pakhomov
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] using ovirt-shell to attach defind network to hosts

2014-10-05 Thread Sven Kieske
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05.10.2014 12:26, Vladimir Pakhomov wrote:
> Hi,
> 
> I would like to implement a script that would attach a newly
> created network to all hosts in cluster. Unfortunately I cannot
> find anything about that in documentation. Is it possible to attach
> network to host using CLI/REST API?
> 
> Kind regards, Vladimir Pakhomov

See this guide:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html/Developer_Guide/index.html

you can basically suplement rhev with ovirt, there is no ovirt guide
yet.

I don't know why there is no dev guide for 3.4 and 3.5 though.

HTH

Sven


-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQGcBAEBAgAGBQJUMT7kAAoJEAq0kGAWDrqliPEL/jS8XwSBQ1da+XRWAGxfXbcp
t90uv2b6fV7uaEBEqR/xVkayCB+hWvwluH4rdI/MHCEslBSSTkb7J7oTzUIL311B
RVMNAOWTXBuJIAQ4ywlJiuzXzcQfrmqD6EqowjJCEQDWDgYihQgDUVketJPe5+dj
NwEV/HeOdIfq86LqbOnjSS+FKIp2+J+PfLA9Qb4FpFK2b5uOYlKbGw26+UGjr7Yb
b2OoXYzHNFFb5WU1ir8hidyjYZskPCMiqNjgai5Pn2yN+dr5JFv0VHuAwx1AZ5Ga
DKOsIm/gTOI2tNG4bV4frF38yMTRi3qVkAo/rId29/0EzxC0rAiMy+xIypjkQmw/
Ce6arH+UCzMfmXtL8A70gmnB0F75wdweQvdMno3K6P4LyauPy0ybluJJAPl53TLH
TC3D1ul7JA7CDe7lA0+HWINxcfkR5gfJcs2AfquWvfSlbFrldteMly1HC+ODpHST
tQMZ8JIiL9krYONM+H0ikSBDTyb2s76l9AHYgC2m6g==
=1r1a
-END PGP SIGNATURE-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] API -- Do I need to use templates? Can I change network for the nic?

2014-10-05 Thread Sven Kieske
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05.10.2014 10:13, Lior Vernia wrote:
> Wait, what? :) This doesn't sound right. What is it that you're
> trying to achieve exactly? I'm guessing you'll be able to achieve
> the same thing just by pinning VMs to hosts (via the VM dialog) and
> using a single DC.
> 
> However, I'm not sure you even need to do that... I don't use
> local storage so I don't really know, but things will probably work
> even if you don't do anything special (except migration might not
> work).

Well, this _is_ right.
For local storage, you need a single host in a single cluster
in a single DC, this is an old design limitation.

I agree, a design with just cpu pinning and no migration would be
better :)

regards

Sven
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQGcBAEBAgAGBQJUMT5zAAoJEAq0kGAWDrqlWK8L/jVzCy0BfeIsTIQU9//E5V3Y
3Xq2K3BguOBSGbxyA9Qv2n8uNpCEkcU5SDCgGN6sZz0hQZwVEJUcpiNhe7vKDprY
dQ3VLoGFQ8CSwRe0EpY7tlYZQtdAznHOqEXIBbNYRXA5goUWRWiP67ZUYNzm2RBV
Uv14WqS/9/DTf3kn58xcBWujFGbjCz+nhI0hXjiSTWn/Tb+0V43uuBlac9/wBdZh
XHQyN59bNjwNxUMyOkfCm67bXMAFx8zdznj02v05qsc7b9QYqhkaMCgc/nN5rIc4
/lqAgAPVwJWBMKgtUWt0rzo6xZpG84bGXkQ9C716ZtANQ3rWKDMs5LSe2U3xHkWI
FN6ukxhey7b8117bxPks1Hehb14zIHieIJgt4pJi9Q0U55WZ//553DSCTlX9e9kp
LacUZ2t41KuQFd9Y9Uce5/8ntxwGezaLZ2kGRoSqfF7OthiWWMci/cZzJHt7toLr
FsY3cofka27WdYAjpzcHfU0NTX93fLkim258RAwjGw==
=FEVb
-END PGP SIGNATURE-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt user portal to pass environment variable to vm

2014-10-05 Thread Sven Kieske
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05.10.2014 08:42, Shahar Havivi wrote:
> On 03.10.14 09:55, Pat Pierson wrote:
>> Is there a way to pass oVirt user login details(name) to the vm
>> in the form of an environment variable to the vm?  Would that be
>> something Cloud-init or Ovirt-guest-agent handles?
> There is none that I know of... (Shellshock :)

Well there is SSO for user portal with guest agent:

http://www.ovirt.org/Features/SSO

AFAIK this just works with rhel 6.5 and compatible vm guests?

regards

Sven

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQGcBAEBAgAGBQJUMT4CAAoJEAq0kGAWDrqlr8UMAKqBbbRd8v6Zk44IpY+nWVff
Kf5lEOvKpY0o/vzqJO1LbfDRTJNYR9XATYH+Au7hQqyqBQmIuWebvQDocBUqkbAa
wOq18+RTr8NGMXk52/YZM812Vb/n6mUneLvARjP8KbUHYnSjW5SuyP1p9lPIgxSw
5G73e4H5tPkG8KloNHYoQt1uSpYSlRVFbpF8hM+trfn/Td+yR0/c/oO6gxDMOP8W
+f2sNN98yDU8ySzZQeKpvAKUJR2QjyZAleNxndse4wZGGbHlbcNbBfhsltU4XB2x
HAVEM7nAIogzsJzP8ZWkTL8ganXVEXxWrwGxUQKgZVvOVNvmWyG1ppoqXHZrWNAX
/JqlJ0GdAREaBr07JA6+mOtiijkBKhcpCtq4HpAJ456OSdQo2TNfeuCkIPvvkTag
SWCVf8YzC6cENUEKQb/22y9BowZNY+syB+puMpPTDYJNBi7QWRJCPLCdVvrayjyP
HogBf2DHUhpOSGhD6xlrnVVijZQGlGDQ9PB70tAt7A==
=lCeK
-END PGP SIGNATURE-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Falsely detected network device status

2014-10-05 Thread Lewis Shobbrook
Dan,

Thanks for your interest and assistance.

- Original Message -
> From: "Dan Kenigsberg" 
> To: "Lewis Shobbrook" 
> Cc: users@ovirt.org
> Sent: Friday, October 3, 2014 7:00:54 AM
> Subject: Re: [ovirt-users] Falsely detected network device status
> 
> On Thu, Oct 02, 2014 at 12:14:40AM +1000, Lewis Shobbrook wrote:
> > Hi All,
> >  
> > I've encountered a network device that is being falsely detected as
> > down.
> > On adding a new network to a 3.4 hosted engine, one of the two
> > hosts is displaying a component interface as down with the
> > webadmin console.
> 
> Which network did you add? On top of which nics? could you share the
> setupNetwork command from vdsm.log?

Here's the output relating to setupNetwork below (vdsm.log on the working node).


Thread-14::DEBUG::2014-09-30 14:53:29,487::BindingXMLRPC::1067::vds::(wrapper) 
client [172.17.171.247]::call setupNetworks with ({'EVD_DMZ': {'nic': 'eth1', 
'STP': 'no', 'bridged': 'true'}}, {}, {'connectivityCheck': 'true', 
'connectivityTimeout': 120}) {} flowID [1be04f8a]
Thread-13::DEBUG::2014-09-30 14:53:29,488::BindingXMLRPC::1067::vds::(wrapper) 
client [172.17.171.247]::call ping with () {} flowID [1be04f8a]
Thread-13::DEBUG::2014-09-30 14:53:29,490::BindingXMLRPC::1074::vds::(wrapper) 
return ping with {'status': {'message': 'Done', 'code': 0}}
Thread-13::DEBUG::2014-09-30 14:53:29,999::BindingXMLRPC::1067::vds::(wrapper) 
client [172.17.171.247]::call ping with () {} flowID [1be04f8a]
Thread-13::DEBUG::2014-09-30 14:53:30,005::BindingXMLRPC::1074::vds::(wrapper) 
return ping with {'status': {'message': 'Done', 'code': 0}}
Thread-13::DEBUG::2014-09-30 14:53:30,508::BindingXMLRPC::1067::vds::(wrapper) 
client [172.17.171.247]::call ping with () {} flowID [1be04f8a]
Thread-13::DEBUG::2014-09-30 14:53:30,509::BindingXMLRPC::1074::vds::(wrapper) 
return ping with {'status': {'message': 'Done', 'code': 0}}
Thread-13::DEBUG::2014-09-30 14:53:31,012::BindingXMLRPC::1067::vds::(wrapper) 
client [172.17.171.247]::call ping with () {} flowID [1be04f8a]
Thread-13::DEBUG::2014-09-30 14:53:31,012::BindingXMLRPC::1074::vds::(wrapper) 
return ping with {'status': {'message': 'Done', 'code': 0}}
Thread-13::DEBUG::2014-09-30 14:53:31,515::BindingXMLRPC::1067::vds::(wrapper) 
client [172.17.171.247]::call ping with () {} flowID [1be04f8a]
Thread-13::DEBUG::2014-09-30 14:53:31,516::BindingXMLRPC::1074::vds::(wrapper) 
return ping with {'status': {'message': 'Done', 'code': 0}}
Thread-14::DEBUG::2014-09-30 14:53:31,697::BindingXMLRPC::1074::vds::(wrapper) 
return setupNetworks with {'status': {'message': 'Done', 'code': 0}}
Thread-5598871::DEBUG::2014-09-30 
14:53:31,816::BindingXMLRPC::1067::vds::(wrapper) client [172.17.170.100]::call 
getCapabilities with () {}
Thread-5598871::DEBUG::2014-09-30 14:53:31,818::utils::642::root::(execCmd) 
'/sbin/ip route show to 0.0.0.0/0 table all' (cwd None)
Thread-5598871::DEBUG::2014-09-30 14:53:31,842::utils::662::root::(execCmd) 
SUCCESS:  = '';  = 0

While on our problem node, surprisingly there is no setupNetwork at all, but 
thought I'd mention this entry that seems odd.
Thread-5032587::INFO::2014-09-30 
14:53:43,559::netinfo::500::root::(_getNetInfo) Obtaining info for net virbr0.
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 479, in 
_getNetInfo
data.update({'ports': ports(iface), 'stp': bridge_stp_state(iface),
  File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 197, in ports
return os.listdir('/sys/class/net/' + bridge + '/brif')
OSError: [Errno 2] No such file or directory: '/sys/class/net/virbr0/brif'
Roughly 4 seconds later we start to see the VM migrations with the node set 
inactive; apparently unrelated to the timeout set in setupNetwork.

> > Ethtool confirms the link status as up and connectivity through the
> > corresponding interfaces of the network has been proven.
> > Shortly after adding the network I noted that the node with the
> > falsely detected iface status, was set Non-Operational.
> > All running VM's evacuated.
> > 
> > The engine.log showing...
> > INFO
> >  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > (DefaultQuartzScheduler_Worker-33) [2daa7788] Correlation ID:
> > null, Call Stack: null, Custom Event ID: -1, Message: Host
> > hosted_engine_2 moved to Non-Operational state because interfaces
> > 'eth1' are down but are needed by networks 'EVD_DMZ' in the
> > current cluster
> 
> Do you have /var/log/vdsm/connectivity.log (it's a recent addition)?
> It may should have traces of eth1 going down. Does it? When did it
> happen? What else happen at that time on the host?

No connectivity log unfortunately.
The strange thing is that the interface is up and stays up, but the correct 
state is not detected or updated.
The other working node if of identical hardware connected to the same switch.
I've reactivated the problem node by removing the default cluster setting of 
"require al

Re: [ovirt-users] using ovirt-shell to attach defind network to hosts

2014-10-05 Thread Maikl P
probably using xml tags not such a good idea for ML archives/PT clients,

[1] http://www.ovirt.org/CLI#Scripting

[2] http://www.ovirt.org/Python-sdk

[3] http://www.ovirt.org/Java-sdk

 


On Sunday, October 5, 2014 2:37 PM, Maikl P  wrote:
 


Hey Vladimir,

Though there is no explicit documentation for the $subject, the concept
is the same in api/cli/sdk, i.e:

1. fetch the host
2. access host's nics collection
3. get the nic
4. use attach() method to attach your network,

in CLI you can use auto-completion for constructing commands
and 'help action attach ...' to see action parameters, cli scripting
wiki available here. 


 
also i'd suggest considering one of SDKs (python-sdk / java-sdk)
for this matter.

Michael Pasternak

 



On Sunday, October 5, 2014 1:26 PM, Vladimir Pakhomov 
 wrote:
 


Hi, 

I would like to implement a script that would attach a newly created network to 
all hosts in cluster. Unfortunately I cannot find anything about that in 
documentation. Is it possible to attach network to host using CLI/REST API?

Kind regards,
Vladimir Pakhomov
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [OT] A little of oVirt in my i9100 Beanstalk 4.4.4 ROM...

2014-10-05 Thread Gianluca Cecchi
... as I used an Ubuntu 14.04.1 VM on oVirt 3.5 rc3 infra as the base to
build Android Kitkat based Beanstalk ROM for Samsung S2 (i9100):
https://plus.google.com/photos/105661760401324958761/albums/6066428555734640209/6066428563865143026?sqi=100747787663162487946&sqsi=2e74c40e-1219-403a-bef8-4463a8460900

BeanStalk-4.4.4065-20141004-i9100.zip
https://drive.google.com/file/d/0BwoPbcrMv8mvV0pILWNNUWNkSU0/view?usp=sharing
MD5SUM: b3f69a53eac6788dd364c37202826840

It was also an opportunity to successfully test on iSCSI storage domain the
online disk/fs resize feature for a running VM as 100Gb of disk space were
needed and only 50Gb were initially provisioned ;-)

NOTE: I had to repartition my internal sd card because neither pa- gapps
mini nor micro would have fit in default 512Mb. I followed link below
(valid only for 16Gb i9100 models) using pit file that splits in
1Gb/6Gb/remaining
http://forum.xda-developers.com/galaxy-s2/development-derivatives/mod-partition-internal-memory-app-t2538947


As seen in other links' disclaimer
#include 
/*
* Your warranty is now not void.
*
* I am not responsible for bricked devices, dead SD cards,
* black cats on your way ahead, divorces.
* Please do some research if you have any concerns about features
* included in this ROM before flashing it!
*/

Have a nice Sunday !

Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] using ovirt-shell to attach defind network to hosts

2014-10-05 Thread Maikl P
Hey Vladimir,

Though there is no explicit documentation for the $subject, the concept
is the same in api/cli/sdk, i.e:

1. fetch the host
2. access host's nics collection
3. get the nic
4. use attach() method to attach your network,

in CLI you can use auto-completion for constructing commands
and 'help action attach ...' to see action parameters, cli scripting
wiki available here. 


 
also i'd suggest considering one of SDKs (python-sdk / java-sdk)
for this matter.

Michael Pasternak

 



On Sunday, October 5, 2014 1:26 PM, Vladimir Pakhomov 
 wrote:
 


Hi, 

I would like to implement a script that would attach a newly created network to 
all hosts in cluster. Unfortunately I cannot find anything about that in 
documentation. Is it possible to attach network to host using CLI/REST API?

Kind regards,
Vladimir Pakhomov
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] using ovirt-shell to attach defind network to hosts

2014-10-05 Thread Vladimir Pakhomov
Hi,

I would like to implement a script that would attach a newly created
network to all hosts in cluster. Unfortunately I cannot find anything about
that in documentation. Is it possible to attach network to host using
CLI/REST API?

Kind regards,
Vladimir Pakhomov
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] API -- Do I need to use templates? Can I change network for the nic?

2014-10-05 Thread Lior Vernia


On 03/10/14 00:05, Morgan McLean wrote:
> I'm actually having issues across the board...maybe its because I'm
> going against the design ideals but I was told that in order to use the
> local storage on the box and sacrifice VM migration capabilities, all
> machines had to be in their own datacenter. Pain point number one.

Wait, what? :) This doesn't sound right. What is it that you're trying
to achieve exactly? I'm guessing you'll be able to achieve the same
thing just by pinning VMs to hosts (via the VM dialog) and using a
single DC.

However, I'm not sure you even need to do that... I don't use local
storage so I don't really know, but things will probably work even if
you don't do anything special (except migration might not work).

> 
> Second pain point is adding additional networks aside from the initial
> management network doesn't seem to be very intuitive. I'm a network
> engineer for a living...and I can't figure it out.
> 
> Third pain point is ovirt management UI requires a restart semi
> frequently due to crashing.

Could you give any further details? Version you're using, exact
symptoms? This isn't by design :) And I haven't run into anything of the
sort.

> 
> I added the network under the networks tab, but I noticed it doesn't ask
> any interface questions (ok, it could technically attempt arp on all
> interfaces like a citrix netscaler). I notice theres no ifconfig changes
> on the host. I also notice that the other interface has a bridge named
> exactly as the management name in the UI; ovirtmgmt, which is bridged to
> eth0. OK, so I create a bridge called utility (my network name) and
> mapped it to a vlan tagged interface I had setup on eth1.21. Everything
> looks identical to how ovirt setup the initial network. The interface
> itself works, I can see things on the network etc. Traffic passes.

You shouldn't have to configure anything manually on a host, e.g. set up
bridges, oVirt does this for you. Once you create the network in the
tab, you can assign it to hosts by heading to the Host/Interfaces
secondary tab and clicking "Setup Host Networks".

Once you do that - VMs using that network should be able to run on that
host.

> 
> Trying to run the VM results in errors because its failing network
> filters, says it doesn't exist etc. All I want to do, is create a VM
> with some memory, some disk, with a nic on a network, across individual
> machines. My PXE provisioning will take over from there. Whats the best
> way to do this? Sorry for all the questions -- your guys' response is
> great, and I really appreciate the help thus far.
> 
> The exact message I get is:
> 
> Error while executing action: 
> utiltest:
> 
>   * Cannot run VM. There are no available running Hosts with all the
> networks used by the VM.
>   * Cannot run VM. There is no host that satisfies current scheduling
> constraints. See below for details:
>   * The host load3.pod1..com did not satisfy internal filter Network
> 
> 
> Thanks,
> Morgan
> 
> On Thu, Oct 2, 2014 at 1:30 AM, Morgan McLean  > wrote:
> 
> Hi,
> 
> I think template configuration is definitely not an option for
> networks with a large amount of segments.
> 
> I haven't played with VNIC profiles, but I will tomorrow. I didn't
> remember seeing any documentation on changing that with a PUT, but
> I'll look into it. Will report back shortly, thank you!
> 
> Morgan 
> 
> 
> On Thursday, October 2, 2014, Lior Vernia  > wrote:
> 
> 
> 
> On 02/10/14 10:22, Tomas Jelinek wrote:
> >
> >
> > - Original Message -
> >> From: "Itamar Heim" 
> >> To: "Lior Vernia" , "Morgan McLean"
> 
> >> Cc: users@ovirt.org
> >> Sent: Wednesday, October 1, 2014 12:38:13 PM
> >> Subject: Re: [ovirt-users] API -- Do I need to use templates?
> Can I change network for the nic?
> >>
> >> On 10/01/2014 10:54 AM, Lior Vernia wrote:
> >>> Hi Morgan,
> >>>
> >>> I'm not sure if you want all VMs to use the same network or
> not. If you
> >>> do, the best way would be to create a template with one
> interface, and
> >>> the relevant network (profile) attached.
> >>>
> >>> If you want certain VMs to be connected to other networks,
> once you
> >>> create the VM you can send a PUT request on
> /api/vms/{id}/nics/{id}/ and
> >>> update it with the relevant network (profile).
> >>
> >> I thought we allow to change the logical network at vm
> creation since
> >> instance types were added?
> >
> > Not on API level. In webadmin/userportal you can do it in one
> go, but that anyway triggers two different actions.
> >
> > But now as I have tried it, if I create a VM from template or
> instance type