Skip to content

Comments

[AIRFLOW-654] Add SSL Config Option for CeleryExecutor w/ RabbitMQ#2333

Closed
forsberg wants to merge 1 commit intoapache:masterfrom
forsberg:ssl_amqp
Closed

[AIRFLOW-654] Add SSL Config Option for CeleryExecutor w/ RabbitMQ#2333
forsberg wants to merge 1 commit intoapache:masterfrom
forsberg:ssl_amqp

Conversation

@forsberg
Copy link

  • Add BROKER_USE_SSL config to give option to send AMQP messages over SSL
  • Can be set using usual airflow options (e.g. airflow.cfg, env vars, etc.)

Dear Airflow maintainers,

This is a rebase + squash of #1905. I will now wait for the landscape build (as the previous one seems to have purged), then try to fix the landscape issues.

- Add BROKER_USE_SSL config to give option to send AMQP messages over SSL
- Can be set using usual airflow options (e.g. airflow.cfg, env vars, etc.)
@mention-bot
Copy link

@forsberg, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bolkedebruin, @mistercrunch and @dhuang to be potential reviewers.

@forsberg
Copy link
Author

And apparently there are no longer any landscape builds, so now I'm lost into what needs to be fixed? :-(

@asfgit asfgit closed this in 868bfe4 Jun 1, 2017
alekstorm pushed a commit to alekstorm/incubator-airflow that referenced this pull request Jun 1, 2017
- Add BROKER_USE_SSL config to give option to send AMQP messages over SSL
- Can be set using usual airflow options (e.g. airflow.cfg, env vars, etc.)

Closes apache#2333 from forsberg/ssl_amqp
@ashb
Copy link
Member

ashb commented Jun 6, 2017

Isn't this going to break if the config doesn't define CELERY_SSL_ACTIVE at all? (i.e. it'll raise a AirflowConfigException if the key isn't there)

Should there be a change to the default generated config to add CELERY_SSL_ACTIVE = False?

And also there's configuration.getboolean that should be used I think.

Edit: Someone has already opened a PR to fix this - #2341

stverhae pushed a commit to stverhae/incubator-airflow that referenced this pull request Jun 6, 2017
- Add BROKER_USE_SSL config to give option to send AMQP messages over SSL
- Can be set using usual airflow options (e.g. airflow.cfg, env vars, etc.)

Closes apache#2333 from forsberg/ssl_amqp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants