On Tue, Sep 27, 2016 at 10:09 AM, 转圈圈 <313922611@qq.com> wrote:
engine-setup --offline will not check for updates, Report an error too.

[root@localhost network-scripts]# engine-setup 

Can you please execute 'engine-setup --offline' instead of just '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-20160927160354-exr5o9.log
          Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos)
[ INFO  ] Stage: Environment packages setup
[ ERROR ] Yum Cannot queue package iproute: Cannot find a valid baseurl for repo: base/7/x86_64
[ ERROR ] Failed to execute stage 'Environment packages setup': Cannot find a valid baseurl for repo: base/7/x86_64
[ INFO  ] Yum Performing yum transaction rollback
[ INFO  ] Stage: Clean up
          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20160927160354-exr5o9.log
[ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20160927160355-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed
[root@localhost network-scripts]# vi ifcfg-eth0


------------------ 原始邮件 ------------------
发件人: "Simone Tiraboschi";<stirabos@redhat.com>;
发送时间: 2016年9月27日(星期二) 下午3:31
收件人: "转圈圈"<313922611@qq.com>;
抄送: "Users"<users@ovirt.org>; "Devel"<devel@ovirt.org>; "engine-devel-owner"<engine-devel-owner@ovirt.org>;
主题: Re: [ovirt-devel] yum install ovirt-engine-4.0.2.6 , when run the"engine-setup" not updrages , Report an error



On Tue, Sep 27, 2016 at 9:12 AM, 转圈圈 <313922611@qq.com> wrote:
Ovirt current version is 4.0.4.4 ,i installed ovirt-engine with older version like 4.0.2.6 and install it by "yum install ovirt-engine-4.0.2.6 ", when run the  "engine-setup" i am not updrages ,Report an error,how can i to do,Thank you.
i don't want to install the latest version.


engine-setup --offline will not check for updates.
But what's the problem with a recent release that should come with different bug fixes?
 
[root@localhost ~]# 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-20160927144353-coryv9.log
          Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization
         
          --== PRODUCT OPTIONS ==--
         
          Configure Engine on this host (Yes, No) [Yes]:
          Configure Image I/O Proxy on this host? (Yes, No) [Yes]:
          Configure WebSocket Proxy on this host (Yes, No) [Yes]:
          Please note: Data Warehouse is required for the engine. If you choose to not configure it on this host, you have to configure it on a remote host, and then configure the engine on this host so that it can access the database of the remote Data Warehouse host.
          Configure Data Warehouse on this host (Yes, No) [Yes]:
          Configure VM Console Proxy on this host (Yes, No) [Yes]:
         
          --== PACKAGES ==--
         
[ INFO  ] Checking for product updates...
          Setup has found updates for some packages:
          PACKAGE: [updated] ovirt-engine-4.0.2.6-1.el7.centos.noarch
          PACKAGE: [update] ovirt-engine-4.0.4.4-1.el7.centos.noarch
          PACKAGE: [updated] ovirt-engine-backend-4.0.2.6-1.el7.centos.noarch
          PACKAGE: [update] ovirt-engine-backend-4.0.4.4-1.el7.centos.noarch
          PACKAGE: [updated] ovirt-engine-dbscripts-4.0.2.6-1.el7.centos.noarch
          PACKAGE: [update] ovirt-engine-dbscripts-4.0.4.4-1.el7.centos.noarch
          PACKAGE: [updated] ovirt-engine-restapi-4.0.2.6-1.el7.centos.noarch
          PACKAGE: [update] ovirt-engine-restapi-4.0.4.4-1.el7.centos.noarch
          PACKAGE: [updated] ovirt-engine-tools-4.0.2.6-1.el7.centos.noarch
          PACKAGE: [update] ovirt-engine-tools-4.0.4.4-1.el7.centos.noarch
          PACKAGE: [updated] ovirt-engine-tools-backup-4.0.2.6-1.el7.centos.noarch
          PACKAGE: [update] ovirt-engine-tools-backup-4.0.4.4-1.el7.centos.noarch
          PACKAGE: [updated] ovirt-engine-userportal-4.0.2.6-1.el7.centos.noarch
          PACKAGE: [update] ovirt-engine-userportal-4.0.4.4-1.el7.centos.noarch
          PACKAGE: [updated] ovirt-engine-webadmin-portal-4.0.2.6-1.el7.centos.noarch
          PACKAGE: [update] ovirt-engine-webadmin-portal-4.0.4.4-1.el7.centos.noarch
          do you wish to update them now? (Yes, No) [Yes]: no
[ ERROR ] Failed to execute stage 'Environment customization': Aborted, packages must be updated
[ INFO  ] Stage: Clean up
          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20160927144353-coryv9.log
[ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20160927144532-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed



_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel