Bug 1449743
| Summary: | Add session-max-unacked option to installer | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Chris Roberts <chrobert> | |
| Component: | Installation | Assignee: | Chris Roberts <chrobert> | |
| Status: | CLOSED ERRATA | QA Contact: | Roman Plevka <rplevka> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | high | |||
| Version: | Nightly | CC: | bkearney, chrobert, jcallaha, mmccune, sokeeffe, zhunting | |
| Target Milestone: | Unspecified | Keywords: | Performance, PrioBumpField, Triaged, UserExperience | |
| Target Release: | Unused | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| URL: | http://projects.theforeman.org/issues/19514 | |||
| Whiteboard: | ||||
| Fixed In Version: | katello-installer-base-3.0.0.89-1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1463807 (view as bug list) | Environment: | ||
| Last Closed: | 2017-08-10 17:02:29 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
|
Description
Chris Roberts
2017-05-10 14:59:13 UTC
Upstream bug assigned to chrobert Upstream bug assigned to chrobert Did this got in for snap2? I can't find such installer option. Also, i can't even see such option in qpid.conf # satellite-installer -h | grep unacked # rpm -qa satellite satellite-6.2.11-2.0.el7sat.noarch # rpm -qa katello katello-3.0.0-21.el7sat.noarch # rpm -qa qpid* qpid-tools-0.34-2.el7.noarch qpid-cpp-server-0.34-25.el7sat.x86_64 qpid-proton-c-0.9-16.el7.x86_64 qpid-qmf-0.34-4.el7.x86_64 qpid-cpp-client-devel-0.34-25.el7sat.x86_64 qpid-dispatch-router-0.4-22.el7sat.x86_64 qpid-cpp-client-0.34-25.el7sat.x86_64 qpid-cpp-server-linearstore-0.34-25.el7sat.x86_64 Opened a new PR against this to expose the options to the installer for the user to configure and us ship the options set in the BZ... moving back to POST since a new PR Verified in Satellite 6.2.11 Snap 4. The installer now correctly shows the two new options and they are stored in the appropriate configuration file.
[root@smqa-r210-02 ~]# satellite-installer --help | grep qpid-
...
--katello-qpid-session-unacked Buffer if the broker has a large number of sessions and the memory overhead is a problem (default: "-10")
--katello-qpid-wcache-page-size The size (in KB) of the pages in the write page cache (default: "4")
--- defaults ---
[root@smqa-r210-02 ~]# tail -10 /etc/qpid/qpidd.conf
ssl-port=5671
ssl-cert-db=/etc/pki/katello/nssdb
ssl-cert-password-file=/etc/pki/katello/nssdb/nss_db_password-file
ssl-cert-name=broker
session-max-unacked=-10
wcache-page-size=4
--- changing values via installer ---
[root@smqa-r210-02 ~]# satellite-installer --katello-qpid-session-unacked 100 --katello-qpid-wcache-page-size 25
Installing Done [100%] [..........................................................................................................]
Success!
* Satellite is running at https://smqa-r210-02.lab.eng.brq.redhat.com
* To install additional capsule on separate machine continue by running:
capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar "~/$CAPSULE-certs.tar"
The full log is at /var/log/foreman-installer/satellite.log
[root@smqa-r210-02 ~]# tail -10 /etc/qpid/qpidd.conf
ssl-port=5671
ssl-cert-db=/etc/pki/katello/nssdb
ssl-cert-password-file=/etc/pki/katello/nssdb/nss_db_password-file
ssl-cert-name=broker
session-max-unacked=100
wcache-page-size=25
--- qpid is then up and running fine ---
[root@smqa-r210-02 ~]# systemctl status qpidd
● qpidd.service - An AMQP message broker daemon.
Loaded: loaded (/usr/lib/systemd/system/qpidd.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2017-08-09 15:28:05 CEST; 1min 32s ago
Docs: man:qpidd(1)
http://qpid.apache.org/
Main PID: 25411 (qpidd)
CGroup: /system.slice/qpidd.service
└─25411 /usr/sbin/qpidd --config /etc/qpid/qpidd.conf
Aug 09 15:28:05 smqa-r210-02.lab.eng.brq.redhat.com systemd[1]: Started An AMQP message broker daemon..
Aug 09 15:28:05 smqa-r210-02.lab.eng.brq.redhat.com systemd[1]: Starting An AMQP message broker daemon....
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2466 |