Edge installation without Internet connection trying to hit internet

Not applicable

Edge installation without internet connection is trying to hit internet.

I am trying to install Edge 4.16.01 on Private Cloud with CentOS 7.2

I have copied the apigee repo from a local artifactory and trying ton install Edge using it.

When running the following command to install apigee-service utility:

bash /opt/apigee/data/apigee-mirror/repos/bootstrap.sh apigeeprotocol="file://" apigeerepobasepath=/opt/apigee/data/apigee-mirror/repos

I am getting following error:

=== Checking java brand: === Checking java version: === Installing apigee-service: + yum install -y apigee-service Loaded plugins: fastestmirror One of the configured repositories failed (Unknown), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Disable the repository, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable <repoid> 4. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true Cannot find a valid baseurl for repo: base/7/x86_64 Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#7 - "Failed to connect to 2a01:c0:2:4:0:acff:fe1e:1e52: Network is unreachable"

Why is it trying to hit internet? Am I missing something?

0 2 617
2 REPLIES 2

Not applicable

The issue was that CentOS tries to check any active repos even when it's installing from a local repo. Adding/Updating enabled=0 to the repo configuration in /etc/yum.repos.d/, resolved the current issue.

@Anil Sagar

Now I am facing issue with using apigee-setup utility to install all-in-one. When running the following command:

/opt/apigee/apigee-setup/bin/setup.sh -p aio -f /tmp/myConfigStandalone.txt

I am getting error. Following are excerpts from /opt/apigee/var/log/apigee-setup/setup.log

---> Package qpid-cpp-server.x86_64 0:0.28-6.el7.centos will be installed

--> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: qpid-cpp-server-0.28-6.el7.centos.x86_64

--> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: qpid-cpp-server-0.28-6.el7.centos.x86_64

--> Processing Dependency: libxerces-c-3.1.so()(64bit) for package: qpid-cpp-server-0.28-6.el7.centos.x86_64

--> Processing Dependency: libdb_cxx-5.3.so()(64bit) for package: qpid-cpp-server-0.28-6.el7.centos.x86_64

--> Processing Dependency: libboost_program_options-mt.so.1.53.0()(64bit) for package: qpid-cpp-server-0.28-6.el7.centos.x86_64

--> Processing Dependency: libaio.so.1()(64bit) for package: qpid-cpp-server-0.28-6.el7.centos.x86_64

---> Package qpid-proton-c.x86_64 0:0.7-4.el7.centos will be installed

---> Package qpid-tools.x86_64 0:0.28-6.el7.centos will be installed

--> Processing Dependency: libboost_program_options-mt.so.1.53.0()(64bit) for package: qpid-tools-0.28-6.el7.centos.x86_64

---> Package xqilla.x86_64 0:2.2.4-7.el7 will be installed

--> Processing Dependency: libxerces-c-3.1.so()(64bit) for package: xqilla-2.2.4-7.el7.x86_64

--> Finished Dependency Resolution

Error: Package: qpid-cpp-server-0.28-6.el7.centos.x86_64 (apigee-thirdparty)

Requires: libdb_cxx-5.3.so()(64bit)

Error: Package: qpid-cpp-server-0.28-6.el7.centos.x86_64 (apigee-thirdparty)

Requires: libboost_program_options-mt.so.1.53.0()(64bit)

Error: Package: qpid-cpp-client-0.28-6.el7.centos.x86_64 (apigee-thirdparty)

Requires: libboost_program_options-mt.so.1.53.0()(64bit)

Error: Package: qpid-cpp-client-rdma-0.28-6.el7.centos.x86_64 (apigee-thirdparty)

Requires: librdmacm.so.1(RDMACM_1.0)(64bit)

Error: Package: qpid-cpp-server-0.28-6.el7.centos.x86_64 (apigee-thirdparty)

Requires: libxerces-c-3.1.so()(64bit)

Error: Package: qpid-cpp-server-0.28-6.el7.centos.x86_64 (apigee-thirdparty)

Requires: libaio.so.1(LIBAIO_0.4)(64bit)

Error: Package: qpid-cpp-server-0.28-6.el7.centos.x86_64 (apigee-thirdparty)

Requires: libaio.so.1(LIBAIO_0.1)(64bit)

Error: Package: qpid-tools-0.28-6.el7.centos.x86_64 (apigee-thirdparty)

Requires: libboost_program_options-mt.so.1.53.0()(64bit)

Error: Package: qpid-cpp-client-rdma-0.28-6.el7.centos.x86_64 (apigee-thirdparty)

Requires: libibverbs.so.1(IBVERBS_1.0)(64bit)

Error: Package: qpid-cpp-client-rdma-0.28-6.el7.centos.x86_64 (apigee-thirdparty)

Requires: libibverbs.so.1()(64bit)

Error: Package: qpid-cpp-client-rdma-0.28-6.el7.centos.x86_64 (apigee-thirdparty)

Requires: libibverbs.so.1(IBVERBS_1.1)(64bit)

Error: Package: qpid-cpp-client-rdma-0.28-6.el7.centos.x86_64 (apigee-thirdparty)

Requires: librdmacm.so.1()(64bit)

Error: Package: qpid-cpp-server-0.28-6.el7.centos.x86_64 (apigee-thirdparty)

Requires: libaio.so.1()(64bit)

Error: Package: xqilla-2.2.4-7.el7.x86_64 (apigee-thirdparty)

Requires: libxerces-c-3.1.so()(64bit)

You could try using --skip-broken to work around the problem

You could try running: rpm -Va --nofiles --nodigest

[2016-05-20 06:02:36 AM] Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with

unexpected status 1