Command './js-ant' failed to execute

多方查找解决方法无果,使用开发版也这个问题,真不知道ovirt团队有没有测试通过就发布.
Failed to execute stage 'Misc configuration' : Command './js-ant' failed to execute
回退到3.5版本可以解决问题.

点击(此处)折叠或打开

  1. [root@220 ~]# engine-setup
  2. [ INFO ] Stage: Initializing
  3. [ INFO ] Stage: Environment setup
  4.           Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging-reports-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf']
  5.           Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20160121143739-34d4f3.log
  6.           Version: otopi-1.4.1_master (otopi-1.4.1-0.0.master.20151119131058.gitf1f8b20.el7)
  7. [ INFO ] Stage: Environment packages setup
  8. [ INFO ] Stage: Programs detection
  9. [ INFO ] Stage: Environment setup
  10. [ INFO ] Stage: Environment customization
  11.          
  12.           --== PRODUCT OPTIONS ==--
  13.          
  14.           Configure Engine on this host (Yes, No) [Yes]:
  15.           Configure Data Warehouse on this host (Yes, No) [Yes]:
  16.           Configure Reports on this host (Yes, No) [Yes]:
  17.           Configure VM Console Proxy on this host (Yes, No) [Yes]:
  18.           Configure WebSocket Proxy on this host (Yes, No) [Yes]:
  19.          
  20.           --== PACKAGES ==--
  21.          
  22. [ INFO ] Checking for product updates...
  23.           Setup has found updates for some packages:
  24.           PACKAGE: [install] ovirt-log-collector-3.6.1-0.0.master.20151006160536.git13be08e.el7.noarch
  25.           do you wish to update them now? (Yes, No) [Yes]:
  26. [ INFO ] Checking for an update for Setup...
  27.          
  28.           --== ALL IN ONE CONFIGURATION ==--
  29.          
  30.          
  31.           --== NETWORK CONFIGURATION ==--
  32.          
  33.           Host fully qualified DNS name of this server [220.ovirttest.com]:
  34.           Setup can automatically configure the firewall on this system.
  35.           Note: automatic configuration of the firewall may overwrite current settings.
  36.           Do you want Setup to configure the firewall? (Yes, No) [Yes]:
  37. [ INFO ] iptables will be configured as firewall manager.
  38.          
  39.           --== DATABASE CONFIGURATION ==--
  40.          
  41.           Where is the Reports database located? (Local, Remote) [Local]:
  42.           Setup can configure the local postgresql server automatically for the Reports to run. This may conflict with existing applications.
  43.           Would you like Setup to automatically configure postgresql and create Reports database, or prefer to perform that manually? (Automatic, Manual) [Automatic]:
  44.           Where is the DWH database located? (Local, Remote) [Local]:
  45.           Setup can configure the local postgresql server automatically for the DWH to run. This may conflict with existing applications.
  46.           Would you like Setup to automatically configure postgresql and create DWH database, or prefer to perform that manually? (Automatic, Manual) [Automatic]:
  47.           Where is the Engine database located? (Local, Remote) [Local]:
  48.           Setup can configure the local postgresql server automatically for the engine to run. This may conflict with existing applications.
  49.           Would you like Setup to automatically configure postgresql and create Engine database, or prefer to perform that manually? (Automatic, Manual) [Automatic]:
  50.          
  51.           --== OVIRT ENGINE CONFIGURATION ==--
  52.          
  53.           Application mode (Virt, Gluster, Both) [Both]:
  54.           Engine admin password:
  55.           Confirm engine admin password:
  56. [WARNING] Password is weak: it is too short
  57.           Use weak password? (Yes, No) [No]: Yes
  58.          
  59.           --== STORAGE CONFIGURATION ==--
  60.          
  61.           Default SAN wipe after delete (Yes, No) [No]:
  62.          
  63.           --== PKI CONFIGURATION ==--
  64.          
  65.           Organization name for certificate [ovirttest.com]:
  66.          
  67.           --== APACHE CONFIGURATION ==--
  68.          
  69.           Setup can configure apache to use SSL using a certificate issued from the internal CA.
  70.           Do you wish Setup to configure that, or prefer to perform that manually? (Automatic, Manual) [Automatic]:
  71.           Setup can configure the default page of the web server to present the application home page. This may conflict with existing applications.
  72.           Do you wish to set the application as the default page of the web server? (Yes, No) [Yes]:
  73.          
  74.           --== SYSTEM CONFIGURATION ==--
  75.          
  76.           Configure an NFS share on this server to be used as an ISO Domain? (Yes, No) [Yes]:
  77.           Local ISO domain path [/var/lib/exports/iso-20160121063843]:
  78.          
  79.           Please provide the ACL for the Local ISO domain.
  80.           See the exports(5) manpage for the format.
  81.           Examples:
  82.           - To allow access for host1, host2 and host3, input: host1(rw) host2(rw) host3(rw)
  83.           - To allow access to the entire Internet, input: *(rw)
  84.          
  85.           For more information, see: http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues
  86.          
  87.           Local ISO domain ACL: *(rw)
  88.           Local ISO domain name [ISO_DOMAIN]:
  89.          
  90.           --== MISC CONFIGURATION ==--
  91.          
  92.           Reports power users password:
  93.           Confirm Reports power users password:
  94. [WARNING] Password is weak: it is too short
  95.           Use weak password? (Yes, No) [No]: yES
  96.          
  97.           --== END OF CONFIGURATION ==--
  98.          
  99. [ INFO ] Stage: Setup validation
  100. [WARNING] Less than 16384MB of memory is available
  101.          
  102.           --== CONFIGURATION PREVIEW ==--
  103.          
  104.           Application mode : both
  105.           Default SAN wipe after delete : False
  106.           Firewall manager : iptables
  107.           Update Firewall : True
  108.           Host FQDN : 220.ovirttest.com
  109.           Upgrade packages : True
  110.           Engine database secured connection : False
  111.           Engine database host : localhost
  112.           Engine database user name : engine
  113.           Engine database name : engine
  114.           Engine database port : 5432
  115.           Engine database host name validation : False
  116.           Engine installation : True
  117.           NFS setup : True
  118.           PKI organization : ovirttest.com
  119.           NFS export ACL : *(rw)
  120.           NFS mount point : /var/lib/exports/iso-20160121063843
  121.           Configure local Engine database : True
  122.           Set application as default page : True
  123.           Configure Apache SSL : True
  124.           DWH installation : True
  125.           DWH database secured connection : False
  126.           DWH database host : localhost
  127.           DWH database user name : ovirt_engine_history
  128.           DWH database name : ovirt_engine_history
  129.           DWH database port : 5432
  130.           DWH database host name validation : False
  131.           Configure local DWH database : True
  132.           Reports installation : True
  133.           Reports database name : ovirt_engine_reports
  134.           Reports database secured connection : False
  135.           Reports database host : localhost
  136.           Reports database port : 5432
  137.           Reports database user name : ovirt_engine_reports
  138.           Reports database host name validation : False
  139.           Configure local Reports database : True
  140.           Engine Host FQDN : 220.ovirttest.com
  141.           Configure VMConsole Proxy : True
  142.           Configure WebSocket Proxy : True
  143.          
  144.           Please confirm installation settings (OK, Cancel) [OK]:
  145. [ INFO ] Stage: Transaction setup
  146. [ INFO ] Stopping dwh service
  147. [ INFO ] Stopping reports service
  148. [ INFO ] Stopping engine service
  149. [ INFO ] Stopping ovirt-fence-kdump-listener service
  150. [ INFO ] Stopping websocket-proxy service
  151. [ INFO ] Stage: Misc configuration
  152. [ INFO ] Stage: Package installation
  153. [ INFO ] Yum Status: Downloading Packages
  154. [ INFO ] Yum Download/Verify: ovirt-log-collector-3.6.1-0.0.master.20151006160536.git13be08e.el7.noarch
  155. [ INFO ] Yum Status: Check Package Signatures
  156. [ INFO ] Yum Status: Running Test Transaction
  157. [ INFO ] Yum Status: Running Transaction
  158. [ INFO ] Yum install: 1/1: ovirt-log-collector-3.6.1-0.0.master.20151006160536.git13be08e.el7.noarch
  159. [ INFO ] Yum Verify: 1/1: ovirt-log-collector.noarch 0:3.6.1-0.0.master.20151006160536.git13be08e.el7 - u
  160. [ INFO ] Stage: Misc configuration
  161. [ INFO ] Creating PostgreSQL 'engine' database
  162. [ INFO ] Configuring PostgreSQL
  163. [ INFO ] Creating PostgreSQL 'ovirt_engine_history' database
  164. [ INFO ] Configuring PostgreSQL
  165. [ INFO ] Creating PostgreSQL 'ovirt_engine_reports' database
  166. [ INFO ] Configuring PostgreSQL
  167. [ INFO ] Creating/refreshing Engine database schema
  168. [ INFO ] Creating/refreshing Engine 'internal' domain database schema
  169. [ INFO ] Upgrading CA
  170. [ INFO ] Creating CA
  171. [ INFO ] Creating/refreshing DWH database schema
  172. [ INFO ] Deploying Jasper
  173. [ ERROR ] Failed to execute stage 'Misc configuration': Command './js-ant' failed to execute
  174. [ INFO ] Yum Performing yum transaction rollback
  175. [ INFO ] Yum Downloading: virtio-win-stable/filelists_db (0%)
  176. [ INFO ] Yum Status: Downloading Packages
  177. [ INFO ] Yum Status: Running Test Transaction
  178. [ INFO ] Yum Status: Running Transaction
  179. [ INFO ] Yum erase: 1/1: ovirt-log-collector
  180. [ INFO ] Yum Verify: 1/1: ovirt-log-collector.noarch 0:3.6.1-0.0.master.20151006160536.git13be08e.el7 - e
  181. [ INFO ] Rolling back database schema
  182. [ INFO ] Clearing Engine database engine
  183. [ INFO ] Rolling back DWH database schema
  184. [ INFO ] Clearing DWH database ovirt_engine_history
  185. [ INFO ] Rolling back Reports database schema
  186. [ INFO ] Clearing Reports database ovirt_engine_reports
  187. [ INFO ] Rolling back Reports files
  188. [ INFO ] Stage: Clean up
  189.           Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20160121143739-34d4f3.log
  190. [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20160121144257-setup.conf'
  191. [ INFO ] Stage: Pre-termination
  192. [ INFO ] Stage: Termination
  193. [ ERROR ] Execution of setup failed

点击(此处)折叠或打开

  1. [root@220 ~]# engine-cleanup
  2. [ INFO ] Stage: Initializing
  3. [ INFO ] Stage: Environment setup
  4.           Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
  5.           Log file: /var/log/ovirt-engine/setup/ovirt-engine-remove-20160122093603-rk0ibs.log
  6.           Version: otopi-1.4.1_master (otopi-1.4.1-0.0.master.20151119131058.gitf1f8b20.el7)
  7. [ INFO ] Stage: Environment packages setup
  8. [ INFO ] Stage: Programs detection
  9. [ INFO ] Stage: Environment customization
  10.           Do you want to remove all components? (Yes, No) [Yes]:
  11.          
  12.           --== PRODUCT OPTIONS ==--
  13.          
  14.           Do you want to remove Engine database content? All data will be lost (Yes, No) [No]: YES
  15. [ INFO ] Stage: Setup validation
  16.           During execution engine service will be stopped (OK, Cancel) [OK]:
  17.           All the installed ovirt components are about to be removed, data will be lost (OK, Cancel) [Cancel]: OK
  18. [ INFO ] Stage: Transaction setup
  19. [ INFO ] Stopping dwh service
  20. [ INFO ] Stopping reports service
  21. [ INFO ] Stopping engine service
  22. [ INFO ] Stopping ovirt-fence-kdump-listener service
  23. [ INFO ] Stopping websocket-proxy service
  24. [ INFO ] Stage: Misc configuration
  25. [ INFO ] Stage: Package installation
  26. [ INFO ] Stage: Misc configuration
  27. [ INFO ] Backing up PKI configuration and keys
  28. [ INFO ] Backing up database localhost:engine to '/var/lib/ovirt-engine/backups/engine-20160122093821.nq7Pbo.dump'.
  29. [ INFO ] Clearing Engine database engine
  30. [ INFO ] Backing up database localhost:ovirt_engine_history to '/var/lib/ovirt-engine-dwh/backups/dwh-20160122093836._2OGNg.dump'.
  31. [ INFO ] Clearing DWH database ovirt_engine_history
  32. [ INFO ] Backing up database localhost:ovirt_engine_reports to '/var/lib/ovirt-engine-reports/backups/reports-20160122093843.vcyLQg.dump'.
  33. [ INFO ] Clearing Reports database ovirt_engine_reports
  34. [ INFO ] Removing files
  35. [ INFO ] Reverting changes to files
  36. [ INFO ] Stage: Transaction commit
  37. [ INFO ] Stage: Closing up
  38.          
  39.           --== SUMMARY ==--
  40.          
  41.           A backup of the Reports database is available at /var/lib/ovirt-engine-reports/backups/reports-20160122093843.vcyLQg.dump
  42.           A backup of the DWH database is available at /var/lib/ovirt-engine-dwh/backups/dwh-20160122093836._2OGNg.dump
  43.           A backup of the Engine database is available at /var/lib/ovirt-engine/backups/engine-20160122093821.nq7Pbo.dump
  44.           ovirt-engine has been removed
  45.           A backup of PKI configuration and keys is available at /var/lib/ovirt-engine/backups/engine-pki-20160122093821SpTPCb.tar.gz
  46.           Engine setup successfully cleaned up
  47.          
  48.           --== END OF SUMMARY ==--
  49.          
  50. [ INFO ] Stage: Clean up
  51.           Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-remove-20160122093603-rk0ibs.log
  52. [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20160122093847-cleanup.conf'
  53. [ INFO ] Stage: Pre-termination
  54. [ INFO ] Stage: Termination
  55. [ INFO ] Execution of cleanup completed successfully
  56. [root@220 ~]# engine-setup
  57. [ INFO ] Stage: Initializing
  58. [ INFO ] Stage: Environment setup
  59.           Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf']
  60.           Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20160122093932-ix78hv.log
  61.           Version: otopi-1.4.1_master (otopi-1.4.1-0.0.master.20151119131058.gitf1f8b20.el7)
  62. [ INFO ] Stage: Environment packages setup
  63. [ INFO ] Stage: Programs detection
  64. [ INFO ] Stage: Environment setup
  65. [ INFO ] Stage: Environment customization
  66.          
  67.           --== PRODUCT OPTIONS ==--
  68.          
  69.           Configure Engine on this host (Yes, No) [Yes]:
  70.           Configure Data Warehouse on this host (Yes, No) [Yes]:
  71.           Configure Reports on this host (Yes, No) [Yes]:
  72.           Configure WebSocket Proxy on this host (Yes, No) [Yes]:
  73.          
  74.           --== PACKAGES ==--
  75.          
  76. [ INFO ] Checking for product updates...
  77. [ INFO ] No product updates found
  78.          
  79.           --== ALL IN ONE CONFIGURATION ==--
  80.          
  81.          
  82.           --== NETWORK CONFIGURATION ==--
  83.          
  84.           Setup can automatically configure the firewall on this system.
  85.           Note: automatic configuration of the firewall may overwrite current settings.
  86.           Do you want Setup to configure the firewall? (Yes, No) [Yes]:
  87. [ INFO ] iptables will be configured as firewall manager.
  88.           Host fully qualified DNS name of this server [220.ovirttest.com]:
  89.          
  90.           --== DATABASE CONFIGURATION ==--
  91.          
  92.           Where is the Reports database located? (Local, Remote) [Local]:
  93.           Setup can configure the local postgresql server automatically for the Reports to run. This may conflict with existing applications.
  94.           Would you like Setup to automatically configure postgresql and create Reports database, or prefer to perform that manually? (Automatic, Manual) [Automatic]:
  95.           Where is the DWH database located? (Local, Remote) [Local]:
  96.           Setup can configure the local postgresql server automatically for the DWH to run. This may conflict with existing applications.
  97.           Would you like Setup to automatically configure postgresql and create DWH database, or prefer to perform that manually? (Automatic, Manual) [Automatic]:
  98.           Where is the Engine database located? (Local, Remote) [Local]:
  99.           Setup can configure the local postgresql server automatically for the engine to run. This may conflict with existing applications.
  100.           Would you like Setup to automatically configure postgresql and create Engine database, or prefer to perform that manually? (Automatic, Manual) [Automatic]:
  101.          
  102.           --== OVIRT ENGINE CONFIGURATION ==--
  103.          
  104.           Engine admin password:
  105.           Confirm engine admin password:
  106. [WARNING] Password is weak: it is too short
  107.           Use weak password? (Yes, No) [No]: Yes
  108.           Application mode (Virt, Gluster, Both) [Both]:
  109.          
  110.           --== PKI CONFIGURATION ==--
  111.          
  112.           Organization name for certificate [ovirttest.com]:
  113.          
  114.           --== APACHE CONFIGURATION ==--
  115.          
  116.           Setup can configure the default page of the web server to present the application home page. This may conflict with existing applications.
  117.           Do you wish to set the application as the default page of the web server? (Yes, No) [Yes]:
  118.           Setup can configure apache to use SSL using a certificate issued from the internal CA.
  119.           Do you wish Setup to configure that, or prefer to perform that manually? (Automatic, Manual) [Automatic]:
  120.          
  121.           --== SYSTEM CONFIGURATION ==--
  122.          
  123.           Configure an NFS share on this server to be used as an ISO Domain? (Yes, No) [Yes]:
  124.           Local ISO domain path [/var/lib/exports/iso-20160122014607]:
  125.           Local ISO domain ACL - note that the default will restrict access to 220.ovirttest.com only, for security reasons [220.ovirttest.com(rw)]:
  126.           Local ISO domain name [ISO_DOMAIN]:
  127.          
  128.           --== MISC CONFIGURATION ==--
  129.          
  130.           Reports power users password:
  131.           Confirm Reports power users password:
  132. [WARNING] Password is weak: it is too short
  133.           Use weak password? (Yes, No) [No]: Yes
  134.          
  135.           --== END OF CONFIGURATION ==--
  136.          
  137. [ INFO ] Stage: Setup validation
  138. [WARNING] Less than 16384MB of memory is available
  139.          
  140.           --== CONFIGURATION PREVIEW ==--
  141.          
  142.           Application mode : both
  143.           Firewall manager : iptables
  144.           Update Firewall : True
  145.           Host FQDN : 220.ovirttest.com
  146.           Engine database name : engine
  147.           Engine database secured connection : False
  148.           Engine database host : localhost
  149.           Engine database user name : engine
  150.           Engine database host name validation : False
  151.           Engine database port : 5432
  152.           Engine installation : True
  153.           NFS setup : True
  154.           PKI organization : ovirttest.com
  155.           NFS mount point : /var/lib/exports/iso-20160122014607
  156.           NFS export ACL : 220.ovirttest.com(rw)
  157.           Configure local Engine database : True
  158.           Set application as default page : True
  159.           Configure Apache SSL : True
  160.           DWH installation : True
  161.           DWH database name : ovirt_engine_history
  162.           DWH database secured connection : False
  163.           DWH database host : localhost
  164.           DWH database user name : ovirt_engine_history
  165.           DWH database host name validation : False
  166.           DWH database port : 5432
  167.           Configure local DWH database : True
  168.           Reports installation : True
  169.           Reports database name : ovirt_engine_reports
  170.           Reports database secured connection : False
  171.           Reports database host : localhost
  172.           Reports database user name : ovirt_engine_reports
  173.           Reports database host name validation : False
  174.           Reports database port : 5432
  175.           Configure local Reports database : True
  176.           Engine Host FQDN : 220.ovirttest.com
  177.           Configure WebSocket Proxy : True
  178.          
  179.           Please confirm installation settings (OK, Cancel) [OK]:
  180. [ INFO ] Stage: Transaction setup
  181. [ INFO ] Stopping dwh service
  182. [ INFO ] Stopping reports service
  183. [ INFO ] Stopping engine service
  184. [ INFO ] Stopping ovirt-fence-kdump-listener service
  185. [ INFO ] Stopping websocket-proxy service
  186. [ INFO ] Stage: Misc configuration
  187. [ INFO ] Stage: Package installation
  188. [ INFO ] Stage: Misc configuration
  189. [ INFO ] Creating PostgreSQL 'engine' database
  190. [ INFO ] Configuring PostgreSQL
  191. [ INFO ] Creating PostgreSQL 'ovirt_engine_history' database
  192. [ INFO ] Configuring PostgreSQL
  193. [ INFO ] Creating PostgreSQL 'ovirt_engine_reports' database
  194. [ INFO ] Configuring PostgreSQL
  195. [ INFO ] Creating/refreshing Engine database schema
  196. [ INFO ] Upgrading CA
  197. [ INFO ] Creating CA
  198. [ INFO ] Creating/refreshing DWH database schema
  199. [ INFO ] Deploying Jasper
  200. [ INFO ] Importing data into Jasper
  201. [ INFO ] Configuring Jasper Java resources
  202. [ INFO ] Configuring Jasper Database resources
  203. [ INFO ] Customizing Jasper
  204. [ INFO ] Customizing Jasper metadata
  205. [ INFO ] Configuring WebSocket Proxy
  206. [ INFO ] Generating post install configuration file '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'
  207. [ INFO ] Stage: Transaction commit
  208. [ INFO ] Stage: Closing up
  209. [ INFO ] Restarting nfs services
  210.          
  211.           --== SUMMARY ==--
  212.          
  213. [WARNING] Less than 16384MB of memory is available
  214.           SSH fingerprint: FE:1C:00:80:24:FC:81:AD:6D:4C:02:2E:41:EC:10:70
  215.           Internal CA 70:26:64:F9:AD:B9:D2:C2:5E:07:81:67:66:D0:6C:D8:6E:1D:67:4A
  216.           Web access is enabled at:
  217.               http://220.ovirttest.com:80/ovirt-engine
  218.               https://220.ovirttest.com:443/ovirt-engine
  219.           Please use the user "admin" and password specified in order to login
  220.          
  221.           --== END OF SUMMARY ==--
  222.          
  223. [ INFO ] Starting engine service
  224. [ INFO ] Restarting httpd
  225. [ INFO ] Starting dwh service
  226. [ INFO ] Starting reports service
  227. [ INFO ] Stage: Clean up
  228.           Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20160122093932-ix78hv.log
  229. [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20160122095142-setup.conf'
  230. [ INFO ] Stage: Pre-termination
  231. [ INFO ] Stage: Termination
  232. [ INFO ] Execution of setup completed successfully
  233. [root@220 ~]


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值