pulp / pulp-ci Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
⚠️ ⛔️ Pulp2 is EOL as of November 30 2022, for more info visit this link https://pulpproject.org/2022/09/19/pulp-2-eol/. ⛔️ Pulp is a platform for managing repositories of content, such as software packages, and pushing that content out to large numbers of consumers. For more information, check out the project website: http://www.pulpproject.org
I really would like to deploy commit 444446c or newer to my network. the version published on Puppet Forge is out-of-date and librarian-puppet
is not able to clone the module via git because it is not the "root" of the repository.
for now, I think I'll workaround by mirroring the puppet/pulp
directory into my own repository :/
That's the behaviour i get with pulp-manage-db when using puppet to manage the installation of pulp servers:
1 puppet run ) pulp-manage-db fails, timeout exceeded
2 puppet run ) pulp-manage-db completed successfully
3 puppet run ) no action
What i expect:
1 puppet run ) pulp-manage-db completed successfully
2 puppet run ) no action
Probably the error is due to the MongoDB server starting too late
Would you care to move out the puppet module code into dedicated repo? It will easier to find it and recognize the structure as it will be similar to other module repos out there.
Bonus points for setting "fixed in version" automatically when it is released to a z-stream
This is important because if an issue appears in NEW on bugzilla during a release cycle it may get kicked off the release, even if all the work has been done. It can delay fixes for weeks and mess with release schedules.
these messages appear every time Puppet is run:
Notice: /Stage[main]/Pulp::Server::Install/Exec[yum install pulp-server]/returns: executed successfully
Notice: /Stage[main]/Pulp::Server::Config/Exec[Migrate DB]/returns: executed successfully
best practice is to not run a resource change unless something has actually changed. resource changes cause "eventful reports" that clutter up logs/histories and irritate Ops people when they need to produce reports for auditors :P
this doc provides some possible solutions: https://docs.puppetlabs.com/references/latest/type.html#exec
This command line is taken from the README.md file.
[lvu@lvupulp ~]$ python repos/pulp_packaging/dockerfiles/registry-admin.py pulp "auth permission grant --role-id contributor --resource /repositories -o create -o read -o update -o execute"
User certificate not found.
Enter registry username [lvu]: admin
Enter registry password:
Warning: path should have mode 0700 because it may contain sensitive information: /root/.pulp/
Command: login
Description: login and download a session certificate
Available Arguments:
--username, -u - (required) server account username
--password, -p - server account password
The following options were specified but do not exist on the command:
--role-id
Warning: path should have mode 0700 because it may contain sensitive information: /root/.pulp/
The server hostname configured on the client did not match the name found in the
server's SSL certificate. The client attempted to connect to
[lvupulp.dyn.intelerad] but the server returned [pulpapi] as its hostname. The
expected hostname can be changed in the client configuration file.
[lvu@lvupulp ~]$
[ipanova@puffy pulp-ci]$ git grep '2.2[1|2]'
ci/config/releases/supported-releases.json: "2.21",
ci/jjb/jobs/projects.yaml: - 2.21:
ci/jjb/jobs/projects.yaml: pulp_version: '2.21'
ci/jjb/jobs/projects.yaml: pulp_version: '2.22'
[ipanova@puffy pulp-ci]$ git grep 2-master
ci/ansible/roles/pulp-coverage/tasks/install.yaml: version: 2-master
ci/config/releases/2-master.yaml: git_branch: 2-master
ci/config/releases/2-master.yaml: git_branch: 2-master
ci/config/releases/2-master.yaml: git_branch: 2-master
ci/config/releases/2-master.yaml: git_branch: 2-master
ci/config/releases/2-master.yaml: git_branch: 2-master
ci/config/releases/2-master.yaml: git_branch: 2-master
ci/docs-builder.py: # rsync the nightly "2-master" docs to an unversioned "nightly" dir for
ci/docs-builder.py: if build_type == 'nightly' and opts.release == '2-master':
ci/jjb/jobs/projects.yaml: - 2-master
ci/jjb/jobs/projects.yaml: - 2-master:
ci/jjb/jobs/projects.yaml: reverse_trigger: '2-master'
ci/jjb/jobs/projects.yaml: - 2-master
ci/jjb/jobs/projects.yaml: - 2-master
ci/jjb/jobs/projects.yaml: - 2-master
ci/jjb/jobs/projects.yaml: - 2-master
ci/jjb/jobs/projects.yaml: - 2-master
ci/jjb/jobs/projects.yaml: - 2-master
ci/jjb/jobs/projects.yaml: - 2-master
ci/jjb/jobs/projects.yaml: - 2-master
ci/jjb/jobs/projects.yaml: - 2-master
ci/jjb/jobs/projects.yaml: - 2-master
ci/jjb/jobs/projects.yaml: - 2-master
ci/jjb/jobs/projects.yaml: - 2-master
ci/jjb/jobs/pulp-packaging.yaml: ssh [email protected] "rsync -avz --delete /mnt/koji/releases/split/yum/pulp-nightly/pulp/ [email protected]:/srv/repos/pulp/pulp/testing/automation/2-master/stage/"
ci/jjb/jobs/unittests.yaml: - 2-master
ci/jjb/jobs/unittests.yaml: REPO_URL="https://repos.fedorapeople.org/pulp/pulp/testing/automation/2-master/stage/\$releasever/\$basearch/"
ci/jjb/jobs/unittests.yaml: REPO_URL="https://repos.fedorapeople.org/pulp/pulp/testing/automation/2-master/stage/fedora-\$releasever/\$basearch/"
https://forge.puppetlabs.com/jcline/pulp/0.2.1 does not list a "project URL". this URL 404s.
I think it can be a good idea to have a way to configure the pulp consumers to automatically register to the pulp server
Example... First puppet run with:
class {'::pulp::consumer':
pulp_server => 'pulp-server.qwerty.ext',
verify_ssl => False,
}
If i change the manifest for the second puppet run to:
class {'::pulp::consumer':
pulp_server => 'pulp-server.qwerty.ext',
verify_ssl => False,
consumer_profile_minutes => '10',
}
The configuration file doesn't change. I think it's due to the strong link between the subclasses inside the puppet manifest:
anchor { 'pulp::consumer::start': } ->
class { 'pulp::consumer::install': } ->
class { 'pulp::consumer::config': } ->
class { 'pulp::consumer::service': } ->
anchor { 'pulp::consumer::end': }
The unless condition in pulp::consumer::install
is verified so it just skips everything after it
Similar to other available pulp modules it would be great if the official module would support managing repos in pulp. An example would be
puppet_repo { 'repo_id':
# Default pulp admin login/password
ensure => 'present',
display_name => 'my test repo',
description => "puppet forge mirror",
feed => 'http://forge.puppetlabs.com',
feed-key => '/etc/pki/consumer/key.pem'
feed-cert => '/etc/pki/consumer/cert.pem'
retain-old-count => 1
relative-url => 'repo/os'
schedules => [ '2012-12-16T00:00Z/P1D', '2012-12-17T00:00Z/P1D' ],
serve_http => true,
serve_https => true,
}
Currently, this module only supports RedHat and Fedora operating systems. at /etc/puppet/modules/pulp/manifests/globals.pp:40 on node REDACTED
root@REDACTED:~# facter | grep operating
operatingsystem => CentOS
operatingsystemmajrelease => 6
operatingsystemrelease => 6.5
is there any technical reason for this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.