Commit Graph

16 Commits

Author SHA1 Message Date
Clark Boylan 2eebb858af Remove firehose.openstack.org
Once we are satisfied that we have disabled the inputs to firehose we
can land this change to stop managing it in config management. Once that
is complete the server can be removed.

Change-Id: I7ebd54f566f8d6f940a921b38139b54a9c4569d8
2021-04-13 13:51:48 -07:00
Monty Taylor bab6fcad3c
Remove base.yaml things from openstack_project::server
Now that we've got base server stuff rewritten in ansible, remove the
old puppet versions.

Depends-On: https://review.openstack.org/588326
Change-Id: I5c82fe6fd25b9ddaa77747db377ffa7e8bf23c7b
2018-08-16 17:25:10 -05:00
Jeremy Stanley 3b53492755
Check "cyrus" Exim router before "localuser"
If Exim checks the default "localuser" router before our custom
"cyrus" router, then the lpmqtt account's messages will get
delivered to its system mbox rather than its Cyrus IMAP inbox. To
fix this ordering problem, disable the default localuser router and
define our own after cyrus.

Change-Id: I08b024f1b4097bf651b4c3ed97a319f579869ce4
Depends-On: https://review.openstack.org/577893
2018-06-26 15:55:08 -04:00
Matthew Treinish 0d799489ce
Re-enable the websockets tls port
Since we re-enabled the websockets port in change
Id9bb77ef9a2ac70eec74db4ea64423b5d6351a06 things having quite stable.
Connections to mosquitto over websockets hasn't crashed. Since things
have been stable this commit unblocks the tls websockets port for
firehose.o.o and switches it to the standard 443 for https instead of
the default 8080 we were using before. This should enable websites
trying to use the firehose over websockets from https server.

Change-Id: I1b08eabf22f5345a9b4ebfae5d3dab08270efbf9
2018-04-13 19:36:42 -04:00
Matthew Treinish 1be0c0c95c
Fix websocket port setting,
For some reason we were setting the websocket_port to true, which is not
a valid port number. This commit fixes this to just use the default and
removes that field from the config.

Change-Id: I0ac2e0919a59590182c6da7442883a6edca66a60
2018-02-28 05:05:22 -05:00
Matthew Treinish d995809160 Re-enable websockets port on firehose.o.o
This commit re-enables the websockets listener on mosquitto for
firehose.o.o but without a separate tls port. The websockets connections
will just not be encrypted.

Change-Id: Ibdf1e38fa990d3fd78bfe9dead28f6ec385c0e1a
Depends-On: I2bb806210dbe5c40cfda5ac205f3659c2085f0e1
2018-02-27 13:11:20 +00:00
Matthew Treinish eb4c825215
Add mqtt_statsd to firehose config
To get metrics on MQTT usage into graphite/grafana this commit adds
running mqtt_statsd on firehose

Change-Id: I90bb2c4fc7e409e9af24ca7cec7ad9d7926739e9
Depends-On: I28058bf6eac2354e3ceba0011464509ed6bdd869
2017-04-11 16:44:32 -04:00
James E. Blair 3b3fe1847e Use firehose.openstack.org as the mqtt server name
Change-Id: Id1445d6764a3f9e9a43b4739f2d95d88f34e2944
2016-09-21 07:14:37 -07:00
James E. Blair 076940a90e Add local_domains exim option to firehose
So that we can set up the firehose.o.o MX records.

Change-Id: Ia8dd76fc3b1067cc2f32a0406999c9dac3a2c5b9
Depends-On: Ie6ac9e87b69b93b6e121dad8ceae5fde7931877a
2016-09-21 07:14:22 -07:00
Matthew Treinish 2bc5dd7ca4
Add imap delete config to lpmqtt and remove ssl
We need to conserve space on the disk of firehose, this commit sets
lpmqtt to delete emails after it processes them.

Change-Id: I3c917df78e27762efcbf5ce07766702380ae2cc5
2016-09-19 09:14:47 -04:00
Matthew Treinish 1a7773966b
Imap services fixes
This commit adds various fixes need to get imap working on firehose.o.o

Change-Id: I1cf23fefff00077e37929b4b36126a5afce1b5e0
2016-09-19 08:41:34 -04:00
Matthew Treinish 2d2f125f40 Add lpmqtt to firehose deployments
This commit adds deploying a running lpmqtt to firehose nodes.

Change-Id: Ia9d659e282a2a992b8c1a7a48577f3e59793effa
Depends-On: I613330e2bff2e6fe1cacd7e53f3c189584978ea2
2016-09-14 15:11:11 +00:00
Matthew Treinish 7c45912e9f
Add email servers to firehose
A requirement for running lpmqtt is to have an imap server that is
subscribed to launchpad notifications to use as a source for the event
stream. However there is no preexisting imap server setup anywhere to
use for this. This commit deploys the necessary components for the imap
server. Setting up the launchpad user and the subscription will be a
manual process.

Change-Id: I063ac9da89d227ac59ca1cb8765e3615d7bfdbba
2016-09-14 11:09:32 -04:00
Matthew Treinish 1a061497ab
Add tls support to firehose
This commit adds the necessary configuration to pass the tls certs
to the puppet-mosquitto module to configure 2 tls enabled ports on
the mosquitto server.

Change-Id: I128b2bb5d061794746bedd7541988c65abcaafff
Depends-On: I7c77285e347d8c1b2c3318360258246b78f885a8
2016-08-08 11:03:11 -04:00
Jeremy Stanley 07e85d083a Don't override the mosquitto log path
For unidentified reasons, mosquitto is unable to log to
/var/log/mosquitto.log when running as root but will happily log to
/var/log/mosquitto/mosquitto.log. Luckily that's already the
default in our Puppet module, so just drop the unwarranted override.

Change-Id: Ifbd39b280f089b9e18bfe8e372f180bb8ad4d1e4
2016-08-02 22:37:37 +00:00
Matthew Treinish 0d5de2e02c
Add firehose.o.o config to system-config
This commit adds the policy to configure firehose nodes which will run
mosquitto and a germqtt daemon.

Depends-On: Ibec91fd0abc637ea7087872cab1ec8487c73acae
Depends-On: I24a0cdb6a41f6e440db8e68216b19ca61b4cba31
Change-Id: Ie3be71e16c42c32a9f479da468db6c53ebae52ac
2016-07-27 19:06:09 -04:00