Add our missing symlink to the AFS mirror so we can see
ceph-deb-hammer under apache.
Change-Id: I5ac55e5904246dc399712062466e2960e5db6e30
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
The ceph debian mirror does not have udeb components so don't attempt to
mirror them. Attempting to mirror them makes reprepro fail.
Change-Id: Ica8e99092d762445af78bb0a7f7f789c8576a1c5
mod_rewrite has inconsistent behavior inside of a directory tag. For
example, it doesn't appear to update the value of REQUEST_URI in
subsequent redirects, and the modifiable URI passed to the RewriteRule
is different from that passed to the RewriteCond.
This patch moves the rewrite rules for the npm mirror out of the
directory block, in order to fix unexpected 500 errors when accessing
packages with single file names. It also switches the <directory>
configuration block to only match on subdirectories of /npm/, so that
listing the contents of /npm does not redirect the user to the
/npm/index.json/ package.
Why that package exists is left as an exercise to the user.
Change-Id: Idbad41867d3d3546a59fe0c4fa54c5be22e31438
Same as the previous nodepool patch - it's important that we configure
internap correctly in our other clouds.yaml files.
Change-Id: I100fa7f7aa4836579dc8ddcfd40d78402aef38ef
It's not possible to determine which networks are public and private at
internap. But we can configure them.
Change-Id: Ica0d271188261c96e03a6e8af9b664b1031ab945
Turns out we got the wrong hash before :( but thankfully reprepro didn't
funciton in that state. Get the ids correct so reprepro can do its job.
Change-Id: Ic8e5f3ebfea681b289e1f5381134df4e0485af3d
Move the ceph debian hammer mirror to mirror/ceph-deb-hammer from
mirror/debian-ceph-hammer to make it clear this is a ceph mirror for
debuntu distros. This isn't a debian specific ceph repo. Also don't use
a ceph/ directory in order to keep all top level repos at the same
directory level.
Change-Id: I5d313d301db4eaeb4267cdd6ce7787cf9c098582
Mirror the trusty packages for the ceph hammer release to aid in process
of making ceph testing more robust. Use reprepro which is already in use
to mirror the main ubuntu trusty repos.
Change-Id: Ifd09272c7b1e07de9135be5a96be06153a3f611e
This patch makes the necessary modifications to host npm packages
on our mirrors. Changes include:
- index.json as a DirectoryIndex
- Rewrite rules for the AFS folder structure
- mod_substitute invocation to correctly reference absolute tarball
url's described in the index.json files.
Change-Id: I1a5d560068e37e20ec565b8d864f89732ff5ad74
This patch makes the necessary modifications to host npm packages
on our mirrors. Changes include:
- index.json as a DirectoryIndex
- Rewrite rules for the AFS folder structure
- mod_substitute invocation to correctly reference absolute tarball
url's described in the index.json files.
Change-Id: I7f7c6caa6af16101cf104f950968f3c6319b8243
We need these values in both the o_p:npm_mirror class and in the
o_p::mirror_update class. This indicates that we didn't use containment
as well as we should have, but that's fine and we can clean this up
later.
Change-Id: I1cbf5b30b5f2fa22d576cd23da9eb34942f6df76
This patch adds a cron job to our mirror_update servers which will
begin mirroring the npm registry into our own AFS mirror directories,
under the /npm path.
It uses two major components: First, the registry-static project,
available here: https://github.com/davglass/registry-static
Secondly, a custom implementation of the fs-blob-store named
afs-blob-store, which creates a virtual filesystem that automatically
translates paths to accomodate AFS' folder size limit. This project
is currently still hosted on github, however will be added to
OpenStack soon: https://github.com/krotscheck/js-afs-blob-store
This will require creating ACL's as well as the AFS principal before
this can be landed.
Change-Id: Ib78852fc5cde4fb04fe6439e01a591ca2781ce21
The TripleO cloud does not work when the neutron-based floating ip
logic creates a floating ip directly on a server port. The problem is
that the floating IP is correctly created and correctly associated with
the server, but Nova has no clue that this has happened, so GET calls to
/server do not show that the server has the floating IP. As that's the
way we track success, we can't use it. However, if a floating IP is
created using the nova proxy, it all works - so just configure the cloud
with "has_network: False" so that direct neutron interactions are not
attempted.
Change-Id: Idb90cad36feb99bc5aa19da4874ce97f868681c7
The puppet-subunit2sql module updated where it puts config file to
be in /etc/subunit2sql instead of /etc/logstash. But we missed updating
the worker yaml config file. This patch corrects the oversight.
Change-Id: Ibb4d2eee7deb7876fc17c49dade8d4ae1236ca3e
We're upgrading openstackid.org to Ubuntu 14.04 LTS, and so need to
adjust the redis version passed to the openstackid module for it.
This matches what's already in use for openstackid-dev.openstack.org
and Puppet is currently disabled on the real openstackid.org by UUID
while we build its replacement.
Change-Id: I8b628446736e296aa6028c8e2ec848f2db8c4373
Due to various puppet changes which were required to support running
OpenStackId on Trusty, I7f1434a6218d3300d1315a2e3c0a446f05124353
disabled Puppet updates on the production openstackid.org server
temporarily. Given that the current plan is to replace
openstackid.org with a new server running Trusty now, switch the
disablement from its name to its UUID so we can successfully puppet
the replacement server.
Change-Id: I37fe3763c1e27ff7dfea2e2012f5df071224d30a
In an effor to better debug reprepo failures, lets increase the
logging.
Change-Id: I66073a26a60721221587b5e94825fdfdfe52fef9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
It was removed in I0a12bc4cb67339a7566fb113bbbc897d4f112f50 by
mistake.
Change-Id: I42050405686364c30d825198d74077d121a349da
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Otherwise, we are running it every 1 min(for the hour) each 2 hours.
Change-Id: I132825920c1807b3e8d97c16a93e9e9cf09bd971
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Otherwise, we get the following errors:
Error parsing /etc/reprepro/ubuntu/distributions, line 42: Second
appearance of 'Origin' in the same chunk!
Change-Id: I11fb815eddae1efa7ff072f8065af5b9ddee5e85
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
The http download command on the Gerrit change screen points to
review.o.o We prefer it to point to the replicated repos because
those are faster and there are many more of them.
Depends-on: I4fa1cc7b1f0b717c35dc4eccedb635c9f3680c26
Change-Id: I24946f5feeae11b6659982d79f119d84335cc237
Now that we have ubuntu-xenial dibs, we'll need to mirror xenial too.
Change-Id: I78768c1d67ea4ff107bbbfb848f936a6123ce19e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We're upgrading openstackid-dev.openstack.org to Ubuntu 14.04 LTS,
and so need to adjust the redis version passed to the openstackid
module for it.
Change-Id: I1de428679017a8b7a13d06c8ce072ff0e625bbcf
Here we are removing devstack-trusty and adding ubuntu-xenial logs.
Change-Id: Ia4e2b3426442849efa02fe932d86d8ce5a1df48f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
A refactor for the puppet-openstackid module in
I66c6ad413a6b0c31a19cc663058a53edc3bec5cc (switch to Puppetlabs
apache module, apache2-mpm-event, php5-fpm proxy handler) for
improved performance needs to be vetted on
openstackid-dev.openstack.org without adversely impacting production
openstackid.org.
This temporary disablement will be reverted once the updates are
confirmed to have the intended effect on the dev server and not
subtly break it in ways manual testing and CI jobs have not exposed.
Change-Id: I7f1434a6218d3300d1315a2e3c0a446f05124353