[ovirt-users] Host keeps disconnecting

2019-05-15 Thread Chris Cowley
Hello all

I am trying out ovirt 4 on a single host using the hosted engine. All
storage is on the same machine, with NFS3 in the middle.

Regularly the host disconnects from the engine - although all the VMs
continue working happily. I can re-activate it immediately and it will come
online happily, I can then manipulate VMs to my hearts content for a few
minutes until it disconnects again and I have to re-activate it.

First, am I being stupid trying to run this on a single node? Am I obliged
to at least break out the storage in to a seperate node/NAS

Second, assuming this is technically possible, where should I be looking
for clues?
​
 vdsm.log

​

--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LLBJO25HYPTV673CHXDY3J7DT4RFVYSC/


Re: [ovirt-users] I wrote an oVirt thing

2016-11-28 Thread Chris Cowley
While I really like both ideas it is not a route I would PERSONALLY 
take.


To me it seems logical that there should be parallels between oVirt and 
Openstack. After all, oVirt already integrates with Glance, Cinder and 
Neutron. Thus it is not unreasonable to suggest that any sort of CLI 
should take its inspiration from the Openstack CLI tools.


Also, I am not sure that would scratch my personal itch - which even in 
its unbelievably primitive state, my tool does.


Of course, this is FLOSS, so knock yourself out - the more the merrier.

On 2016-11-27 15:00, Nir Soffer wrote:

On Sun, Nov 27, 2016 at 12:54 PM, Fabrice Bacchella
<fabrice.bacche...@orange.fr> wrote:

Looks like close to my own try :

https://github.com/fbacchella/ovirtcmd


Looks cool.

But I think what we need is something like targetcli for ovirt.
http://linux-iscsi.org/wiki/Targetcli#Display_the_object_tree

With such tool we can see the ovirt setup as a file system tree:

/ovirt/vms/vm-id
/ovirt/storage/domain-id
...

And be able to query and operate on the entities.

Another crazy direction I discussed with Roy, is a fuse files system 
mapping

ovirt setup to a file system - imagine:

$ mount -t ovirtfs /ovirt

$ ls /ovirt/vms
vm-id-1
vm-id-2
...

$ cat /ovirt/vms/vm-ids/running
1

$ echo 0 > /ovirt/vms/vm-id/running




Le 26 nov. 2016 à 22:10, Chris Cowley <ch...@chriscowley.me.uk> a 
écrit :


Hi all

I started hacking together something last night to use as a CLI to
manage my oVirt clusters.

https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage

Currently it can create/delete a VM, list the VMS, and I started a
function to show the details, but all that does for now is return 
the ID.


The plan is for it to evolve with my own needs, but I am open to
ideas/PRs from the community.

Disclaimer #1: I am a SysAdmin, not a developer. If you a proper
developer, what you see may cause you physical pain.

Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be
patient and I withold the right to not respect any sort of SLA :-)


--
Regards

Chris Cowley
http://about.me/chriscowley

___
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


--
Regards

Chris Cowley
http://about.me/chriscowley
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] I wrote an oVirt thing

2016-11-27 Thread Chris Cowley
Don't see what Ansible has to do with this. In any case, I do not
actually like Ansible. It is not a tool that follows my logic, nor do I
like that it always seems to nudging me towards Ansible Tower.

I wanted a simple CLI that I can use to scratch my own personal itch and
thought I would share it with you guys.

On 27/11/16 10:07, Moran Goldboim wrote:
> Guys, can you please check out Ansible integration work for those use cases:
> a base Auth/Vms/Disks modules were introduced with Ansible 2.2 -
> https://docs.ansible.com/ansible/ovirt_vms_module.html
> https://docs.ansible.com/ansible/ovirt_disks_module.html
> https://docs.ansible.com/ansible/ovirt_auth_module.html
> https://github.com/ansible/ansible-modules-extras/tree/stable-2.2/cloud/ovirt
> 
> with many improvements coming soon with Ansible 2.3:
> https://github.com/ansible/ansible-modules-extras/tree/devel/cloud/ovirt
> https://github.com/ansible/ansible-modules-extras/pulls?utf8=%E2%9C%93=is%3Apr%20is%3Aopen%20ovirt
> 
> it sounds like that for this use case, Ansible modules should be a great
> answer.
> 
> Moran.
> 
> On Sat, Nov 26, 2016 at 11:40 PM, Chris Cowley <ch...@chriscowley.me.uk
> <mailto:ch...@chriscowley.me.uk>> wrote:
> 
> A few reasons really. I fancied playing around with Click, so I made
> this as I was also digging around the oVirt API. My workstation at work
> is running Ubuntu, and I do not believe that ovirt-shell is packaged
> for it.
> 
> Also, choice is good.
> 
> Finally: because I didn't think of it.
> 
> On 26/11/16 22:24, Derek Atkins wrote:
> > Hi Chris,
> >
> > Just a quick question, but, why not just use ovirt-shell?
> > Or make this a wrapper around ovirt-shell?
> >
> > -derek
> >
> > On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:
> >> Hi all
> >>
> >> I started hacking together something last night to use as a CLI to
> >> manage my oVirt clusters.
> >>
> >> https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
> <https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage>
> >>
> >> Currently it can create/delete a VM, list the VMS, and I started a
> >> function to show the details, but all that does for now is return
> the ID.
> >>
> >> The plan is for it to evolve with my own needs, but I am open to
> >> ideas/PRs from the community.
> >>
> >> Disclaimer #1: I am a SysAdmin, not a developer. If you a proper
>     >> developer, what you see may cause you physical pain.
> >>
> >> Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be
> >> patient and I withold the right to not respect any sort of SLA :-)
> >>
> >>
> >> --
> >> Regards
> >>
> >> Chris Cowley
> >> http://about.me/chriscowley
> >>
> >> ___
> >> Users mailing list
> >> Users@ovirt.org <mailto:Users@ovirt.org>
> >> http://lists.ovirt.org/mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
> >>
> >
> >
> 
> 
> --
> Regards
> 
> Chris Cowley
> http://about.me/chriscowley
> 
> 
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
> 
> 


-- 
Regards

Chris Cowley
http://about.me/chriscowley



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Problem creating ovirtmgmt bridge

2016-11-07 Thread Chris Cowley
I am installing on a 3 node cluster, with gluster as my storage. Each node
has a pair of bonds. At the moment, my intention is to use bond0 for all VM
traffic, with management (and thus ovirtmgmt) on bond1 along with Gluster
(bond1..

Sadly hosted-engine --deploy dies saying:

```
Failed to execute stage 'Misc configuration': Failed to setup networks
{'ovirtmgmt': {'ipaddr': u'10.110.84.11', 'netmask': u'255.255.255.0',
'bonding': 'bond1', 'bootproto': u'none', 'gateway': u'10.110.84.1',
'defaultRoute': True}}. Error code: "-32603" message: "Attempt to call
function: > with arguments: ({u'ovirtmgmt': {u'ipaddr': u'10.110.84.11',
u'bonding': u'bond1', u'netmask': u'255.255.255.0', u'bootproto': u'none',
u'gateway': u'10.110.84.1', u'defaultRoute': True}}, {},
{u'connectivityCheck': False}) error: 'NoneType' object is not iterable"
```

Is my way of configuring my network even possible? Or do I need to re-think
things
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] disk image uploading

2016-10-27 Thread Chris Cowley
Simple question:

Is there a better way of uploading a disk to a storage domain than through
my browser?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Kill a failed VM import

2016-10-26 Thread Chris Cowley
Hello all

I have just imported physical machine into my export datastore using
virt-p2v. While I was importing it, my hosted-engine died (VM went into
paused state) during the disk-copy stage.

Now, that half-imported VM is in the status "image locked" and I am un able
to do anything with it. The disk image does not seem to be in my master
data store so I think I can safely delete the VM and re-import it. However,
that is not available in the web GUI. How can I work around that and force
the deletion?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Host keeps disconnecting

2016-10-04 Thread Chris Cowley
Hello all

I am trying out ovirt 4 on a single host using the hosted engine. All
storage is on the same machine, with NFS3 in the middle.

Regularly the host disconnects from the engine - although all the VMs
continue working happily. I can re-activate it immediately and it will come
online happily, I can then manipulate VMs to my hearts content for a few
minutes until it disconnects again and I have to re-activate it.

First, am I being stupid trying to run this on a single node? Am I obliged
to at least break out the storage in to a seperate node/NAS

Second, assuming this is technically possible, where should I be looking
for clues?
​
 vdsm.log

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