[ovirt-users] Lowering the bar for wiki contribution?

2017-01-03 Thread Roy Golan
I'm getting the feeling I'm not alone in this, authoring and publishing a
wiki page isn't as used to be for long time.

I want to suggest a bit lighter workflow:

1.  Everyone can merge their page - (it's a wiki)
  Same as with (public and open) code, no one has the motivation to publish
a badly written
  wiki page under their name. True, it can have an impact, but not as with
broken code

2. Use Page-Status marker
 The author first merges the draft. Its now out there and should be updated
as time goes and its
 status is DRAFT. Maintainers will come later and after review would change
the status to
 PUBLISH. That could be a header in on the page:
 ---
 page status: DRAFT/PUBLISH
 ---

 Simple I think, and should work.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Watchdog device

2017-01-03 Thread Gary Pedretty
Shutting the VM down worked perfectly.

thanks

Gary



Gary Pedrettyg...@ravnalaska.net 

Systems Manager  www.flyravn.com 

Ravn Alaska   /\907-450-7251
5245 Airport Industrial Road /  \/\ 907-450-7238 fax
Fairbanks, Alaska  99709/\  /\ \ Second greatest commandment
Serving All of Alaska  /  \/  /\  \ \/\   “Love your neighbor as
Really loving the record green up date! Summmer!!   yourself” Matt 22:39













> On Jan 2, 2017, at 2:32 PM, Gary Pedretty  wrote:
> 
> I will try it with the vm shutdown.  
> 
> thanks
> 
> gary
> 
> 
> 
> Gary Pedrettyg...@ravnalaska.net 
> 
> Systems Manager  www.flyravn.com 
> 
> Ravn Alaska   /\907-450-7251
> 5245 Airport Industrial Road /  \/\ 907-450-7238 fax
> Fairbanks, Alaska  99709/\  /\ \ Second greatest commandment
> Serving Alaska's Interior  /  \/  /\  \ \/\   "Love your neighbor as
> Having a heatwave, its summer   yourself” Matt 22:39
> 
> 
> 
> 
> 
> 
>> On Jan 1, 2017, at 5:18 AM, Doron Fediuck > > wrote:
>> 
>> Hi Gary,
>> this is a known issue we're working on. if the VM is down it should
>> work as expected (edit the VM and close the dialog).
>> Please try and let me know. Another option is to do this until the bug
>> is resolved is using the REST API.
>> 
>> Note that this is currently working on on Linux guests (there are no
>> updated Windows drivers). You will need to configure
>> the device in the guest as explained by the docs.
>> 
>> Doron

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


Re: [ovirt-users] How to invoke ovirt-guest-agent hook from ovirt engine SDK ?

2017-01-03 Thread Vinzenz Feenstra

> On Jan 3, 2017, at 6:37 AM, TranceWorldLogic .  
> wrote:
> 
> Hi,
> 
> It look interesting.
> Would you please point me some document that cover in detail ?
> 
> I was looking for mechanism where I can monitor guest application.
> If application get failed or crash then I need to restart or start other VM.
> Is it possible in ovirt ? 

No, there is nothing like this in oVirt, you would have to use something like 
zabbix and then connect it with the oVirt SDK

> I though I will use hook but as you explain it clear me that my understand 
> was wrong.

> Thanks for your help.
> 
> Thanks,
> ~Rohit
> 
> 
> On Mon, Jan 2, 2017 at 1:04 PM, Vinzenz Feenstra  > wrote:
> 
> > On Dec 30, 2016, at 11:03 AM, TranceWorldLogic . 
> > > wrote:
> >
> > HI,
> 
> Hi there,
> 
> >
> > I was exploring more about ovirt-gueste-engin.
> > It look to me very easy to configure add add hook as script.
> >
> > But my doubt is, how to invoke those script from ovirt-engine ?
> > Please some one help me to understand this part.
> > I am looking into python SDK code to figure out same but still not got luck
> 
> Guest agent hooks aren’t triggered through the SDK, hooks are triggered when 
> certain events happen on the hypervisor side.
> e.g. A VM gets migrated from HOST A to HOST B or the VM gets suspended. In 
> these cases VDSM _can_ send a message to the guest
> agent asking it to process all hooks.
> 
> That those hooks are enabled are depending on the migration policy 
> configured. Currently all but the ‘Legacy’  migration policies do cause the 
> hooks to be executed, given a new enough guest agent, VDSM and cluster 
> version.
> HTH
> 
> 
> >
> > Thanks,
> > ~Rohit
> > ___
> > 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] Optimizations for VoIP VM

2017-01-03 Thread Jim Kusznir
Hello:

I set up a FreeSwitch-based VoIP server as a host on my cluster, and am
having audio problems.  I'm not 100% sure if its virtualization related or
network related yet.  But I would like to optimize my VM for VoIP (or
rather, tell Ovirt all the "right settings" to optimize that VM to VoIP).
Does anyone have any specific suggestions?

Are there known issues with VoIP on Ovirt-managed clusters?  (I know well
reputed companies that sell VoIP server virtual hosting and guarantee the
performance, so I know VoIP Virtualization is possible, just need to know
if its recommended with Ovirt, and if so what do I need to do to give it
the best chance of success?)

Thanks!
--Jim
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Import Virtual Machines From Web Admin GUI

2017-01-03 Thread Beckman, Daniel
To answer my own question: as is often the case, perusing the commercial (RHV 
4.0) documentation proved useful.

The documentation is here:
https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/paged/virtual-machine-management-guide/612-exporting-and-importing-virtual-machines-and-templates

However, I kept getting the error “Host key verification failed.: Connection 
reset by peer”. This despite having followed the official documentation on 
generating and copying keys, under Procedure 6.2.6 Importing a Virtual Machine 
from KVM.

Then I found this article from July 2012 about a different (but similar) 
scenario:

https://access.redhat.com/solutions/136463

What helped was the “alternative test” suggestion. Here is the URI I ended up 
using with success:

qemu+ssh://root@MY_KVM_HOST/system?no_verify=1

Appending “no_verify=1” did the trick. It’s possible that adding hostnames and 
IPs to /etc/hosts would have also resolved this, but for something performed 
infrequently (importing a VM from another environment), modifying the URI is 
easier.

Best,
Daniel

From:  on behalf of "Beckman, Daniel" 

Date: Tuesday, January 3, 2017 at 9:58 AM
To: "users@ovirt.org" 
Subject: [ovirt-users] Import Virtual Machines From Web Admin GUI

Can anyone point me to a step-by-step guide on getting an import (say, from 
KVM) to work? I gather it involves some sharing of SSH keys but I haven’t seen 
it explained in detail. Specifically, what user needs to trust what keys on 
which machines? The hypervisor hosts? The machine running the engine? Also, 
some examples of URI paths would be much appreciated.

Thanks,
Daniel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] New User Portal - gathering feedback

2017-01-03 Thread Michal Skrivanek
It doesn't hurt to add a link for the project page:)
Check out [1] for more details and also instructions for running a
standalone docker container plugged into existing setup. Should work fine
with any 4.0+

Thanks,
michal

[1] https://github.com/oVirt/ovirt-web-ui

On 03 Jan 2017, at 18:15, Logan Kuhn  wrote:

I don't have a test cluster available for this at the moment, but could you
send some screenshots?  I'd like to get the resources and that might help

Regards,
Logan

- On Jan 3, 2017, at 6:13 AM, Marek Libra  wrote:

Hi,

with ovirt-4.1.0_beta2, new Basic User Portal is introduced, so far as tech
preview.
To try, please follow the new "Basic User Portal" link from the main page.

Recently most of previous (GWT based) Basic User Portal's functionality is
available.
In plan is full conformity and selected features of recent Extended Portal.

Following goals were stated for this project:
- improve UX by
  - modern UI (conforms Patternfly 3)
  - faster UI responses
- shareable
  - built from reusable components to share portions of the UI in other
projects (like ManageIQ)
- POC for ongoing oVirt UI development
  - one of the options for next-gen oVirt UI to consider

>From technical perspective, the project is based on
- oVirt REST API
- React/Redux/Saga
- Patternfly 3
- pure JavaScript App without server-side processing except the existing
REST API

So far, the project is tech preview to gather user feedback.

Please share your comments and ideas, it will really help with ongoing
development.
Real-life use-cases (both existing or potential) will be much appreciated.

Thanks,
Marek


___
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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Request for oVirt Ansible modules testing feedback

2017-01-03 Thread Nathanaël Blanchet



Le 30/12/2016 à 20:53, Dan Yasny a écrit :
I personally found that she'll isn't as useful as the python sdk. I 
usually open up ipython, load the sdk and interact with ovirt 
directly. This is faster and much more powerful than the shell could 
ever be.
okay, I suppose you to be a regular python user. Can you imagine how 
much time I spent just to understand how it works?

That is to say:

 * installing pip and not pip3 because provided
   python-ovirt-engine-sdk4 is default installed to /usr/lib64/python2.7,
 * installing ipython,
 * importing the good modules,
 * finding pertinent examples,
 * understand differences between sdk3 and 4
 * correcting some wrong examples
 * adapting example to my need?

I can't see how it can be fast for the newbie.
What's the first goal of a CLI? to abstract all this stuff for the 
python newbie. If you want a easy-to-use webadmin for attracting a large 
public, you should provide easy-to-use CLI as well. Ovirt-shell was a 
part of my choice to use ovirt.
Yes we can learn to use SDK (I dit it), but I don't think a lot people 
who chose ovirt for simplicity wll use it except advanced users.
A new time, thank you for the great stuff for the great oVirt project, 
but I find there is too much distance between devs and users.

What do really think the community about this?


On Dec 30, 2016 11:22 AM, "Nathanaël Blanchet" > wrote:


Interesting work and thank you for this stuff. I played with some
modules (ovirt_vms_facts) to get some vms name for example.

  * [root@acore ovirt]# ansible-playbook All_Vms_list.yml
  * with
  - name: List vms
ovirt_vms_facts:
  auth: "{{ ovirt_auth }}"
  pattern: name=test_cloud
  fetch_nested: true
  nested_attributes: name
register: ovirt_vms

  - shell: echo "{{ ovirt_vms.name  }}
> vms_name" // doesn't work

  *   - shell: echo "{{ ovirt_vms }} > vms_name // returns an
unicode json file, that's surely why we can't parse it. Can
you help me to solve this into the ovirt_vms_facts.py file?

  * I have no such problem with ovirt_snaphots_module and I can
easily get the snaphot.id  variable but:
  o I had to manually copy the ovirt_snaphsots_module because
it is not present on the git tree. This is very curious:
we can find it here

http://ovirt-ansible-modules.readthedocs.io/en/latest/_modules/ovirt_snapshots_module.htm

,
but it is not available on the main ansible git tre.
  o On the doc, return values are not described

For the moment, my opinion is that ansible can't be as much
convinient as the current CLI, e.g. ovirt-shell -E "list vms", out
of the box. Is there a really reason to deprecate it?


Le 02/12/2016 à 14:12, Ondra Machacek a écrit :

Hello all,

I would like to kindly ask everyone who is Ansible or oVirt user for
testing of the new Ansible oVirt modules. For everyone who is
familiar
with the Ansible and oVirt, this[1] describes the steps you need
to do,
to setup oVirt modules library and start using those modules
(Most of those modules will be available in Ansible 2.3, some of
them are already in 2.2).

If you have any issue setting this up, please contact me, I will
do the
best to help you.

If you have an issue, which you think is a bug, please open an issue
here[2]. Please note that Ansible is merging it's repositories,
so since
next week it will actually be stored here[3]. If you are missing
anything please open an issue as well, or just contact me, and I
will
do fix it. You are also very welcome to sent PR with fixes.

For those who don't have testing environment which can test against,
I've created an Vagrant project which will deploy you the oVirt
instance
using Ansible playbooks. You can find how to use it here[4].

The repository also contains few examples[5], so you don't have to
copy-paste them from the source.

Thanks all for reading this and any feedback,
Ondra

[1] https://github.com/machacekondra/ovirt-tests/releases/tag/0.1

[2] https://github.com/ansible/ansible-modules-extras/issues

[3] https://github.com/ansible/ansible

[4] https://github.com/machacekondra/ovirt-tests

[5]
https://github.com/machacekondra/ovirt-tests/tree/master/examples


Re: [ovirt-users] How to invoke ovirt-guest-agent hook from ovirt engine SDK ?

2017-01-03 Thread Yaniv Kaul
On Jan 3, 2017 7:37 AM, "TranceWorldLogic ." 
wrote:

Hi,

It look interesting.
Would you please point me some document that cover in detail ?

I was looking for mechanism where I can monitor guest application.
If application get failed or crash then I need to restart or start other VM.


Such monitoring should probably be done outside the VM.

Is it possible in ovirt ?


There's a fence_rhevm script in the fence-agents pacakge, but it needs a
bit of tweaking to work with 4.x
Y.

I though I will use hook but as you explain it clear me that my understand
was wrong.
Thanks for your help.

Thanks,
~Rohit


On Mon, Jan 2, 2017 at 1:04 PM, Vinzenz Feenstra 
wrote:

>
> > On Dec 30, 2016, at 11:03 AM, TranceWorldLogic . <
> tranceworldlo...@gmail.com> wrote:
> >
> > HI,
>
> Hi there,
>
> >
> > I was exploring more about ovirt-gueste-engin.
> > It look to me very easy to configure add add hook as script.
> >
> > But my doubt is, how to invoke those script from ovirt-engine ?
> > Please some one help me to understand this part.
> > I am looking into python SDK code to figure out same but still not got
> luck
>
> Guest agent hooks aren’t triggered through the SDK, hooks are triggered
> when certain events happen on the hypervisor side.
> e.g. A VM gets migrated from HOST A to HOST B or the VM gets suspended. In
> these cases VDSM _can_ send a message to the guest
> agent asking it to process all hooks.
>
> That those hooks are enabled are depending on the migration policy
> configured. Currently all but the ‘Legacy’  migration policies do cause the
> hooks to be executed, given a new enough guest agent, VDSM and cluster
> version.
> HTH
>
>
> >
> > Thanks,
> > ~Rohit
> > ___
> > 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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] New User Portal - gathering feedback

2017-01-03 Thread Logan Kuhn
I don't have a test cluster available for this at the moment, but could you 
send some screenshots? I'd like to get the resources and that might help 

Regards, 
Logan 

- On Jan 3, 2017, at 6:13 AM, Marek Libra  wrote: 

| Hi,

| with ovirt-4.1.0_beta2, new Basic User Portal is introduced, so far as tech
| preview.
| To try, please follow the new "Basic User Portal" link from the main page.

| Recently most of previous (GWT based) Basic User Portal's functionality is
| available.
| In plan is full conformity and selected features of recent Extended Portal.

| Following goals were stated for this project:
| - improve UX by
| - modern UI (conforms Patternfly 3)
| - faster UI responses
| - shareable
| - built from reusable components to share portions of the UI in other projects
| (like ManageIQ)
| - POC for ongoing oVirt UI development
| - one of the options for next-gen oVirt UI to consider

| From technical perspective, the project is based on
| - oVirt REST API
| - React/Redux/Saga
| - Patternfly 3
| - pure JavaScript App without server-side processing except the existing REST
| API

| So far, the project is tech preview to gather user feedback.

| Please share your comments and ideas, it will really help with ongoing
| development.
| Real-life use-cases (both existing or potential) will be much appreciated.

| Thanks,
| Marek

| ___
| 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] Import Virtual Machines From Web Admin GUI

2017-01-03 Thread Beckman, Daniel
Can anyone point me to a step-by-step guide on getting an import (say, from 
KVM) to work? I gather it involves some sharing of SSH keys but I haven’t seen 
it explained in detail. Specifically, what user needs to trust what keys on 
which machines? The hypervisor hosts? The machine running the engine? Also, 
some examples of URI paths would be much appreciated.

Thanks,
Daniel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] New User Portal - gathering feedback

2017-01-03 Thread Sandro Bonazzola
On Tue, Jan 3, 2017 at 1:13 PM, Marek Libra  wrote:

> Hi,
>
> with ovirt-4.1.0_beta2, new Basic User Portal is introduced, so far as
> tech preview.
> To try, please follow the new "Basic User Portal" link from the main page.
>
> Recently most of previous (GWT based) Basic User Portal's functionality is
> available.
> In plan is full conformity and selected features of recent Extended Portal.
>
> Following goals were stated for this project:
> - improve UX by
>   - modern UI (conforms Patternfly 3)
>   - faster UI responses
> - shareable
>   - built from reusable components to share portions of the UI in other
> projects (like ManageIQ)
> - POC for ongoing oVirt UI development
>   - one of the options for next-gen oVirt UI to consider
>
> From technical perspective, the project is based on
> - oVirt REST API
> - React/Redux/Saga
> - Patternfly 3
> - pure JavaScript App without server-side processing except the existing
> REST API
>
> So far, the project is tech preview to gather user feedback.
>
> Please share your comments and ideas, it will really help with ongoing
> development.
> Real-life use-cases (both existing or potential) will be much appreciated.
>

Can you please add above to the doc-text of thr 4.1.0 enhancement bug
introducing this tech preview?
It will be added to release notes next time we'll update them.




>
> Thanks,
> Marek
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
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


Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-03 Thread Fernando Frediani
Honestlly I don't see why in 2017 people still using the old DRBD + 
Pacemaker solution for virtualization stuff.



On 03/01/2017 10:35, TranceWorldLogic . wrote:
Thanks, I agree bad idea to execute virsh command without knowing vdsm 
and engine.


Is their any plan in ovirt to support *drbd + Pacemaker* ?


On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek 
> wrote:




On 3 Jan 2017, at 11:55, Nathanaël Blanchet > wrote:

except for quickly get RO informations like "virsh capabilities".

When you come from libvirt and you know what to do, you might not
want to find/read a dedicated documentation for such a little query.



yes, sure, for read-only
but for any modification, no matter how minimal, it’s almost
always needed to inform vdsm/engine to know about it to prevent
corner cases, misdetections, etc...



Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :



On 3 Jan 2017, at 11:15, Nathanaël Blanchet > wrote:

Use at your own risks:

vdsm@ovirt:shibboleth

But, you may unsynchronize your host HW with engine database.



it is almost always a bad idea to do that
hooks are exactly for the cases like below, just in a cleaner way



Le 03/01/2017 à 11:09, Yaniv Dary a écrit :

It is preferable you use VDSM hooks to add devices to VMs.

Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34
Jerusalem Road Building A, 4th floor Ra'anana, Israel 4350109
Tel : +972 (9) 7692306 8272306 Email: yd...@redhat.com
 IRC : ydary

On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic .
> wrote:

Hi Joop,

I want to add drdb device in vm instance hence would like
to execute virsh command.
Is it possible ?

Thanks,
~Rohit



On Tue, Jan 3, 2017 at 1:26 PM, jvandewege
>
wrote:

On 3-1-2017 8:32, TranceWorldLogic . wrote:
> Hi,
>
> I tried execution below virsh command after ovirt
installation.
> but it requesting username and password.
>
> ~# virsh list --all
> Please enter your authentication name:
>
> Please let me know which username and password I
have to provide ?
If you only need read access then you need to supply
-r as an additional
argument.

Why do you need virsh because that will only give you
the info on that
host, using ovirt-shell gives you the info for all hosts.

Joop

___
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





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

-- 
Nathanaël Blanchet


Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr   
___ Users mailing

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

-- 
Nathanaël Blanchet


Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr   

___ 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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-03 Thread TranceWorldLogic .
Thanks, I agree bad idea to execute virsh command without knowing vdsm and
engine.

Is their any plan in ovirt to support *drbd + Pacemaker* ?


On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek <
michal.skriva...@redhat.com> wrote:

>
> On 3 Jan 2017, at 11:55, Nathanaël Blanchet  wrote:
>
> except for quickly get RO informations like "virsh capabilities".
>
> When you come from libvirt and you know what to do, you might not want to
> find/read a dedicated documentation for such a little query.
>
>
> yes, sure, for read-only
> but for any modification, no matter how minimal, it’s almost always needed
> to inform vdsm/engine to know about it to prevent corner cases,
> misdetections, etc...
>
>
> Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :
>
>
> On 3 Jan 2017, at 11:15, Nathanaël Blanchet < 
> blanc...@abes.fr> wrote:
>
> Use at your own risks:
>
> vdsm@ovirt:shibboleth
>
> But, you may unsynchronize your host HW with engine database.
>
>
> it is almost always a bad idea to do that
> hooks are exactly for the cases like below, just in a cleaner way
>
>
> Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
>
> It is preferable you use VDSM hooks to add devices to VMs.
>
> Yaniv Dary
> Technical Product Manager
> Red Hat Israel Ltd.
> 34 Jerusalem Road
> Building A, 4th floor
> Ra'anana, Israel 4350109
>
> Tel : +972 (9) 7692306
> 8272306
> Email: yd...@redhat.com
> IRC : ydary
>
>
> On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . <
> tranceworldlo...@gmail.com> wrote:
>
>> Hi Joop,
>>
>> I want to add drdb device in vm instance hence would like to execute
>> virsh command.
>> Is it possible ?
>>
>> Thanks,
>> ~Rohit
>>
>>
>>
>> On Tue, Jan 3, 2017 at 1:26 PM, jvandewege 
>> wrote:
>>
>>> On 3-1-2017 8:32, TranceWorldLogic . wrote:
>>> > Hi,
>>> >
>>> > I tried execution below virsh command after ovirt installation.
>>> > but it requesting username and password.
>>> >
>>> > ~# virsh list --all
>>> > Please enter your authentication name:
>>> >
>>> > Please let me know which username and password I have to provide ?
>>> If you only need read access then you need to supply -r as an additional
>>> argument.
>>>
>>> Why do you need virsh because that will only give you the info on that
>>> host, using ovirt-shell gives you the info for all hosts.
>>>
>>> Joop
>>>
>>> ___
>>> 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
>>
>>
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>
>
>
> ___
> 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] New User Portal - gathering feedback

2017-01-03 Thread Marek Libra
Hi,

with ovirt-4.1.0_beta2, new Basic User Portal is introduced, so far as tech
preview.
To try, please follow the new "Basic User Portal" link from the main page.

Recently most of previous (GWT based) Basic User Portal's functionality is
available.
In plan is full conformity and selected features of recent Extended Portal.

Following goals were stated for this project:
- improve UX by
  - modern UI (conforms Patternfly 3)
  - faster UI responses
- shareable
  - built from reusable components to share portions of the UI in other
projects (like ManageIQ)
- POC for ongoing oVirt UI development
  - one of the options for next-gen oVirt UI to consider

>From technical perspective, the project is based on
- oVirt REST API
- React/Redux/Saga
- Patternfly 3
- pure JavaScript App without server-side processing except the existing
REST API

So far, the project is tech preview to gather user feedback.

Please share your comments and ideas, it will really help with ongoing
development.
Real-life use-cases (both existing or potential) will be much appreciated.

Thanks,
Marek
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-03 Thread Michal Skrivanek

> On 3 Jan 2017, at 11:55, Nathanaël Blanchet  wrote:
> 
> except for quickly get RO informations like "virsh capabilities".
> 
> When you come from libvirt and you know what to do, you might not want to 
> find/read a dedicated documentation for such a little query.
> 

yes, sure, for read-only
but for any modification, no matter how minimal, it’s almost always needed to 
inform vdsm/engine to know about it to prevent corner cases, misdetections, 
etc...

> 
> Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :
>> 
>>> On 3 Jan 2017, at 11:15, Nathanaël Blanchet < 
>>> blanc...@abes.fr > wrote:
>>> 
>>> Use at your own risks:
>>> 
>>> vdsm@ovirt:shibboleth
>>> 
>>> But, you may unsynchronize your host HW with engine database.
>> 
>> it is almost always a bad idea to do that
>> hooks are exactly for the cases like below, just in a cleaner way
>> 
>>> 
>>> Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
 It is preferable you use VDSM hooks to add devices to VMs.
 
 Yaniv Dary
 Technical Product Manager
 Red Hat Israel Ltd.
 34 Jerusalem Road
 Building A, 4th floor
 Ra'anana, Israel 4350109
 
 Tel : +972 (9) 7692306
 8272306
 Email: yd...@redhat.com 
 IRC : ydary
 
 On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . < 
 tranceworldlo...@gmail.com 
 > wrote:
 Hi Joop,
 
 I want to add drdb device in vm instance hence would like to execute virsh 
 command.
 Is it possible ?
 
 Thanks,
 ~Rohit
 
 
 
 On Tue, Jan 3, 2017 at 1:26 PM, jvandewege > wrote:
 On 3-1-2017 8:32, TranceWorldLogic . wrote:
 > Hi,
 >
 > I tried execution below virsh command after ovirt installation.
 > but it requesting username and password.
 >
 > ~# virsh list --all
 > Please enter your authentication name:
 >
 > Please let me know which username and password I have to provide ?
 If you only need read access then you need to supply -r as an additional
 argument.
 
 Why do you need virsh because that will only give you the info on that
 host, using ovirt-shell gives you the info for all hosts.
 
 Joop
 
 ___
 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 
 
 
 
 
 
 ___
 Users mailing list
 Users@ovirt.org 
 http://lists.ovirt.org/mailman/listinfo/users 
 
>>> 
>>> -- 
>>> Nathanaël Blanchet
>>> 
>>> Supervision réseau
>>> Pôle Infrastrutures Informatiques
>>> 227 avenue Professeur-Jean-Louis-Viala
>>> 34193 MONTPELLIER CEDEX 5   
>>> Tél. 33 (0)4 67 54 84 55
>>> Fax  33 (0)4 67 54 84 14
>>> blanc...@abes.fr  
>>> ___
>>> Users mailing list
>>> Users@ovirt.org 
>>> http://lists.ovirt.org/mailman/listinfo/users 
>>> 
>> 
> 
> -- 
> Nathanaël Blanchet
> 
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14
> blanc...@abes.fr  

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


Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-03 Thread Nathanaël Blanchet

except for quickly get RO informations like "virsh capabilities".

When you come from libvirt and you know what to do, you might not want 
to find/read a dedicated documentation for such a little query.



Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :


On 3 Jan 2017, at 11:15, Nathanaël Blanchet > wrote:


Use at your own risks:

vdsm@ovirt:shibboleth

But, you may unsynchronize your host HW with engine database.



it is almost always a bad idea to do that
hooks are exactly for the cases like below, just in a cleaner way


Le 03/01/2017 à 11:09, Yaniv Dary a écrit :

It is preferable you use VDSM hooks to add devices to VMs.

Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34 
Jerusalem Road Building A, 4th floor Ra'anana, Israel 4350109 Tel : 
+972 (9) 7692306 8272306 Email: yd...@redhat.com 
 IRC : ydary


On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . 
 wrote:


Hi Joop,

I want to add drdb device in vm instance hence would like to
execute virsh command.
Is it possible ?

Thanks,
~Rohit



On Tue, Jan 3, 2017 at 1:26 PM, jvandewege
 wrote:

On 3-1-2017 8:32, TranceWorldLogic . wrote:
> Hi,
>
> I tried execution below virsh command after ovirt
installation.
> but it requesting username and password.
>
> ~# virsh list --all
> Please enter your authentication name:
>
> Please let me know which username and password I have to
provide ?
If you only need read access then you need to supply -r as
an additional
argument.

Why do you need virsh because that will only give you the
info on that
host, using ovirt-shell gives you the info for all hosts.

Joop

___
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





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


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr  
___

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




--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

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


Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-03 Thread Michal Skrivanek

> On 3 Jan 2017, at 11:15, Nathanaël Blanchet  wrote:
> 
> Use at your own risks:
> 
> vdsm@ovirt:shibboleth
> 
> But, you may unsynchronize your host HW with engine database.
> 

it is almost always a bad idea to do that
hooks are exactly for the cases like below, just in a cleaner way

> Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
>> It is preferable you use VDSM hooks to add devices to VMs.
>> 
>> Yaniv Dary
>> Technical Product Manager
>> Red Hat Israel Ltd.
>> 34 Jerusalem Road
>> Building A, 4th floor
>> Ra'anana, Israel 4350109
>> 
>> Tel : +972 (9) 7692306
>> 8272306
>> Email: yd...@redhat.com 
>> IRC : ydary
>> 
>> On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . < 
>> tranceworldlo...@gmail.com 
>> > wrote:
>> Hi Joop,
>> 
>> I want to add drdb device in vm instance hence would like to execute virsh 
>> command.
>> Is it possible ?
>> 
>> Thanks,
>> ~Rohit
>> 
>> 
>> 
>> On Tue, Jan 3, 2017 at 1:26 PM, jvandewege < 
>> jvandew...@nieuwland.nl 
>> > wrote:
>> On 3-1-2017 8:32, TranceWorldLogic . wrote:
>> > Hi,
>> >
>> > I tried execution below virsh command after ovirt installation.
>> > but it requesting username and password.
>> >
>> > ~# virsh list --all
>> > Please enter your authentication name:
>> >
>> > Please let me know which username and password I have to provide ?
>> If you only need read access then you need to supply -r as an additional
>> argument.
>> 
>> Why do you need virsh because that will only give you the info on that
>> host, using ovirt-shell gives you the info for all hosts.
>> 
>> Joop
>> 
>> ___
>> 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 
>> 
>> 
>> 
>> 
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org 
>> http://lists.ovirt.org/mailman/listinfo/users 
>> 
> 
> -- 
> Nathanaël Blanchet
> 
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14
> blanc...@abes.fr  
> ___
> 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] How to execute Virsh command after ovirt installation ?

2017-01-03 Thread Nathanaël Blanchet

Use at your own risks:

vdsm@ovirt:shibboleth

But, you may unsynchronize your host HW with engine database.

Le 03/01/2017 à 11:09, Yaniv Dary a écrit :

It is preferable you use VDSM hooks to add devices to VMs.

Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34 Jerusalem 
Road Building A, 4th floor Ra'anana, Israel 4350109 Tel : +972 (9) 
7692306 8272306 Email: yd...@redhat.com  IRC 
: ydary


On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . 
> wrote:


Hi Joop,

I want to add drdb device in vm instance hence would like to
execute virsh command.
Is it possible ?

Thanks,
~Rohit



On Tue, Jan 3, 2017 at 1:26 PM, jvandewege
> wrote:

On 3-1-2017 8:32, TranceWorldLogic . wrote:
> Hi,
>
> I tried execution below virsh command after ovirt installation.
> but it requesting username and password.
>
> ~# virsh list --all
> Please enter your authentication name:
>
> Please let me know which username and password I have to
provide ?
If you only need read access then you need to supply -r as an
additional
argument.

Why do you need virsh because that will only give you the info
on that
host, using ovirt-shell gives you the info for all hosts.

Joop

___
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





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


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

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


Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-03 Thread Yaniv Dary
It is preferable you use VDSM hooks to add devices to VMs.

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . <
tranceworldlo...@gmail.com> wrote:

> Hi Joop,
>
> I want to add drdb device in vm instance hence would like to execute virsh
> command.
> Is it possible ?
>
> Thanks,
> ~Rohit
>
>
>
> On Tue, Jan 3, 2017 at 1:26 PM, jvandewege 
> wrote:
>
>> On 3-1-2017 8:32, TranceWorldLogic . wrote:
>> > Hi,
>> >
>> > I tried execution below virsh command after ovirt installation.
>> > but it requesting username and password.
>> >
>> > ~# virsh list --all
>> > Please enter your authentication name:
>> >
>> > Please let me know which username and password I have to provide ?
>> If you only need read access then you need to supply -r as an additional
>> argument.
>>
>> Why do you need virsh because that will only give you the info on that
>> host, using ovirt-shell gives you the info for all hosts.
>>
>> Joop
>>
>> ___
>> 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
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Issue with OVN/OVS and mandatory ovirtmgmt network

2017-01-03 Thread Marcin Mirecki
How did you create this port?
From the oVirt engine UI?
The OVN provider creates the port when you add the port in the engine UI,
it is then plugged into the ovs bridge by the VIF driver.
Please attach /var/log/ovirt-provider-ovn.log



- Original Message -
> From: "Sverker Abrahamsson" 
> To: "Marcin Mirecki" 
> Cc: "Ovirt Users" 
> Sent: Tuesday, January 3, 2017 2:06:22 AM
> Subject: Re: [ovirt-users] Issue with OVN/OVS and mandatory ovirtmgmt network
> 
> Found an issue with Ovirt - OVN integration.
> 
> Engine and OVN central db running on host h2. Created VM to run on host
> h1, which is started. Ovn db state:
> 
> [root@h2 env3]# ovn-nbctl show
>  switch e53554cf-e553-40a1-8d22-9c8d95ec0601 (ovirtbridge)
>  port 4981ee5f-6e15-4bd5-a1cf-7ead9bdd5873
>  addresses: ["00:1a:4a:16:01:51"]
>  port 92f6d3c8-68b3-4986-9c09-60bee04644b5
>  addresses: ["00:1a:4a:16:01:52"]
>  port ovirtbridge-port2
>  addresses: ["unknown"]
>  port ovirtbridge-port1
>  addresses: ["unknown"]
> [root@h2 env3]# ovn-sbctl show
> Chassis "6e4dd29f-7607-48d7-8e5a-eef4c6aeefb5"
>  hostname: "h2.limetransit.com"
>  Encap geneve
>  ip: "148.251.126.50"
>  options: {csum="true"}
>  Port_Binding "4981ee5f-6e15-4bd5-a1cf-7ead9bdd5873"
>  Port_Binding "ovirtbridge-port1"
> Chassis "4f10fb04-8fb2-48d7-8a3f-ea6444c02cf9"
>  hostname: "h1.limetransit.com"
>  Encap geneve
>  ip: "144.76.84.73"
>  options: {csum="true"}
>  Port_Binding "ovirtbridge-port2"
> 
> Port 92f6d3c8-68b3-4986-9c09-60bee04644b5 is for the new VM which is
> started on h1, but it is not assigned to that chassis. The reason is
> that on h1 the port on br-int is created like this:
> 
> ovs-vsctl --timeout=5 -- --if-exists del-port vnet0 -- add-port br-int
> vnet0 -- set Interface vnet0
> "external-ids:attached-mac=\"00:1a:4a:16:01:52\"" -- set Interface vnet0
> "external-ids:iface-id=\"35bcbe31-2c7e-4d97-add9-ce150eeb2f11\"" -- set
> Interface vnet0
> "external-ids:vm-id=\"4d0c134a-11a0-40f4-b2fb-c13c17c7251c\"" -- set
> Interface vnet0 external-ids:iface-status=active
> 
> I.e. the extrernal id of interface is wrong. When I manually change to
> the right id like this the port works fine:
> 
> ovs-vsctl --timeout=5 -- --if-exists del-port vnet0 -- add-port br-int
> vnet0 -- set Interface vnet0
> "external-ids:attached-mac=\"00:1a:4a:16:01:52\"" -- set Interface vnet0
> "external-ids:iface-id=\"92f6d3c8-68b3-4986-9c09-60bee04644b5\"" -- set
> Interface vnet0
> "external-ids:vm-id=\"4d0c134a-11a0-40f4-b2fb-c13c17c7251c\"" -- set
> Interface vnet0 external-ids:iface-status=active
> 
> sb db after correcting the port:
> 
> Chassis "6e4dd29f-7607-48d7-8e5a-eef4c6aeefb5"
>  hostname: "h2.limetransit.com"
>  Encap geneve
>  ip: "148.251.126.50"
>  options: {csum="true"}
>  Port_Binding "4981ee5f-6e15-4bd5-a1cf-7ead9bdd5873"
>  Port_Binding "ovirtbridge-port1"
> Chassis "4f10fb04-8fb2-48d7-8a3f-ea6444c02cf9"
>  hostname: "h1.limetransit.com"
>  Encap geneve
>  ip: "144.76.84.73"
>  options: {csum="true"}
>  Port_Binding "ovirtbridge-port2"
>  Port_Binding "92f6d3c8-68b3-4986-9c09-60bee04644b5"
> 
> I don't know from where the faulty id comes from, it's not in any logs.
> In the domain xml as printed in vdsm.log the id is correct:
> 
>  
>  
>  
>  
>  
>  
>  
>  
>  
>   interfaceid="92f6d3c8-68b3-4986-9c09-60bee04644b5" />
>  
>  
> 
> Where is the ovs-vsctl command line built for this call?
> 
> /Sverker
> 
> 
> Den 2017-01-02 kl. 13:40, skrev Sverker Abrahamsson:
> > Got it to work now by following the env8 example in OVN tutorial,
> > where a port is added with type l2gateway. Not sure how that is
> > different from the localnet variant, but didn't suceed in getting that
> > one working. Now I'm able to ping and telnet over the tunnel, but not
> > ssh even when the port is answering on telnet. Neither does nfs
> > traffic work even though mount did. Suspecting MTU issue. I did notice
> > that ovn-controller starts too early, before network interfaces are
> > established and hence can't reach the db. As these is a purely OVS/OVN
> > issue I'll ask about it on their mailing list.
> >
> > Getting back to the original issue with Ovirt, I've now added the
> > second host h1 to ovirt-engine. Had to do the same as with h2 to
> > create a dummy ovirtmgmt network but configured access via the public
> > IP. My firewall settings was replaced with iptables config and
> > vdsm.conf was overwritten when engine was set up, so those had to be
> > manually restored. It would be preferable if it would be possible to
> > configure ovirt-engine that it does not "own" the host and 

Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-03 Thread TranceWorldLogic .
Hi Joop,

I want to add drdb device in vm instance hence would like to execute virsh
command.
Is it possible ?

Thanks,
~Rohit



On Tue, Jan 3, 2017 at 1:26 PM, jvandewege  wrote:

> On 3-1-2017 8:32, TranceWorldLogic . wrote:
> > Hi,
> >
> > I tried execution below virsh command after ovirt installation.
> > but it requesting username and password.
> >
> > ~# virsh list --all
> > Please enter your authentication name:
> >
> > Please let me know which username and password I have to provide ?
> If you only need read access then you need to supply -r as an additional
> argument.
>
> Why do you need virsh because that will only give you the info on that
> host, using ovirt-shell gives you the info for all hosts.
>
> Joop
>
> ___
> 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] Fwd: [Call for feedback] anybody gave 4.1 beta a try?

2017-01-03 Thread Nathanaël Blanchet



Le 02/01/2017 à 11:14, Martin Polednik a écrit :

On 23/12/16 10:42 +0100, Nathanaël Blanchet wrote:



Le 22/12/2016 à 17:17, Yaniv Kaul a écrit :



On Thu, Dec 22, 2016 at 12:50 PM, Nathanaël Blanchet 
> wrote:


   Hi,

   sebool unconfigured module prevents vdsm from starting:


We always run with selinux. What's the reason for disabling it?
I never disabled selinux, why do you think I did this? it is active, 
this is the problem!

Y.


   [root@gaua2 network-scripts]# vdsm-tool configure --force

   Checking configuration status...

   Current revision of multipath.conf detected, preserving
   libvirt is already configured for vdsm
   SUCCESS: ssl configured to true. No conflicts

   Running configure...
   libsepol.context_from_record: type ovirt_vmconsole_host_port_t is
   not defined (No such file or directory).
   libsepol.context_from_record: could not create context structure
   (Invalid argument).
   libsepol.port_from_record: could not create port structure for
   range 2223:2223 (tcp) (Invalid argument).
   libsepol.sepol_port_modify: could not load port range 2223 - 2223
   (tcp) (Invalid argument).
   libsemanage.dbase_policydb_modify: could not modify record value
   (Invalid argument).
   libsemanage.semanage_base_merge_components: could not merge local
   modifications into policy (Invalid argument).
   Traceback (most recent call last):
 File "/usr/bin/vdsm-tool", line 219, in main
   return tool_command[cmd]["command"](*args)
 File "/usr/lib/python2.7/site-packages/vdsm/tool/__init__.py",
   line 38, in wrapper
   func(*args, **kwargs)
 File
"/usr/lib/python2.7/site-packages/vdsm/tool/configurator.py", line
   141, in configure
   _configure(c)
 File
"/usr/lib/python2.7/site-packages/vdsm/tool/configurator.py", line
   88, in _configure
   getattr(module, 'configure', lambda: None)()
 File
"/usr/lib/python2.7/site-packages/vdsm/tool/configurators/sebool.py",
   line 84, in configure
   _setup_booleans(True)
 File
"/usr/lib/python2.7/site-packages/vdsm/tool/configurators/sebool.py",
   line 57, in _setup_booleans
   sebool_obj.finish()
 File "/usr/lib/python2.7/site-packages/seobject/__init__.py",
   line 320, in finish
   self.commit()
 File "/usr/lib/python2.7/site-packages/seobject/__init__.py",
   line 310, in commit
   rc = semanage_commit(self.sh)
   OSError: [Errno 22] Invalid argument


Had same issue, managed to solve it by reinstalling ovirt_vmconsole
rules:

# semodule -i 
/usr/share/selinux/packages/ovirt-vmconsole/ovirt_vmconsole.pp
Yes thank you it did the trick, I found it because port 2223 was not 
allowed to listen by SE


mpolednik



   Le 19/12/2016 à 11:55, Maton, Brett a écrit :

   I'll give that ago this evening, although that might be related
   to trying to deploy to the host multiple times

   On 19 December 2016 at 09:54, Simone Tiraboschi
   > wrote:



   On Mon, Dec 19, 2016 at 10:11 AM, Maton, Brett
   >
   wrote:

   Log from the last deploy attempt attached.


   2016-12-18 12:52:05 DEBUG
   otopi.plugins.ovirt_host_mgmt.packages.update
   update.verbose:94 Yum: There are unfinished transactions
   remaining. You might consider running
   yum-complete-transaction, or "yum-complete-transaction
   --cleanup-only" and "yum history redo last", first to finish
   them. If those don't work you'll have to try
   removing/installing packages by hand (maybe package-cleanup
   can help).

   It seams that you have unfinished yum transactions on your
   host; can you please check for that and then try redeploying
   the host?


   On 19 December 2016 at 08:30, Simone Tiraboschi
   > wrote:



   On Sat, Dec 17, 2016 at 7:17 PM, Maton, Brett
   > wrote:

   I had a mac address conflict so reinstalled (
   from scratch ) 4.1 this morning, CPU load issue
   in UI was still there.


   We already have an open bug about this:
https://bugzilla.redhat.com/show_bug.cgi?id=1390675
   Thanks for the report.


   I can't deploy additional hosts now though due to
   SSH errors.


   Could you please attach host-deploy logs?


   Experimenting, I updated the hosted engine this
   afternoon and the CPU load issue seems be have
   either been fixed or resolved itself.

   However, SSH errors deploying additional hosts
   persists ( I had no problem with the previous
   install on Friday ).

   enging.log snippet:

Re: [ovirt-users] import storage domain and import VMs from ovirt 3.6 to 4

2017-01-03 Thread jvandewege
On 2-1-2017 22:53, Paul Groeneweg | Pazion wrote:
> Hi,
>
> I am finally planning to start our oVirt hosted engine upgrade. I am
> not sure how stable my hosted engine storage is ( it shows wrong
> status in web GUI ) So I arranged a new shared storage and plan to do
> a fresh install ( altough I noticed there is also an option to
> upgrade "hosted-engine --upgrade-appliance" ).
>
> After I installed the oVirt 4 hosted engine on a host node I want to
> move all my running VMs to the new environment. With VMs at first
> running on the current data storage domain. My storage domain is FC based.
>
> My idea is to:
>
> 1. stop all VMs
> 2. detach Storage domain on old ovirt 3.6 environment ( and keep data ).
> 3. import and activate the storage domain on the new ovirt 4 environment.
>
> To prevent any data loss or copy too much data I have the follwoing
> questions: 
>
> 1. Is this storage domain import from 3.6 to 4.0 available?
Yes, done it multiple times.

> 2. I read I should import all VMs, this means I need to copy all data
> or is it just a matter of importing a config, so all VM data /image
> remains on the imported storage domain?
I think it copies the info into the database and thats it. It might also
adjust the info on the storagedomain metadata that it is now part of a
new install.

> 3. When for some reason I want to roll back when I have imported the
> storage domain without having any VM imported, can I just detach and
> re-attach the storage domain to the previous 3.6 environment?
>
That should work too. Only problem you could run into is if the detach
doesn't work for example when your new install suddenly went belly up.
People have had that and you need to adjust the metadata and then you
can import it back into 3.6 or another 4.0 install.

> If there might be a better path to get my VMs to a clean oVirt 4.0
> environment I am glad to hear.
>
The long way is to really export to an export domain and then import
from it.

Joop

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