[ovirt-users] Re: [Gluster-users] Update 4.2.8 --> 4.3.5

2019-07-15 Thread Sahina Bose
On Thu, Jul 11, 2019 at 11:15 PM Strahil  wrote:

> I'm addding gluster-users as I'm not sure if you can go gluster v3 -> v6
> directly.
>
> Theoretically speaking ,  there  should be no problem - but I don't know
> if you will observe any issues.
>
> @Gluster-users,
>
> Can someone share their thoughts about v3 to v6 migration  ?
>
> Best Regards,
> Strahil Nikolov
> On Jul 11, 2019 14:05, Christoph Köhler wrote: > > Hello! > > We have a
> 4.2.8 environment with some managed gluster-volumes as storage > domains
> and we want to go up to 4.3.5. > > How is that procedure especially with
> the gluster nodes in ovirt that > are running 3.12.15? My fear is on the
> jump to gluster 6. Do the cluster > work if the first node (of three) is
> upgraded? And what about the > sequence - first the hypervisors or first
> gluster nodes?


Since this is not a hyperconverged deployment - the gluster servers needs
to be upgraded first , and then the client i.e hypervisors.

> > Is there anyone who had done this? > > Greetings! > Christoph Köhler >
> ___ > 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/VWFS6YUKA77VP5DWGV7SBYGZREZDJMO7/
> ___
> Gluster-users mailing list
> gluster-us...@gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-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/Q7BJOQXFTDFZNMSKKOSASIOZOZOCHJW6/


[ovirt-users] Re: Can't oepn console to VM

2019-07-15 Thread csi-laser
sorry, the mage can't be upload, so here is the error :

Unable to connect to libvirt with URI: [none].
___
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/PL6EXXKM4FZY44QGEDDTATSG52RBJOGM/


[ovirt-users] Can't oepn console to VM

2019-07-15 Thread csi-laser
Hi,
When trying to open a console for my VM , I'm getting this error :

[cid:image001.png@01D53732.4E21AD20]

Can you please help ?

Thanks in advance
___
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/PIAQP3QUKT25W7EWYTTN6FMBX3WWSR6E/


[ovirt-users] Re: ovirt_disk and ubuntu issues

2019-07-15 Thread Vrgotic, Marko
Hey Pavel,

As far as I remember, I went with Ansible ovirt_vm and ovrit_disk defaults. I 
will double check.

“format: cow”  which would mean thin-provisioned.

I have all prepared so I can make quick test with all scenarios:

  1.  format: cow
  2.  format: raw
  3.  format: cow and sparse: false(no)
  4.  ….

Let me know.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic




From: Pavel Bar 
Date: Monday, 15 July 2019 at 10:20
To: "Vrgotic, Marko" , Ondra Machacek 

Cc: "users@ovirt.org" 
Subject: Re: [ovirt-users] Re: ovirt_disk and ubuntu issues

Good day Marko,
Can you please tell us whether you tried to create a pre-allocated or 
thin-provision disk?
Ondra, can you please take a look that is not an Ansible issue?

Thank you in advance!

Pavel


On Mon, Jul 15, 2019 at 12:29 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVIrt,

Even though I would like to get some insight into what could be reason this is 
no working, I did find a workaround:

Instead of trying to get Ubuntu disk specified with ovirt_disk size,
I used qemu-img resize to increase the disk size before importing it to oVIrt.
This works, but it still going to present the problem if User eventually wants 
to increase for example disk from 40GBto 80GB.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com





From: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Date: Wednesday, 10 July 2019 at 16:19
To: "users@ovirt.org" 
mailto:users@ovirt.org>>
Subject: ovirt_disk and ubuntu issues

Dear oVirt,

I am downloading the ubuntu cloud image 16.04 and or 18.04:

   - name: "Download base cloud image from server"
 get_url:
   url: "{{ image_url }}"
   checksum: "sha256:{{ image_checksum }}"
   validate_certs: yes
   dest: "/tmp/{{ inventory_hostname_short }}.qcow2"
 delegate_to: localhost

creating a 40GB HDD and attaching image to it:

- name: "Create oVirt disk with base image (with 40Gb allocated)"
  ovirt_disk:
name: "{{ inventory_hostname_short }}"
interface: virtio
size: 40GiB
format: cow
upload_image_path: "/tmp/{{ inventory_hostname_short }}.qcow2"
storage_domain: ovirt_production
wait: true
  delegate_to: localhost

creating VM afterwards:


- name: "Create new Ubuntu VMs from cloud image"
  delegate_to: localhost
  ovirt_vm:
auth: "{{ ovirt_auth }}"
name: "{{ inventory_hostname_short }}"
disks:
- name: "{{ inventory_hostname_short }}"
graphical_console:
protocol: vnc
serial_console: true
usb_support: true
soundcard_enabled: false
operating_system: "{{ operating_system_type }}"
type: server
nics:
- name: nic1
  profile_name: tenant1
  interface: virtio
  nic_on_boot: true
cloud_init:
  host_name: "{{ inventory_hostname }}"
  user_name: ubuntu
  authorized_ssh_keys: "{{ ssh_agent_pubkeys.stdout }}"
state: "running"
cluster: "{{ ovirt_cluster }}"
  when: inventory_hostname in groups['ubuntu-baker']

When VM gets created, I can see in oVIrt VM details disk created is 40GB.
Executing df -h, gives me following:

  root@av3-ubuntu-18-base:/home/ubuntu# df -h
Filesystem  Size  Used Avail Use% Mounted on
udev447M 0  447M   0% /dev
tmpfs92M  696K   92M   1% /run
/dev/vda1   2.0G  1.3G  706M  65% /
tmpfs   460M 0  460M   0% /dev/shm
tmpfs   5.0M 0  5.0M   0% /run/lock
tmpfs   460M 0  460M   0% /sys/fs/cgroup
/dev/vda15  105M  3.6M  101M   4% /boot/efi
tmpfs92M 0   92M   0% /run/user/1000

Initially I thought growpart or resize2fs is not triggered, but then running 
dmesg or fdisk /dev/vda, told me that physical disk size is still only size of 
the downloaded ubuntu cloud image.

Disk /dev/vda: 2.2 GiB, 2361393152 bytes, 4612096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Is this related to ovirt_disk module, or ubuntu and ovirt_disk, since I do not 
have this behavior with CentOS 7 images?

Can you advise how to proceed, in case I am missing some configuration 
parameter or command to be run?

The following Ubuntu images are used:

ubuntu-16: 
image_url=https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
 image_checksum=fda868058586b129c7fdb6472fe575e911f7c67551a6dc75966f2ec02201bdae
ubuntu-18: 
image_url=https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img
 image_checksum=7d2b90022a169119d7726c0fefa1713acbead7cc36d282c879896fd89c5a6663


Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind rega

[ovirt-users] SSH Authorized_keys

2019-07-15 Thread Vrgotic, Marko
Dear oVIrt,

Would it be possible to utilize SSH Pub key from User config

[cid:image001.png@01D53B2B.0E387070]

In such a way that it is offered or autoloaded into Cloud-init SSH Authorized 
keys field when exists?

This would bring one less action required before VM can be created.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic


___
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/C7VR5O3FTZWOOYVSRHDZ7U5XZHQ6F6YP/


[ovirt-users] Re: VM status codes

2019-07-15 Thread Mitja Mihelič

Perfect! Thank you Michal.

Kind regards,
Mitja

On 15/07/2019 18:31, Michal Skrivanek wrote:



On 15 Jul 2019, at 15:11, Mitja Mihelič > wrote:



Hi!

We are graphing certain parameters we collect from the engine database.
We use following query to get the count of running VMs:
select count(*),cluster.name  as cluster from 
vms, cluster where vms.cluster_id = cluster.cluster_id and vms.status 
= 1 group by cluster;


It would help extremely if we knew what the numeric VM status codes mean.


https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VMStatus.java#L9 



For example, I know that "status = 1" means the VM is running. The 
ones we can cause through the web interface are easy enough to figure 
out. But there are error states, that cannot be produced by standard use.


For instance, when the event log says "VM foobar has been paused due 
to storage I/O problem." the following states get set in the DB
(Query used: select * from vm_dynamic where vm_guid =(select vm_guid 
from vm_static where vm_name = 'foobar';):

status | 4
exit_status    | 0
pause_status   | 2
guest_agent_status | 0

What do they mean?

If you could point me to a table somewhere with the state 
descriptions it would be extremely helpful.


Kind regards,
Mitja Mihelič
___
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/ZBNGPWHGYHV4M3MM2VXTMKVYKUNARWVG/


___
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/3ZUUSNJUT5R52O3PU2KS5ZD4VSACFA27/


[ovirt-users] Re: VM status codes

2019-07-15 Thread Michal Skrivanek
On 15 Jul 2019, at 15:11, Mitja Mihelič  wrote:

Hi!

We are graphing certain parameters we collect from the engine database.
We use following query to get the count of running VMs:
select count(*),cluster.name as cluster from vms, cluster where
vms.cluster_id = cluster.cluster_id and vms.status = 1 group by cluster;

It would help extremely if we knew what the numeric VM status codes mean.


https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VMStatus.java#L9

For example, I know that "status = 1" means the VM is running. The ones we
can cause through the web interface are easy enough to figure out. But
there are error states, that cannot be produced by standard use.

For instance, when the event log says "VM foobar has been paused due to
storage I/O problem." the following states get set in the DB
(Query used: select * from vm_dynamic where vm_guid =(select vm_guid from
vm_static where vm_name = 'foobar';):
status | 4
exit_status| 0
pause_status   | 2
guest_agent_status | 0

What do they mean?

If you could point me to a table somewhere with the state descriptions it
would be extremely helpful.

Kind regards,
Mitja Mihelič
___
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/ZBNGPWHGYHV4M3MM2VXTMKVYKUNARWVG/
___
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/N6BO7K76NJK2TFT2BR7FYIKYL3EQ336G/


[ovirt-users] Re: ovirt-engine-appliance ova

2019-07-15 Thread Strahil
Exactly.
Ovirt (and RHV respectively)  can be installed as:
1. VM in an oVirt Cluster
2. Separate machine(s)

In point 2 , the Virt admin should take care about the high availability of the 
engine.

So, you can install CentOS7 and then deploy the engine's software ontop of it.
Extracting the OVA will not provide you with fully working engine, as the 
deployment scripts on the hosts will not inject the necessary data on remote 
system. (Only on local)



Best Regards,
Strahil NikolovOn Jul 15, 2019 04:08, Jingjie Jiang  
wrote:
>
>
> On 7/13/2019 6:28 AM, Strahil Nikolov wrote:
>
> I still don't get why you need the OVA .
> Are you trying to extract and put it into another virtualization. If this is 
> your intention - better install it as if it was a standalone engine.
>
> Yes, I am trying to build ova with different OS.
>
> What do you mean install it as standalone engine?
>
> install VM first then install as ovirt engine?
>
>
> Thanks,
>
> Jingjie
>
>
>>
>> Best Regards,
>> Strahil Nikolov.
>>
>> В петък, 12 юли 2019 г., 21:48:35 ч. Гринуич+3, Jingjie Jiang 
>>  написа:
>>
>>
>> Hi Strahil,
>>
>> Thanks for your reply.
>>
>> Can you share the procedure of creating ovirt-engine-appliance ova?
>>
>>
>> Thanks,
>>
>> Jingjie
>>
>>
>> On 7/12/19 12:52 AM, Strahil wrote:
>>
>> Based on my experience - the OVA contains the xml and the actual disk of the 
>> hosted engine.
>> Then the deployment starts locally the VM and populates the necessary data 
>> in it
>> Once it's over , the deployment shuts down and copies the disk of that local 
>> VM, undefines it and then ovirt's ha agents are being configured - so they 
>> can mount the shared storage and power up the VM (special tar /OVMF/ file on 
>> shared storage has the agent  configuration file).
>>
>> So , in the ova there should be a  template VM + the xml config (cpus, ram, 
>> devices, etc) .
>> I would be surprised if there is something else in it.
>>
>> Best Regards,
>> Strahil Nikolov
>>
>> On Jul 11, 2019 23:39, Jingjie Jiang  wrote:
___
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/H42GIHGGXX265RCAZCKRHXLWZY6QDEBV/


[ovirt-users] VM status codes

2019-07-15 Thread Mitja Mihelič

Hi!

We are graphing certain parameters we collect from the engine database.
We use following query to get the count of running VMs:
select count(*),cluster.name as cluster from vms, cluster where 
vms.cluster_id = cluster.cluster_id and vms.status = 1 group by cluster;


It would help extremely if we knew what the numeric VM status codes mean.
For example, I know that "status = 1" means the VM is running. The ones 
we can cause through the web interface are easy enough to figure out. 
But there are error states, that cannot be produced by standard use.


For instance, when the event log says "VM foobar has been paused due to 
storage I/O problem." the following states get set in the DB
(Query used: select * from vm_dynamic where vm_guid =(select vm_guid 
from vm_static where vm_name = 'foobar';):

status | 4
exit_status    | 0
pause_status   | 2
guest_agent_status | 0

What do they mean?

If you could point me to a table somewhere with the state descriptions 
it would be extremely helpful.


Kind regards,
Mitja Mihelič
___
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/ZBNGPWHGYHV4M3MM2VXTMKVYKUNARWVG/


[ovirt-users] Add Instance_type option for VM Portal

2019-07-15 Thread Vrgotic, Marko
Dear oVIrt,

We are relying on Templates more and more, which is great.
Images/templates built using “official” cloud images usually have 1CPU and 1GB 
of RAM.
Using this feature via Administration portal is super, since we can attach 
Instance_type to template to provide sufficient CPU and RAM, regardless of via 
UI or using Ansible.

Would it be possible to consider adding Instance_Type option to Create New VM 
options in VM Portal?
Haven’t tested yet, but is Instance_type supported via ovirt_vm ansible module, 
in case of EndUser privileges?

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com
tel. +31 (0)35 677 4131
ActiveVideo BV
Mediacentrum 3741
Joop van den Endeplein 1
1217 WJ Hilversum




___
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/YIZEEIFYI4DAYGFCAICT4UC7GYMOHKAP/


[ovirt-users] Re: Manual Migration not working and Dashboard broken after 4.3.4 update

2019-07-15 Thread Sharon Gratch
Hi Neil,

Regarding issue 1 (Dashboard):
I recommend to upgrade to latest oVirt version 4.3.5, for this fix as well
as other enhancements and bug fixes.
For oVirt 4.3.5 installation / upgrade instructions:
http://www.ovirt.org/release/4.3.5/

Regarding issue 2 (Manual Migrate dialog):
If it will be reproduced after upgrading then please try to clean your
browser caching before running the admin portal. It might help.

Regards,
Sharon

On Thu, Jul 11, 2019 at 1:24 PM Neil  wrote:

>
> Hi Sharon,
>
> Thanks for the assistance.
> On Thu, Jul 11, 2019 at 11:58 AM Sharon Gratch  wrote:
>
>> Hi,
>>
>> Regarding issue 1 (Dashboard):
>> Did you upgrade the engine to 4.3.5? There was a bug fixed in version
>> 4.3.4-5 https://bugzilla.redhat.com/show_bug.cgi?id=1713967 and it may
>> be the same issue.
>>
>
>
> No I  wasn't aware that there were updates, how do I obtain 4.3.4-5 is
> there another repo available?
>
> Regarding issue 2 (Manual Migrate dialog):
>> Can you please attach your browser console log and engine.log snippet
>> when you have the problem?
>> If you could take from the console log the actual REST API response,
>> that would be great.
>> The request will be something like
>> /api/hosts?migration_target_of=...
>>
>
> Please see attached text log for the browser console, I don't see any REST
> API being logged, just a stack trace error.
> The engine.log literally doesn't get updated when I click the Migrate
> button so there isn't anything to share unfortunately.
>
> Please shout if you need further info.
>
> Thank you!
>
>
>
>
>>
>>
>> On Thu, Jul 11, 2019 at 10:04 AM Neil  wrote:
>>
>>> Hi everyone,
>>> Just an update.
>>>
>>> I have both hosts upgraded to 4.3, I have upgraded my DC and cluster to
>>> 4.3 and I'm still faced with the same problems.
>>>
>>> 1.) My Dashboard says the following "Error! Could not fetch dashboard
>>> data. Please ensure that data warehouse is properly installed and
>>> configured."
>>>
>>> 2.) When I click the Migrate button I get the error "Could not fetch
>>> data needed for VM migrate operation"
>>>
>>> Upgrading my hosts resolved the "node status: DEGRADED" issue so at
>>> least it's one issue down.
>>>
>>> I've done an engine-upgrade-check and a yum update on all my hosts and
>>> engine and there are no further updates or patches waiting.
>>> Nothing is logged in my engine.log when I click the Migrate button
>>> either.
>>>
>>> Any ideas what to do or try for  1 and 2 above?
>>>
>>> Thank you.
>>>
>>> Regards.
>>>
>>> Neil Wilson.
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Jul 11, 2019 at 8:27 AM Alex K  wrote:
>>>


 On Thu, Jul 11, 2019 at 7:57 AM Michal Skrivanek <
 michal.skriva...@redhat.com> wrote:

>
>
> On 11 Jul 2019, at 06:34, Alex K  wrote:
>
>
>
> On Tue, Jul 9, 2019, 19:10 Michal Skrivanek <
> michal.skriva...@redhat.com> wrote:
>
>>
>>
>> On 9 Jul 2019, at 17:16, Strahil  wrote:
>>
>> I'm not sure, but I always thought that you need  an agent for live
>> migrations.
>>
>>
>> You don’t. For snapshots, and other less important stuff like
>> reporting IPs you do. In 4.3 you should be fine with qemu-ga only
>>
> I've seen resolving live migration issues by installing newer versions
> of ovirt ga.
>
>
> Hm, it shouldn’t make any difference whatsoever. Do you have any
> concrete data? that would help.
>
 That is some time ago when runnign 4.1. No data unfortunately. Also did
 not expect ovirt ga to affect migration, but experience showed me that it
 did.  The only observation is that it affected only Windows VMs. Linux VMs
 never had an issue, regardless of ovirt ga.

> You can always try installing either qemu-guest-agent  or
>> ovirt-guest-agent and check if live  migration between hosts is possible.
>>
>> Have you set the new cluster/dc version ?
>>
>> Best Regards
>> Strahil Nikolov
>> On Jul 9, 2019 17:42, Neil  wrote:
>>
>> I remember seeing the bug earlier but because it was closed thought
>> it was unrelated, this appears to be it
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1670701
>>
>> Perhaps I'm not understanding your question about the VM guest agent,
>> but I don't have any guest agent currently installed on the VM, not sure 
>> if
>> the output of my qemu-kvm process maybe answers this question?
>>
>> /usr/libexec/qemu-kvm -name
>> guest=Headoffice.cbl-ho.local,debug-threads=on -S -object
>> secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-Headoffice.cbl-ho.lo/master-key.aes
>> -machine pc-i440fx-rhel7.3.0,accel=kvm,usb=off,dump-guest-core=off -cpu
>> Broadwell,vme=on,f16c=on,rdrand=on,hypervisor=on,arat=on,xsaveopt=on,abm=on,rtm=on,hle=on
>> -m 8192 -realtime mlock=off -smp 
>> 8,maxcpus=64,sockets=16,cores=4,threads=1
>> -numa node,nodeid=0,cpus=0-7,mem=8192 -uuid
>>>

[ovirt-users] Re: Hardware Used

2019-07-15 Thread Michal Skrivanek


> On 15 Jul 2019, at 09:38, Emil Natan  wrote:
> 
> I think the right place for this question is the ovirt users mailing list. 
> Added.
> 
> On Mon, Jul 15, 2019 at 10:28 AM  > wrote:
> Hi All
> 
> We are looking into setting up a highly scalable and HA Ovirt infrastructure 
> but I see only some CPU's are supported. Is this only for th Hypervisors or 
> for the entire cluster?

Not sure what difference you have in mind. In general those are for guest CPUs, 
in general KVM capabilities are a bit behind the real hardware and gets added 
to oVirt as we add the relevant qemu-kvm having them, e.g. right now the “best” 
x86_64 Intel CPU is Skylake-Server and you can run it on any RHEL/CentOS 7.6 
supported hw capable of at least that, e.g. any Cascade Lake.

> ___
> Infra mailing list -- in...@ovirt.org 
> To unsubscribe send an email to infra-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/in...@ovirt.org/message/X5MMJXN67LMBCJQKDPK4MJECHMQWVKXZ/
>  
> 
> 
> 
> -- 
> Emil Natan
> RHV/CNV DevOps
> ___
> Infra mailing list -- in...@ovirt.org
> To unsubscribe send an email to infra-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/in...@ovirt.org/message/H62H2FA2DBEUF6CENHXTWVR6GEXVCYCX/

___
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/V7P2AN27TN6ZIZBBS2JBLWD2MW3OIEF6/


[ovirt-users] Re: iptables with 4.3+?

2019-07-15 Thread Yedidyah Bar David
On Thu, Jul 4, 2019 at 10:20 PM Darrell Budic  wrote:
>
> I’m in the same boat, puppet managing iptables rules, and was able to 
> continue forcing it on my 4.3.x ovirt systems. Engine-setup complains all the 
> time, but so far it hasn’t broken anything.

In "complains all the time" you mean that it asks "Do you want Setup
to configure the firewall? "?

If you reply 'No', it shouldn't do anything at all to the firewall.

If you reply 'Yes' and it breaks stuff, please report a bug. Thanks.

If you want to get rid of this question, you can add to your
answerfile (or your own custom .conf file in
/etc/ovirt-engine-setup.conf.d/ ):

OVESETUP_CONFIG/updateFirewall=bool:False

See also:

https://www.ovirt.org/develop/developer-guide/engine/engine-setup.html

>   -Darrell
>
>
> > On Jul 4, 2019, at 9:38 AM, Jordan Conway  
> > wrote:
> >
> > Hello,
> > I'm working on migrating an existing ovirt setup to a new hosted-engine 
> > setup and I've been seeing messages about iptables support being deprecated 
> > and slated to be removed.
> > Can I continue using iptables to manage the firewalls on my ovirt hosts if 
> > I don't care about allowing ovirt to configure the firewalls?

I think you can.

> > We manage all of our machines with puppet and iptables is deeply integrated 
> > into this. It would be non-trivial to migrate to firewalld support.
> > As it stands I already manage the firewall rules for our ovirt hosts with 
> > puppet and iptables and have always ignored the "Automatically Configure 
> > Firewall" option when adding new hosts. Will this continue to work?
> >
> > Also with hosted engine, I had to cowboy enable firewalld to get the engine 
> > installed, but now that I've got a cluster up and running with hosted 
> > engine enabled on several hosts, can I just switch back from firewalld to 
> > iptables assuming I've got all the correct ports open?

I think it's only enforced during initial setup, as you saw yourself - see also:

https://bugzilla.redhat.com/show_bug.cgi?id=1608467

Best regards,
-- 
Didi
___
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/UCOVTFWJUR74PU3GEH6WUGVXYQAZGZWN/


[ovirt-users] Re: ovirt_disk and ubuntu issues

2019-07-15 Thread Pavel Bar
Good day Marko,
Can you please tell us whether you tried to create a pre-allocated or
thin-provision disk?
Ondra, can you please take a look that is not an Ansible issue?

Thank you in advance!

Pavel


On Mon, Jul 15, 2019 at 12:29 AM Vrgotic, Marko 
wrote:

> Dear oVIrt,
>
>
>
> Even though I would like to get some insight into what could be reason
> this is no working, I did find a workaround:
>
>
>
> Instead of trying to get Ubuntu disk specified with ovirt_disk size,
>
> I used qemu-img resize to increase the disk size before importing it to
> oVIrt.
>
> This works, but it still going to present the problem if User eventually
> wants to increase for example disk from 40GBto 80GB.
>
>
>
> Kindly awaiting your reply.
>
>
>
>
>
> — — —
> Met vriendelijke groet / Kind regards,
>
> *Marko Vrgotic*
>
> Sr.  System Engineer @ System Administration
> m.vrgo...@activevideo.com
>
>
>
>
>
>
>
>
>
>
> *From: *"Vrgotic, Marko" 
> *Date: *Wednesday, 10 July 2019 at 16:19
> *To: *"users@ovirt.org" 
> *Subject: *ovirt_disk and ubuntu issues
>
>
>
> Dear oVirt,
>
>
>
> I am downloading the ubuntu cloud image 16.04 and or 18.04:
>
>
>
>- name: "Download base cloud image from server"
>
>  get_url:
>
>url: "{{ image_url }}"
>
>checksum: "sha256:{{ image_checksum }}"
>
>validate_certs: yes
>
>dest: "/tmp/{{ inventory_hostname_short }}.qcow2"
>
>  delegate_to: localhost
>
>
>
> creating a 40GB HDD and attaching image to it:
>
>
>
> - name: "Create oVirt disk with base image (with 40Gb allocated)"
>
>   ovirt_disk:
>
> name: "{{ inventory_hostname_short }}"
>
> interface: virtio
>
> size: 40GiB
>
> format: cow
>
> upload_image_path: "/tmp/{{ inventory_hostname_short }}.qcow2"
>
> storage_domain: ovirt_production
>
> wait: true
>
>   delegate_to: localhost
>
>
>
> creating VM afterwards:
>
>
>
>
>
> - name: "Create new Ubuntu VMs from cloud image"
>
>   delegate_to: localhost
>
>   ovirt_vm:
>
> auth: "{{ ovirt_auth }}"
>
> name: "{{ inventory_hostname_short }}"
>
> disks:
>
> - name: "{{ inventory_hostname_short }}"
>
> graphical_console:
>
> protocol: vnc
>
> serial_console: true
>
> usb_support: true
>
> soundcard_enabled: false
>
> operating_system: "{{ operating_system_type }}"
>
> type: server
>
> nics:
>
> - name: nic1
>
>   profile_name: tenant1
>
>   interface: virtio
>
>   nic_on_boot: true
>
> cloud_init:
>
>   host_name: "{{ inventory_hostname }}"
>
>   user_name: ubuntu
>
>   authorized_ssh_keys: "{{ ssh_agent_pubkeys.stdout }}"
>
> state: "running"
>
> cluster: "{{ ovirt_cluster }}"
>
>   when: inventory_hostname in groups['ubuntu-baker']
>
>
>
> When VM gets created, I can see in oVIrt VM details disk created is 40GB.
>
> Executing df -h, gives me following:
>
>
>
>   root@av3-ubuntu-18-base:/home/ubuntu# df -h
>
> Filesystem  Size  Used Avail Use% Mounted on
>
> udev447M 0  447M   0% /dev
>
> tmpfs92M  696K   92M   1% /run
>
> */dev/vda1   2.0G  1.3G  706M  65% /*
>
> tmpfs   460M 0  460M   0% /dev/shm
>
> tmpfs   5.0M 0  5.0M   0% /run/lock
>
> tmpfs   460M 0  460M   0% /sys/fs/cgroup
>
> /dev/vda15  105M  3.6M  101M   4% /boot/efi
>
> tmpfs92M 0   92M   0% /run/user/1000
>
>
>
> Initially I thought growpart or resize2fs is not triggered, but then
> running dmesg or fdisk /dev/vda, told me that physical disk size is still
> only size of the downloaded ubuntu cloud image.
>
>
>
> Disk /dev/vda: 2.2 GiB, 2361393152 bytes, 4612096 sectors
>
> Units: sectors of 1 * 512 = 512 bytes
>
> Sector size (logical/physical): 512 bytes / 512 bytes
>
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
>
> Is this related to ovirt_disk module, or ubuntu and ovirt_disk, since I do
> not have this behavior with CentOS 7 images?
>
>
>
> *Can you advise how to proceed, in case I am missing some configuration
> parameter or command to be run?*
>
>
>
> The following Ubuntu images are used:
>
>
>
> ubuntu-16: image_url=
> https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
> image_checksum=fda868058586b129c7fdb6472fe575e911f7c67551a6dc75966f2ec02201bdae
>
> ubuntu-18: image_url=
> https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img
> image_checksum=7d2b90022a169119d7726c0fefa1713acbead7cc36d282c879896fd89c5a6663
>
>
>
>
>
> Kindly awaiting your reply.
>
>
>
>
>
> — — —
> Met vriendelijke groet / Kind regards,
>
> *Marko Vrgotic*
>
> Sr.  System Engineer @ System Administration
> m.vrgo...@activevideo.com
> tel. +31 (0)35 677 4131
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.