Ask Your Question
1

OpenStack offline installation

asked 2017-02-08 06:33:46 -0500

CloudEnthusiast gravatar image

updated 2017-02-08 12:29:14 -0500

Hi All,

I need to install OpenStack Packstack in a server without internet connectivity.

I have installed CentOS7 (server with GUI) in my server.

Can anyone please provide inputs/suggestions/pointers?

Also I came to know about tripleO for managing Openstack easily. so plz anyone clarify my below confusion:

RHEL tripleO package is not freely available. So is there any alternative to try undercloud and overcloud installation without internet connectivity ?

--Thanks

edit retag flag offensive close merge delete

Comments

Create a local repo to retrieve packages from there.

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-02-08 08:41:59 -0500 )edit

Thanks Eduardo.plz provide some inputs for creating local repo for packstack.am a new bie here. I think packstack can quickly build Openstack . But without internet connectivity, other than Openstack packages , other dependencies like puppet hiera others are needed. Is there any quick reference

CloudEnthusiast gravatar imageCloudEnthusiast ( 2017-02-08 12:21:17 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2017-02-08 17:38:05 -0500

sgordon gravatar image

updated 2017-02-08 17:39:17 -0500

You will need to create an offline copy of the repositories from an Internet connected machine, install the centos-release-openstack-newton package on that machine to handle repo configuration as indicated in the QuickStart, or configure it to point at the repos manually.

Install reposync then use it to download all packages to the local directory, for more information on reposync refer to the man page. Once you have done this you can copy the files to your offline machine via sneaker net (e.g. USB drive) and configure it to look at the repositories by creating a /etc/yum.repos.d/local.repo file with entries for each of the repositories. The format is along the lines of:

[myrepo]
name=myrepo
baseurl=file:///mnt/my/usb/drive/repo/folder

This is the easiest way to do it, if you can't get a CentOS or RHEL box that is Internet connected then you can re-produce the same effect using recursive wget etc. but it gets pretty messy.

edit flag offensive delete link more

Comments

@sgordon, Thanks a lot for the solid inputs !!!

CloudEnthusiast gravatar imageCloudEnthusiast ( 2017-02-08 21:48:25 -0500 )edit

Hi, i downloaded all the packages using reposync. But after running yum update, its failing because of dependencies related to packages. Also packstack installer is not looking into the local repo packages. Any clue ?

CloudEnthusiast gravatar imageCloudEnthusiast ( 2017-02-14 04:57:14 -0500 )edit

I reposynced Base, Extras, Updates, and Ceph Jewel, Openstack Ocata, QEMU EV on my CentOS 7. But openstack --allinone failed at: Applying 192.168.x.x_controler.pp 192.168.x.x_controler.pp: [ERROR] Applying Puppet manifests [ERROR]

ERROR: Error appeared during Puppet run: ...

How to fix this?

victorx gravatar imagevictorx ( 2017-04-01 12:51:42 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-02-08 06:33:46 -0500

Seen: 1,096 times

Last updated: Feb 08 '17