[ovirt-users] Re: hosted-engine restore bug?

2019-06-20 Thread Lucie Leistnerova

Please send the log

/var/log/ovirt-engine/setup/ovirt-engine-setup-20190620161000-8bgr10.log

Thank you

On 6/20/19 3:16 PM, ada per wrote:

Thank you!!

That fixed the problem with engine-restore
now i get the following error when performing engine-setup


 INFO  ] Stage: Transaction setup
[ INFO  ] Stopping dwh service
[ INFO  ] Stopping Image I/O Proxy service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration (early)
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Configuring Image I/O Proxy
[ ERROR ] Failed to execute stage 'Misc configuration': 'NoneType' 
object has no attribute 'execute'

[ INFO  ] Yum Performing yum transaction rollback
[ INFO  ] Stage: Clean up
          Log file is located at 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20190620161000-8bgr10.log
[ INFO  ] Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20190620161341-setup.conf'

[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup fail

On Thu, Jun 20, 2019 at 3:44 PM Lucie Leistnerova > wrote:


Hi,

On 6/20/19 2:27 PM, ada per wrote:
> Hello everyone,
>
> im running on ovirt 4.3.5
> For some strange reason the httpd service couldn't start on my
hosted engine so i could not access the Web interface.After
various unsuccessful attempts to fix it, I decided to restore the
hosted engine.
>
> Following the steps:
> 1.engine-cleanup
> 2.db had to delete it manually using  rm -rf /var/lib/pgsql/data
> 3.engine-backup --mode=restore --file=backup_file
--log=log_file_name --provision-db --no-restore-permissions
> 4.engine-setup
>
> On step 3 it keeps coming with error messages "FATAL: Can't
connect to database 'ovirt_engine_history'. Please see
'/usr/bin/engine-backup --help'.

ovirt_engine_history is DWH database. So I think you miss
--provision-dwh-db parameter.

  --provision-db create a PostgreSQL database for
the Engine on restore
  --provision-dwh-db create a PostgreSQL database for
Data Warehouse on restore
 If provisioning databases, this
option will default.
  --provision-all-databases  on restore, create a PostgreSQL
database for all the
    databases that were included
in the
backup

>
> i need to get this hosted-engine up and running so please advice
>
> ___
> 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/S7AYLQFYRFVDNF7E34FUG6IVCYNATIFE/

Best regards,

-- 
Lucie Leistnerova

Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe


--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

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


[ovirt-users] Re: Ovirt Hyperconverged Cluster

2019-06-20 Thread Slobodan Stevanovic
 I had issues with installation too, but I end up separating the interfaces. 
My current setup has one interface dedicated to storage and the other one is 
connected to a trunk port with a couple of VLANs



On Thursday, June 20, 2019, 10:53:15 AM PDT, Raffaele Stefanile 
 wrote:  
 
 Yes is two interface in bound configuration with 2 vlan
On Thu, Jun 20, 2019, 19:32 Slobodan Stevanovic  wrote:

 Are you using the same interface for gluster and the ovirt engine?

On Thursday, June 20, 2019, 08:53:57 AM PDT, raffa...@stefanile.com 
 wrote:  
 
 Many thanks for your help

https://drive.google.com/drive/folders/1HmKccGRAI0ggyuyZrQ2OA42G24-26bsx?usp=sharing
___
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/B2VRA7FUZCXXVWJPK2TQHMF7MCD2PIAR/
  
  ___
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/ARLPPQVC7TCNGAP6NV7I4HTGSUWY4YUO/


[ovirt-users] Re: Download Ovirt Repository

2019-06-20 Thread siovelrm
Thank you very much to all for your answers, they have been very valuable to me.
___
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/UXSLS5NUAV5IRCY4Y2CFWOWIFAHCASHN/


[ovirt-users] Re: Ovirt Hyperconverged Cluster

2019-06-20 Thread Slobodan Stevanovic
 Are you using the same interface for gluster and the ovirt engine?

On Thursday, June 20, 2019, 08:53:57 AM PDT, raffa...@stefanile.com 
 wrote:  
 
 Many thanks for your help

https://drive.google.com/drive/folders/1HmKccGRAI0ggyuyZrQ2OA42G24-26bsx?usp=sharing
___
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/B2VRA7FUZCXXVWJPK2TQHMF7MCD2PIAR/
  ___
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/MR3FLT7KQ5GGNOS4DNZ5T7FYPJ6TUKWP/


[ovirt-users] Re: Ovirt Hyperconverged Cluster

2019-06-20 Thread raffaele
Many thanks for your help

https://drive.google.com/drive/folders/1HmKccGRAI0ggyuyZrQ2OA42G24-26bsx?usp=sharing
___
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/B2VRA7FUZCXXVWJPK2TQHMF7MCD2PIAR/


[ovirt-users] Re: ovirt_vm ansible cloud-init ipv6 related

2019-06-20 Thread Vrgotic, Marko
Hello Ondra,

Thank you for reporting an issue, its appreciated.

I have to ask something additional, if you had experience with it:
- to work around the current situation, I have added 
/etc/cloud/cloud.cfg.d/99_custom-networking.cfg file with following content:

network:
  version: 2
  ethernets:
eth0:
  dhcp4: true
  dhcp6: true
eth1:
  dhcp4: true
  dhcp6: true

- this works, meaning that DHCPV6 address is added,  but it results in 
following situation: the RA route is killed,  rendering VM unreachable
- to solve this one , we added following line, route to link-local ipv6 of the 
vlan with runcmd:
runcmd:
  - [ ip, "-6", route, add, default, via, "ipv6 : link : local ", dev, eth0 ]

Still, this yaml is completely ignored/not even parsed. Cloud-init complains 
(looking at the logs) of the bad datasource, but I have configured following in 
the cloud.cfg:
datasource_list: ["NoCloud", "ConfigDrive"] 

Thnak you.

On 19/06/2019, 12:25, "Ondra Machacek"  wrote:

Hello,

thanks for the report. This is indeed supported by oVirt, but it's not
supported by ovirt_vm Ansible module, I've opened an issue[1]. Thanks.

[1] https://github.com/ansible/ansible/issues/58054

On 17/06/2019 15:18, Vrgotic, Marko wrote:
> Dear oVirt
> 
> Would you be so kind to help out clarifying if and how is IPv6 supported 
> with
> 
> -ansible / ovirt_vm / cloud-init boot protocol.
> 
> I have created a VM template which by default uses cloud-init with 
> following:
> 
> When I boot the VM from UI, each VM gets IPv4 DHCP and IPv6 DHCP6 
> address, default cloud-init setup and we have infrastructure for both 
> IPv4 and IPv6.
> 
> However, when calling same template via Ansible ovirt_vm, using following:
> 
> cloud_init_nics:  

>|~
> 
>   - nic_name: 
> eth0  
  
> |~
> 
> nic_boot_protocol: 
> dhcp  
 
> |~
> 
> nic_on_boot: true
> 
> each VM receives only IPv4 DHCP and only IPv6 RA, but not DHCP IPv6.
> 
> Looking at booted VM, following options are not set:
> 
>   * /etc/sysconfig/network => NETWORKING_IPV6=yes
>   * Or /etc/sysconfig/network-scripts/ifcfg-eth0 => DHCPV6C=yes and
> IPV6INIT=yes
> 
> We need IPv6 DHCP6 address , especially for registering it host with DNS 
>  record.
> 
> Is this supported? Am I doing it wrong way?
> 
> If its supported please let me know, how can I make sure that VMs 
> created using Ansible also initialize DHCPV6.
> 
> Please assist.
> 
> Marko Vrgotic
> 
> ActiveVideo
> 
> 
> ___
> 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/MLM7X2UDVV7ACJSNTGIJ433XRTN432VT/
> 


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


[ovirt-users] Re: ovirt-vmconsole: Pemission denied (publickey) when I select VM id

2019-06-20 Thread Jonathan Greg
Here is the log I get from the engine node when I do "ssh -t -p  
ovirt-vmcons...@ovirt-engine01.int.cloche.ca-i
 .ssh/serialconsolekey connect and I enter a console id":

[root@ovirt-engine01 ~]# tail -f /var/log/messages
Jun 20 09:22:13 ovirt-engine01 sshd[8836]: rexec line 24: Deprecated option 
RSAAuthentication
Jun 20 09:22:13 ovirt-engine01 sshd[8836]: reprocess config line 24: Deprecated 
option RSAAuthentication
Jun 20 09:22:14 ovirt-engine01 sshd[8836]: Accepted publickey for 
ovirt-vmconsole from 192.168.30.217 port 55849 ssh2: RSA 
SHA256:rYFIGj3UaNY28ocnmWqK3UZpznU0bzo6tPR+NpnR6Hw
Jun 20 09:22:14 ovirt-engine01 sshd[8836]: Attempt to write login records by 
non-root user (aborting)
Jun 20 09:22:20 ovirt-engine01 ovirt-vmconsole-proxy-shell[8849]: INFO Opening 
console '7e2c5638-f97c-45c4-8487-153764db2fc7.s...@c200m2-1.int.cloche.ca' on 
behalf of 'admin_internal-authz'[4907b7e8-dbda-11e8-9a2e-00163e1b3a71]
Jun 20 09:22:20 ovirt-engine01 sshd[8836]: Attempt to write login records by 
non-root user (aborting)
Jun 20 09:22:21 ovirt-engine01 sshd[8848]: Received disconnect from 
192.168.30.217 port 55849:11: disconnected by user
Jun 20 09:22:21 ovirt-engine01 sshd[8848]: Disconnected from 192.168.30.217 
port 55849
___
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/PHQIKZZPHPJ4XXKKQ2TOZI6DC4W75FIL/


[ovirt-users] Re: hosted-engine restore bug?

2019-06-20 Thread ada per
Thank you!!

That fixed the problem with engine-restore
now i get the following error when performing engine-setup


 INFO  ] Stage: Transaction setup
[ INFO  ] Stopping dwh service
[ INFO  ] Stopping Image I/O Proxy service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration (early)
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Configuring Image I/O Proxy
[ ERROR ] Failed to execute stage 'Misc configuration': 'NoneType' object
has no attribute 'execute'
[ INFO  ] Yum Performing yum transaction rollback
[ INFO  ] Stage: Clean up
  Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20190620161000-8bgr10.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20190620161341-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup fail

On Thu, Jun 20, 2019 at 3:44 PM Lucie Leistnerova 
wrote:

> Hi,
>
> On 6/20/19 2:27 PM, ada per wrote:
> > Hello everyone,
> >
> > im running on ovirt 4.3.5
> > For some strange reason the httpd service couldn't start on my hosted
> engine so i could not access the Web interface.After various unsuccessful
> attempts to fix it, I decided to restore the hosted engine.
> >
> > Following the steps:
> > 1.engine-cleanup
> > 2.db had to delete it manually using  rm -rf /var/lib/pgsql/data
> > 3.engine-backup --mode=restore --file=backup_file --log=log_file_name
> --provision-db --no-restore-permissions
> > 4.engine-setup
> >
> > On step 3 it keeps coming with error messages "FATAL: Can't connect to
> database 'ovirt_engine_history'. Please see '/usr/bin/engine-backup --help'.
>
> ovirt_engine_history is DWH database. So I think you miss
> --provision-dwh-db parameter.
>
>   --provision-db create a PostgreSQL database for
> the Engine on restore
>   --provision-dwh-db create a PostgreSQL database for
> Data Warehouse on restore
>  If provisioning databases, this
> option will default.
>   --provision-all-databases  on restore, create a PostgreSQL
> database for all the
> databases that were included in the
> backup
>
> >
> > i need to get this hosted-engine up and running so please advice
> >
> > ___
> > 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/S7AYLQFYRFVDNF7E34FUG6IVCYNATIFE/
>
> Best regards,
>
> --
> Lucie Leistnerova
> Senior Quality Engineer, QE Cloud, RHVM
> Red Hat EMEA
>
> IRC: lleistne @ #rhev-qe
>
>
___
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/Z6776NMBMBPXZNPFVNLVLT2ZCAZE4WQ7/


[ovirt-users] Re: hosted-engine restore bug?

2019-06-20 Thread Lucie Leistnerova

Hi,

On 6/20/19 2:27 PM, ada per wrote:

Hello everyone,

im running on ovirt 4.3.5
For some strange reason the httpd service couldn't start on my hosted engine so 
i could not access the Web interface.After various unsuccessful attempts to fix 
it, I decided to restore the hosted engine.

Following the steps:
1.engine-cleanup
2.db had to delete it manually using  rm -rf /var/lib/pgsql/data
3.engine-backup --mode=restore --file=backup_file --log=log_file_name 
--provision-db --no-restore-permissions
4.engine-setup

On step 3 it keeps coming with error messages "FATAL: Can't connect to database 
'ovirt_engine_history'. Please see '/usr/bin/engine-backup --help'.


ovirt_engine_history is DWH database. So I think you miss 
--provision-dwh-db parameter.


 --provision-db create a PostgreSQL database for 
the Engine on restore
 --provision-dwh-db create a PostgreSQL database for 
Data Warehouse on restore
    If provisioning databases, this 
option will default.
 --provision-all-databases  on restore, create a PostgreSQL 
database for all the
   databases that were included in the 
backup




i need to get this hosted-engine up and running so please advice

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


Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
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/FBBCH763MZ5UFN7BUVORDU4BOXORKUGX/


[ovirt-users] hosted-engine restore bug?

2019-06-20 Thread ada per
Hello everyone, 

im running on ovirt 4.3.5
For some strange reason the httpd service couldn't start on my hosted engine so 
i could not access the Web interface.After various unsuccessful attempts to fix 
it, I decided to restore the hosted engine.

Following the steps:
1.engine-cleanup
2.db had to delete it manually using  rm -rf /var/lib/pgsql/data
3.engine-backup --mode=restore --file=backup_file --log=log_file_name 
--provision-db --no-restore-permissions
4.engine-setup 

On step 3 it keeps coming with error messages "FATAL: Can't connect to database 
'ovirt_engine_history'. Please see '/usr/bin/engine-backup --help'.

i need to get this hosted-engine up and running so please advice 

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


[ovirt-users] Re: ansible tower/awx integration in ovirt

2019-06-20 Thread Nathanaël Blanchet

Hello Ondra

Le 19/06/2019 à 14:34, Ondra Machacek a écrit :

We support tower, so you shouldn't have any issues integrate it.
There is oVirt/RHV credentials in the Tower/awx. So you can use those
for the authentication.


Can you please share some docs?

The only thing I managed to do in awx is to create dynamic inventories 
with ovirt credentials (following 
https://docs.ansible.com/ansible-tower/3.5.0/html/userguide/credentials.html#red-hat-virtualization)


What I asked was for ansible/awx integration into ovirt. For instance 
when creating a new vm, to be able to add local playbook or a tower 
template through API.


I currently do this with awx, but the goal would be to use ovirt UI 
instead of awx one.


I hope tobe clear enough



On 19/06/2019 10:37, Nathanaël Blanchet wrote:
Hello, I wrote a playbook for workflow that automates a vm creation 
from a template/cloud-init and then add it to our supervision engine 
and finally to our backup system. All currently works fine with awx.


I'd like to use one UI, and I wondered if integrating awx/tower in 
ovirt could be a good way to complete a basic current vm creation.



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


[ovirt-users] Re: Download Ovirt Repository

2019-06-20 Thread Николаев Алексей
You can use Artifactory OSS or Nexus Repository OSS as caching proxy for rpm pakages.  20.06.2019, 11:05, "Strahil" :You can also deploy a spacewalk-based system for central repository management.I am using uyuni project for local VM repo, but it should be able to sync the oVirt repos without any issues.Of course, spacewalk requires some basic knowledge but it's not a rocket science.Best Regards,Strahil NikolovOn Jun 20, 2019 09:21, jin  wrote:Hi We 've a seperate test and aducation lab and connection is very intermittent. I use reposync command to create a local copy of repositories. When sync done, "createrepo" command prepare a repodata directory. After first sync, a cron job can sync continuously daily basis. I believe this is the most easy way to having a local repo.  If you need a complete guide for this, you may look at "Red Hat Virtualization 4.2 installation guide" page 18. On Thu, 20 Jun 2019, 07:41 ,  wrote:Hi, I've been using Ovirt and I'm doing fine. It happens that where I live connectivity to the internet is very slow. I wanted to know if it was possible to download the Ovirt repository in order to have it locally on my network. Greetings and thank you in advance for your answers.___Users mailing list -- users@ovirt.orgTo unsubscribe send an email to users-le...@ovirt.orgPrivacy 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/5FFR4TQ6CLWJZYI2RMYHP5U6IUBPDOEQ/,___Users mailing list -- users@ovirt.orgTo unsubscribe send an email to users-le...@ovirt.orgPrivacy 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/T7REY5ML3ONJRQFEZ36XY27QAMWICSO5/___
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/4NDQBUHBJLPVO4A5LGRFWF2I77UWEQPD/


[ovirt-users] Re: Download Ovirt Repository

2019-06-20 Thread Strahil
You can also deploy a spacewalk-based system for central repository management.
I am using uyuni project for local VM repo, but it should be able to sync the 
oVirt repos without any issues.

Of course, spacewalk requires some basic knowledge but it's not a rocket 
science.

Best Regards,
Strahil NikolovOn Jun 20, 2019 09:21, jin 
 wrote:
>
> Hi
>
> We 've a seperate test and aducation lab and connection is very intermittent. 
> I use reposync command to create a local copy of repositories. When sync 
> done, "createrepo" command prepare a repodata directory. After first sync, a 
> cron job can sync continuously daily basis. I believe this is the most easy 
> way to having a local repo. 
>
> If you need a complete guide for this, you may look at "Red Hat 
> Virtualization 4.2 installation guide" page 18.
>
> On Thu, 20 Jun 2019, 07:41 ,  wrote:
>>
>> Hi, I've been using Ovirt and I'm doing fine. It happens that where I live 
>> connectivity to the internet is very slow. I wanted to know if it was 
>> possible to download the Ovirt repository in order to have it locally on my 
>> network. Greetings and thank you in advance for your answers.
>> ___
>> 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/5FFR4TQ6CLWJZYI2RMYHP5U6IUBPDOEQ/
___
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/T7REY5ML3ONJRQFEZ36XY27QAMWICSO5/


[ovirt-users] Re: Download Ovirt Repository

2019-06-20 Thread Barak Korren
The oVirt system test suit downloads a copy of the oVirt repo to the local
host it is running on before installing oVirt and running the tests. It
done to improve test performance and reliability.

You could easily download a copy of the oVirt repo (or any other yum repo)
by using the `reposync` tool from the `yum-utils` package. You'll need more
then the oVirt repo for an offline installation though, because oVirt has
dependencies that are pulled from the CentOS repos, as well as other repos
such as Gluster.

You can figure out which repos you need by looking at the repo
configuration files installed by the ovirt-*release*.rpm package. Those
files could be used directly as configuration files for reposync, but you
might want to add `exclue` and `include` clauses to limit the amount of
RPMs downloaded. oVirt certainly does not need the whole CentOS repo, for
example, only a small portion of it.

You could actually clone the oVirt system tests (OST) repo [1] and look at
the reposync files there to get an idea what a reposync configuration file
for oVirt should look like. Those files would not be suitable for direct
production use though, because they are meant to sync the development
versions of oVirt.

Another approach you can consider is installing oVirt using ovirt-node and
the hosted-engine appliance. That way you get ready-made machine images
that contain everything you need without requiring access to package
repositories.

[1]: https://gerrit.ovirt.org/#/admin/projects/ovirt-system-tests

On Thu, 20 Jun 2019 at 07:42,  wrote:

> Hi, I've been using Ovirt and I'm doing fine. It happens that where I live
> connectivity to the internet is very slow. I wanted to know if it was
> possible to download the Ovirt repository in order to have it locally on my
> network. Greetings and thank you in advance for your answers.
> ___
> 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/5FFR4TQ6CLWJZYI2RMYHP5U6IUBPDOEQ/
>


-- 
Barak Korren
RHV DevOps team , RHCE, RHCi
Red Hat EMEA
redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted
___
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/LRU255CAJCCF6S2UIP4QK52JM5WCSSJ2/


[ovirt-users] Re: Download Ovirt Repository

2019-06-20 Thread jin
Hi

We 've a seperate test and aducation lab and connection is very
intermittent. I use reposync command to create a local copy of
repositories. When sync done, "createrepo" command prepare a repodata
directory. After first sync, a cron job can sync continuously daily basis.
I believe this is the most easy way to having a local repo.

If you need a complete guide for this, you may look at "Red Hat
Virtualization 4.2 installation guide" page 18.

On Thu, 20 Jun 2019, 07:41 ,  wrote:

> Hi, I've been using Ovirt and I'm doing fine. It happens that where I live
> connectivity to the internet is very slow. I wanted to know if it was
> possible to download the Ovirt repository in order to have it locally on my
> network. Greetings and thank you in advance for your answers.
> ___
> 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/5FFR4TQ6CLWJZYI2RMYHP5U6IUBPDOEQ/
>
___
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/VPL7LX7RBCNIUDLIOX26P3IZGKKDAKUF/


[ovirt-users] Re: Error when upgrading Node

2019-06-20 Thread Yedidyah Bar David
On Wed, Jun 19, 2019 at 8:24 PM  wrote:
>
> I am receiving the following error when attempting to update a Node manually 
> that will not update through the administration portal:
>
> error: %pre(ovirt-node-ng-image-update-4.3.4-1.el7.noarch) scriptlet failed, 
> exit status 1
> Error in PREIN scriptlet in rpm package 
> ovirt-node-ng-image-update-4.3.4-1.el7.noarch
>
> Software
> OS Version: RHEL - 7 - 6.1810.2.el7.centos
> OS Description: oVirt Node 4.3.3.1
> Kernel Version: 3.10.0 - 957.10.1.el7.x86_64
> KVM Version: 2.12.0 - 18.el7_6.3.1
> LIBVIRT Version: libvirt-4.5.0-10.el7_6.6
> VDSM Version: vdsm-4.30.13-1.el7
> SPICE Version: 0.14.0 - 6.el7_6.1
> GlusterFS Version: glusterfs-5.5-1.el7
> CEPH Version: librbd1-10.2.5-4.el7
> Open vSwitch Version: openvswitch-2.10.1-3.el7
> Kernel Features: PTI: 1, IBRS: 0, RETP: 1, SSBD: 3
> VNC Encryption: Enabled
>
> Any advice?

Perhaps try to find out what exactly failed?

IIRC you might find stuff in the logs (/var/log/ovirt-engine/host-deploy/*).
If not, you can try checking 'yum history' and 'yum history info $ID',
or if you want to try again:

yum --rpmverbosity=debug update $PACKAGE
(and either also '-y' and redirect to a file, or be prepared for a
very long output in your terminal to copy/paste later).

If you fail to get more info, 'rpm -q --scripts $PACKAGE' should
should you the scripts it runs. In the case of
ovirt-node-ng-update-image, the %pre script is [1]:

=
local_sds=($(find / -xdev -name "__DIRECT_IO_TEST__"))

if [ "$local_sds" ]; then
echo "Local storage domains were found on the same filesystem as /
! Please migrate the data to a new LV before upgrading, or you will
lose the VMs"
echo "See: https://bugzilla.redhat.com/show_bug.cgi?id=1550205#c3;
echo "Storage domains were found in:"
for sd in "${local_sds[@]}"; do
echo -e "\t$(dirname $sd)"
done
exit 1
fi
=
I can see mainly two ways in which it can fail - either the 'find'
command failed for whatever reason (unintendedly), or local storage
domains were found (and then the failure is intended) and you should
get somewhere the output - did you?

Best regards,

[1] 
https://github.com/oVirt/ovirt-node-ng/blob/master/packaging/ovirt-node-ng.spec.in#L160
-- 
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/CYUE5IYYDRRFTRT2GZ72IVUOHOWFLB6N/