Commit Graph

31 Commits

Author SHA1 Message Date
Monty Taylor 81a016dbcd Rename apts to debs
apts aren't a thing, debs are. apt-get installs debs, like yum installs
rpms. Another option would be to rename rpms to yums, but that is even
sillier, considering then for suse we'd have to call it "zypper-suse" or
something, even though it would want to consume yums-general as a base.

Include a symlink to the old name to help out with grenade. The symlink
should go away later.

This is a long-standing annoyance of mine.

Related-to: I915f0e59c13d8cf5fb3549c6202f8aa2f8be0856
Change-Id: I0416180db5b6add996ce5b48c6966c1b68adbcb0
2014-11-24 09:51:17 -05:00
Akihiro Motoki 6518c0b88e Compile Horizon message catalogs during stack.sh
Recently compiled message catalogs (mo files) were removed
in Horizon and django_openstack_auth repositories.
We need to compile message catalogs to make translations
available for Horizon users. It is useful for developers too.

Change-Id: I0831e8308205c116d8e3bb8b43be7f0dd6fa0c0a
2014-10-18 06:40:08 +09:00
Matt Riedemann 18d5db8452 Add graphviz package to general list for building docs
A few projects are now gating on docs not having warnings/errors in them
during the docs build with sphinx, so developers are going to want to be
able to run 'tox -e docs' locally and fix issues.

The graphviz package is used by sphinx when building docs but you have
to get it from the distro, so this change adds the package to the
various distro lists.

Closes-Bug: #1359749

Change-Id: I7b7dee5e5d0dce6d5020b3e711f500118be163f8
2014-08-20 18:09:44 -07:00
David Shrewsbury 6eee49fc89 Add libssl-dev for Ubuntu
Rebuilding pyOpenSSL requires the SSL development libraries. This is
present in files/rpms/general, but was missed in files/apts/general.

Change-Id: Ie3c688e2d74485eb7f981363633bbddab5da7046
2014-08-04 09:38:21 -04:00
Jenkins 2bb05fdb84 Merge "Promote libffi-dev as a general dependency" 2014-07-22 14:38:24 +00:00
Sean Dague 0ae54daa4a add python-mock to testonly package list
Python-mock is needed by most of OpenStack for testability. Add
this is a testonly package. This should fix current issues with
functional tests in OpenStack that use devstack, but not tox to
run their tests.

Closes-Bug: #1341507

Change-Id: I26cbe42ace75554bae993a6d849c3b4ac649c78e
2014-07-15 10:37:14 +02:00
Attila Fazekas 87d74a0bdd Promote libffi-dev as a general dependency
libffi-dev/libffi-devel can be requested for rebuilding the
python clients which is an un-skipable part of the devstack install.

Promoting the libffi-devel to a general dependency.

Change-Id: I1dac7fd536b94de1e49aaf335ac29ffae1bd39d1
2014-07-09 20:18:04 +02:00
Kashyap Chamarthy 2b5c14d2d8 Add libyaml-devel package dependancy
Without libyaml-devel package installed (on Fedora-20),
running ./stack throws:

  [. . .]
  build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h:
  No such file or directory #include <yaml.h> ^ compilation terminated.

  libyaml is not found or a compiler error: forcing --without-libyaml
  [. . .]

Adding this dependency to files/rpms/general resolves it. Also added to
files/apts/general.

Change-Id: If1aa23bf3fc76ea2b321c3725dd07050ddd4b825
2014-06-28 02:20:09 +05:30
Attila Fazekas 692011593e Move gcc to general
Lot of packages explicitly requires gcc now, but almost all of
the components needs it.

Always keep gcc in hand-range.

files/rpms/general: always installs the libxlst2-devel, not just on
RHEL 6, package recompile capability always handy and these are small
packages anyway.

Change-Id: Ia7d0e1938fb2453e3c02b979f99d6d179c6a24c6
2014-05-18 09:40:23 +02:00
Sergey Skripnick d7f7cb275c Add python-dev to general requirements
Package python-openstackclient depends on pycrypto, and pycrypto depends
on python-dev. Since python-openstackclient should be installed in any
case, python-dev should be in general requirements.

Change-Id: I2d6f5919bdc1175252c78cd203a8769d3892b923
Closes: bug 1292477
2014-04-02 15:35:28 +00:00
Joe Gordon bb1e07859c Don't install vim or locate by default
Devstack doesn't need vim or locate, if someone wants to use them, they
can just install them afterwards.

Change-Id: I00f27c20c86d89465e4aefc67ed645a309c09a03
2014-03-07 12:47:06 -08:00
Akihiro Motoki fbe12f988c Add 'bc' to files/apts/general
After commit def4c141, "bc" command is used in stack.sh,
but 'bc' command is not available in very minimal Ubuntu
installation (without any tasks installed).
We need to add 'bc' to required package list.

Closes-Bug: #1272914
Change-Id: I5797707e8eaa9dd2a21d1a1fc3af028d1951a2ee
2014-01-26 23:00:46 +09:00
Geronimo Orozco 485dd811f6 Adds python2 to general packages to be installed
devstack works only for python2 python3 will break the install.
This commit adds python2 to the general dependencies of ubuntu

Change-Id: I7721ff85a63f635ff798407a5ee1d6766405c683
Closes-Bug: #1188215
2013-12-06 10:44:48 -06:00
Dean Troyer 62d1d698a0 Add tools/install_pip.sh
Install a known working recent version of pip that handles installation
dependencies more correctly than before.  Extract to a separate script
so it can be used apart from stack.sh.

* Install distro setuptools if it not already present
* Install pip from source tarball as get-pip.py proved to be unreliable
* Remove python-distribute and python-pip from all prereq files,
  move python-setuptools to 'general'
* Remove the earlier unfubar_setuptppls() call that attenpted to fix this
* Only update requirements.txt when no changes in repo

Tested on Precise, F18 and CentOS6.
* Fedora and RHEL allow pip to install packages ON TOP OF RPM-installed
  packages.  THIS IS BROKEN.  And is one reason we have to be so picky
  about order and so forth.

Change-Id: Ibb4b42119dc2e51577c77bbbbffb110863e5324d
2013-08-07 20:28:56 -05:00
Monty Taylor 60aba9cb6a Remove installation of python-netaddr
System and pip installation of this conflit and cause breakages.

Change-Id: I87a03f88a134683310d6ec0bd62d86c5007fcd72
2013-08-02 23:52:38 +00:00
Joe Gordon 5747b80175 Don't install pep8 from packages
We have migrated to flake8 and most distros don't have the version of
pep8 that flake8 (and hacking) use.  Instead of installing pep8 from
packages it should be installed from pip

Change-Id: I86e4f8316f3cdc27303bfd039a78c0d6202ce321
2013-06-06 17:37:56 -07:00
David Ripton a0f660b0f9 Add a dependency on openssl.
Nova and Keystone use openssl to setup certificates.  If it's not
there then Keystone fails with "Error 2: No such file or directory",
Nova fails with "openssl: command not found" and glance fails with
"glance: error: argument --os-auth-token: expected one argument"
Basically, cascading errors everywhere.  So I put the dependency
in "general" since it affects multiple packages.

Fixes bug 1152315

Change-Id: I803f91644443d7aba78c0a90384e32f6eece36ec
2013-03-07 15:46:25 -05:00
Clark Boylan 4d9f6e36e0 Use apt git package instead of git-core.
The git-core package is deprecated in favor of the git package. Use the
git package instead.

Change-Id: Ib136e34c7a0d4f87b02e32996420b3f507ca0bf4
2013-01-08 12:04:23 -08:00
David Ripton bbc54635c8 Install the python-netaddr package before we use it.
It's used if installed and not used if not installed, which is confusing.
So trying to install it should make things a bit less confusing.

It's available under the same name in both Fedora and Ubuntu.

Change-Id: I6785dd5e831e9cf2da2eae5b116a9f5859c68c6d
2012-10-22 09:41:32 -04:00
Dean Troyer 32c520f46d Add bridge-utils to deps for Ubuntu and Fedora.
They don't always get installed via dependencies any more.

Change-Id: I46f333c79ecccca9e10170d06039611fad5813dc
2012-08-01 19:57:34 -05:00
John Garbutt 2ee1fd1e82 Removing python-cmd2 at it is not available on Ubuntu 11.10
This fixes bug 1030899

Ubuntu 11.10 is used by the XenAPI devstack install because
of issues running Ubuntu 12.04 on XenServer 6.0.2 and ea11.10

Change-Id: I35bca1f484e0caea8316e78ca6543d3b7af49088
2012-08-01 10:29:19 +01:00
Monty Taylor e9659e503e Add python-cmd2 install for openstackclient.
Change-Id: I5cf6772c6fa1c813efa4993bd0461c45bbaae4ea
2012-07-26 13:22:42 -05:00
Vincent Untz 03086e18b4 Add tar to list of packages to install
It turns out a minimal Fedora installation doesn't have tar by default.
Since we use tar when uploading the default image to glance, we need to
make sure it's installed. And since it might be useful for other very
generic tasks DevStack might do, just always install it (by putting it
in the general list of packages).

Change-Id: I4dae3b43a700d80b8752a5b846a6ce302fadb751
2012-07-04 12:27:42 +02:00
Vishvananda Ishaya f56e395d82 Make ec2 credentials work properly 2011-10-24 16:31:19 -07:00
Anthony Young 78bd0cbd98 initial commit of build_kvm.sh 2011-10-19 02:20:04 -07:00
Jesse Andrews 4ebd289de0 we don't use bzr anymore 2011-10-02 13:03:51 -04:00
Jesse Andrews 9b6741e7ec remove nixon & munin 2011-10-02 10:01:00 -07:00
Anthony Young 4b4acccd94 install python-unittest2 so we can run tests 2011-09-22 00:19:37 -07:00
Anthony Young f33796e01f add python-virtualenv to deps, make keystone print to stdout 2011-09-22 00:14:12 -07:00
Anthony Young 79422a43ac add bzr to deps 2011-09-20 10:48:12 -07:00
Jesse Andrews 4d28218954 move apts/pips to files directory 2011-09-16 11:27:43 -07:00