[ovirt-users] Engine Setup Error

2018-07-03 Thread Sakhi Hadebe
Hi,

We are deploying the hosted engine on oVirt-Node-4.2.3.1 using the command
"hosted-engine --deploy".

After providing answers it runs the ansible script and hit the Error when
creating glusterfs storage domain. Attached the screenshot of the ERROR.

Please help.
___
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/XN5ML4VTDL6BDAAFFBGFXI5KEEZDMGNK/


Re: [ovirt-users] engine setup error

2018-04-30 Thread Yedidyah Bar David
On Fri, Apr 27, 2018 at 7:31 AM,  wrote:

> Hi
>  I engine setup faces some error.
>
>  I try to solute it and  it is work. here is my patch. But  not sure it is
> right?
>

It seems right, but isn't it already done in these?

https://gerrit.ovirt.org/#/q/Id4e0e621624efff0ff0e8a9fd6f23f53f2aa54d2,n,z
https://gerrit.ovirt.org/#/q/Ib6fdd78f29d88e13547d509d15081de8dc2c21aa,n,z

What version are you using?

Best regards,


>
>
>  $HOME/ovirt-engine/bin/engine-setup
> [ INFO  ] Stage: Initializing
>   Setup was run under unprivileged user this will
> produce development installation do you wish to
> proceed? (Yes, No) [No]: yes
> [ INFO  ] Stage: Environment setup
>   Configuration files: []
>   Log file: /home/guoss4/ovirt-engine/var/log/
> ovirt-engine/setup/ovirt-engine-setup-20180427001528-6h7snp.log
>   Version: otopi-1.8.0_master (otopi-1.8.0-0.0.
> master.20180313084114.git4e788f9.el7.centos)
> [ ERROR ] "before" parameter of method otopi.plugins.ovirt_
> engine_setup.ovirt_engine.network.ovirtproviderovn.
> Plugin._misc_configure_ovn_pki is a string, should
> probably be a tuple. Perhaps a missing comma?
>   methodinfo: {'priority': 5000, 'name': None,
>  'before': 'osetup.ovn.provider.service.restart', 'after': ('osetup.pki.ca
> .available', 'osetup.ovn.services.restart'), 'method':
>  plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin
> object at 0x30087d0>>, 'condition':  lambda> of  ovirtproviderovn.Plugin object at 0x30087d0>>, 'stage': 11}
> [ ERROR ] "before" parameter of method otopi.plugins.ovirt_
> engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_
> provider is a string, should probably be a tuple. Perhaps a missing comma?
>   methodinfo: {'priority': 5000, 'name': None,
>  'before': 'osetup.ovn.provider.service.restart', 'after': ('osetup.pki.ca
> .available', 'osetup.ovn.services.restart'), 'method':
>  plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin
> object at 0x30087d0>>, 'condition':  lambda> of  ovirtproviderovn.Plugin object at 0x30087d0>>, 'stage': 11}
> [ ERROR ] Failed to execute stage 'Environment setup':
> Found bad "before" or "after" parameters
> [ INFO  ] Stage: Clean up
>   Log file is located at /home/guoss4/ovirt-engine/
> var/log/ovirt-engine/setup/ovirt-engine-setup-20180427001528-6h7snp.log
> [ ERROR ] Failed to execute stage 'Clean up': 'NoneType'
> object has no attribute 'cleanup'
> [ INFO  ] Generating answer file '/home/guoss4/ovirt-
> engine/var/lib/ovirt-engine/setup/answers/20180427001531-setup.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Execution of setup failed
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


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


[ovirt-users] engine setup error

2018-04-26 Thread dhy336
Hi I engine setup faces some error.
 I try to solute it and  it is work. here is my patch. But  not sure it is 
right?

 $HOME/ovirt-engine/bin/engine-setup[ INFO  ] Stage: Initializing
  Setup was run under unprivileged user this will produce development 
installation do you wish to proceed? (Yes, No) [No]: yes
[ INFO  ] Stage: Environment setup
  Configuration files: []
  Log file: 
/home/guoss4/ovirt-engine/var/log/ovirt-engine/setup/ovirt-engine-setup-20180427001528-6h7snp.log
  Version: otopi-1.8.0_master 
(otopi-1.8.0-0.0.master.20180313084114.git4e788f9.el7.centos)
[ ERROR ] "before" parameter of method 
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_ovn_pki
 is a string, should probably be a tuple. Perhaps a missing comma?
  methodinfo: {'priority': 5000, 'name': None, 'before': 
'osetup.ovn.provider.service.restart', 'after': ('osetup.pki.ca.available', 
'osetup.ovn.services.restart'), 'method': >, 'condition':  of 
>, 'stage': 11}
[ ERROR ] "before" parameter of method 
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_provider
 is a string, should probably be a tuple. Perhaps a missing comma?
  methodinfo: {'priority': 5000, 'name': None, 'before': 
'osetup.ovn.provider.service.restart', 'after': ('osetup.pki.ca.available', 
'osetup.ovn.services.restart'), 'method': >, 'condition':  of 
>, 'stage': 11}
[ ERROR ] Failed to execute stage 'Environment setup': Found bad "before" or 
"after" parameters
[ INFO  ] Stage: Clean up
  Log file is located at 
/home/guoss4/ovirt-engine/var/log/ovirt-engine/setup/ovirt-engine-setup-20180427001528-6h7snp.log
[ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no 
attribute 'cleanup'
[ INFO  ] Generating answer file 
'/home/guoss4/ovirt-engine/var/lib/ovirt-engine/setup/answers/20180427001531-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed


0001-fixed-engine-setup-error.patch
Description: Binary data
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] engine-setup error

2016-03-19 Thread qinglong.d...@horebdata.cn
Hi,
I wanted to install webSocket proxy on another host, but I got an error 
when setting up engine.

[root@proxy ~]# engine-setup 
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  Configuration files: 
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', 
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf']
  Log file: 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20160318103658-88xphu.log
  Version: otopi-1.4.1 (otopi-1.4.1-1.el6)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Yum Downloading: ovirt-3.6-epel/primary_db 1.9 M(32%)
[ INFO  ] Yum Downloading: virtio-win-stable/primary_db (0%)
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization
 
  --== PRODUCT OPTIONS ==--
 
  Configure Engine on this host (Yes, No) [Yes]: no
  Configure VM Console Proxy on this host (Yes, No) [Yes]: 
  Configure WebSocket Proxy on this host (Yes, No) [Yes]: 
 
  --== PACKAGES ==--
 
[ INFO  ] Checking for product updates...
[ INFO  ] No product updates found
 
  --== ALL IN ONE CONFIGURATION ==--
 
 
  --== NETWORK CONFIGURATION ==--
 
  Host fully qualified DNS name of this server [proxy.horebdata.cn]: 
[WARNING] Failed to resolve proxy.horebdata.cn using DNS, it can be resolved 
only locally
  Setup can automatically configure the firewall on this system.
  Note: automatic configuration of the firewall may overwrite current 
settings.
  Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ INFO  ] iptables will be configured as firewall manager.
  Host fully qualified DNS name of the engine server 
[proxy.horebdata.cn]: engine.horebdata.cn
[WARNING] Failed to resolve engine.horebdata.cn using DNS, it can be resolved 
only locally
[WARNING] Failed to resolve engine.horebdata.cn using DNS, it can be resolved 
only locally
 
  --== DATABASE CONFIGURATION ==--
 
 
  --== OVIRT ENGINE CONFIGURATION ==--
 
 
  --== STORAGE CONFIGURATION ==--
 
  Default SAN wipe after delete (Yes, No) [No]: 
 
  --== PKI CONFIGURATION ==--
 
  Setup will need to do some actions on the remote engine server. 
Either automatically, using ssh as root to access it, or you will be prompted 
to manually perform each such action.
  Please choose one of the following:
  1 - Access remote engine server using ssh as root
  2 - Perform each action manually, use files to copy content around
  (1, 2) [1]: 1
  ssh port on remote engine server [22]: 
  root password on remote engine server engine.horebdata.cn: 
[ INFO  ] Signing the WebSocket Proxy certificate on the engine server
[ INFO  ] WebSocket Proxy certificate signed successfully
 
  --== APACHE CONFIGURATION ==--
 
 
  --== SYSTEM CONFIGURATION ==--
 
 
  --== MISC CONFIGURATION ==--
 
 
  --== END OF CONFIGURATION ==--
 
[ INFO  ] Stage: Setup validation
  Generated iptables rules are different from current ones.
  Do you want to review them? (Yes, No) [No]: 
 
  --== CONFIGURATION PREVIEW ==--
 
  Default SAN wipe after delete   : False
  Firewall manager: iptables
  Update Firewall : True
  Host FQDN   : proxy.horebdata.cn
  Engine installation : False
  Configure VMConsole Proxy   : True
  Engine Host FQDN: engine.horebdata.cn
  Configure WebSocket Proxy   : True
 
  Please confirm installation settings (OK, Cancel) [OK]: 
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping engine service
[ INFO  ] Stopping ovirt-fence-kdump-listener service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ 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-20160318103658-88xphu.log
[ INFO  ] Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20160318103900-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed




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


Re: [ovirt-users] engine-setup error

2016-03-19 Thread Simone Tiraboschi
On Fri, Mar 18, 2016 at 3:54 AM, qinglong.d...@horebdata.cn <
qinglong.d...@horebdata.cn> wrote:

> Hi,
> I wanted to install webSocket proxy on another host, but I got an
> error when setting up engine.
>
>
It's just that you installed all the engine rpms also on the additional
host where you are not going to deploy the engine.
Please run
 yum remove ovirt-engine-setup-plugin-ovirt-engine
before trying again; it's enough to avoid hitting it and it's also a good
idea since you don't need al the engine on the additional websocket proxy
host.

I opened a bug to properly fix it:
https://bugzilla.redhat.com/1318986

Thanks for the report.


> [root@proxy ~]# engine-setup
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>
>   Configuration files: 
> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', 
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf']
>
>   Log file: 
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20160318103658-88xphu.log
>   Version: otopi-1.4.1 (otopi-1.4.1-1.el6)
> [ INFO  ] Stage: Environment packages setup
> [ INFO  ] Yum Downloading: ovirt-3.6-epel/primary_db 1.9 M(32%)
> [ INFO  ] Yum Downloading: virtio-win-stable/primary_db (0%)
> [ INFO  ] Stage: Programs detection
> [ INFO  ] Stage: Environment setup
> [ INFO  ] Stage: Environment customization
>
>   --== PRODUCT OPTIONS ==--
>
>   Configure Engine on this host (Yes, No) [Yes]: no
>   Configure VM Console Proxy on this host (Yes, No) [Yes]:
>   Configure WebSocket Proxy on this host (Yes, No) [Yes]:
>
>   --== PACKAGES ==--
>
> [ INFO  ] Checking for product updates...
> [ INFO  ] No product updates found
>
>   --== ALL IN ONE CONFIGURATION ==--
>
>
>   --== NETWORK CONFIGURATION ==--
>
>   Host fully qualified DNS name of this server [proxy.horebdata.cn
> ]:
> [WARNING] Failed to resolve proxy.horebdata.cn
>  using DNS, it can be resolved only locally
>   Setup can automatically configure the firewall on this system.
>
>   Note: automatic configuration of the firewall may overwrite current 
> settings.
>   Do you want Setup to configure the firewall? (Yes, No) [Yes]:
> [ INFO  ] iptables will be configured as firewall manager.
>   Host fully qualified DNS name of the engine server [
> proxy.horebdata.cn]: engine.horebdata.cn
> [WARNING] Failed to resolve engine.horebdata.cn
>  using DNS, it can be resolved only locally
> [WARNING] Failed to resolve engine.horebdata.cn
>  using DNS, it can be resolved only locally
>
>   --== DATABASE CONFIGURATION ==--
>
>
>   --== OVIRT ENGINE CONFIGURATION ==--
>
>
>   --== STORAGE CONFIGURATION ==--
>
>   Default SAN wipe after delete (Yes, No) [No]:
>
>   --== PKI CONFIGURATION ==--
>
>
>   Setup will need to do some actions on the remote engine server. 
> Either automatically, using ssh as root to access it, or you will be prompted 
> to manually perform each such action.
>   Please choose one of the following:
>   1 - Access remote engine server using ssh as root
>
>   2 - Perform each action manually, use files to copy content around
>   (1, 2) [1]: 1
>   ssh port on remote engine server [22]:
>   root password on remote engine server engine.horebdata.cn:
> [ INFO  ] Signing the WebSocket Proxy certificate on the engine server
> [ INFO  ] WebSocket Proxy certificate signed successfully
>
>   --== APACHE CONFIGURATION ==--
>
>
>   --== SYSTEM CONFIGURATION ==--
>
>
>   --== MISC CONFIGURATION ==--
>
>
>   --== END OF CONFIGURATION ==--
>
> [ INFO  ] Stage: Setup validation
>   Generated iptables rules are different from current ones.
>   Do you want to review them? (Yes, No) [No]:
>
>   --== CONFIGURATION PREVIEW ==--
>
>   Default SAN wipe after delete   : False
>   Firewall manager: iptables
>   Update Firewall : True
>   Host FQDN   : proxy.horebdata.cn
>   Engine installation : False
>   Configure VMConsole Proxy   : True
>   Engine Host FQDN: engine.horebdata.cn
>   Configure WebSocket Proxy   : True
>
>   Please confirm installation settings (OK, Cancel) [OK]:
> [ INFO  ] Stage: Transaction setup
> [ INFO  ] Stopping engine service
> [ INFO  ] Stopping ovirt-fence-kdump-listener service
> [ INFO  ] Stopping websocket-proxy service
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Stage: Package installation
> [ INFO  ] Stage: Misc configuration
>
> [ 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