Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase CPUs and memory #48

Merged
merged 2 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ Vagrant.configure("2") do |config|
override.vm.hostname = "quadlet.example.com"

override.vm.provider "libvirt" do |libvirt, provider|
libvirt.memory = "4096"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was nice while it lasted!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, and produced nice random errors when someone tried to do any two trivial actions with candlepin in a short timeframe ;)

libvirt.memory = 10240
libvirt.cpus = 4
provider.vm.box_url = CENTOS_9_BOX_URL
end
end
Expand Down
16 changes: 8 additions & 8 deletions roles/foreman/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@
enabled: true
state: started

- name: Wait for Foreman service to be accessible
ansible.builtin.uri:
url: 'http://{{ ansible_hostname }}:3000/api/v2/ping'
until: foreman_status.status == 200
retries: 60
delay: 5
register: foreman_status

- name: Start the Dynflow Services
ansible.builtin.systemd:
name: "dynflow-sidekiq@{{ item }}"
Expand All @@ -123,14 +131,6 @@
- worker
- worker-hosts-queue

- name: Wait for Foreman service to be accessible
ansible.builtin.uri:
url: 'http://{{ ansible_hostname }}:3000/api/v2/ping'
until: foreman_status.status == 200
retries: 60
delay: 5
register: foreman_status

- name: Wait for Foreman tasks to be ready
ansible.builtin.uri:
url: 'http://{{ ansible_hostname }}:3000/api/v2/ping'
Expand Down