S3 and Proxy

13 views
Skip to first unread message

Xavier Humbert

unread,
May 9, 2022, 2:37:41 AM5/9/22
to rundeck-discuss
Hi,

I'm validating rundeck-s3-log-plugin, but facing a proxy problem, I
cannot find the configuration option for that.
Relevant part of framework.properties :

> # ----------------------------------------------------------------
> # S3 Storage
> # ----------------------------------------------------------------
> framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.AWSCredentialsFile
> = /etc/rundeck/.aws/credentials
> framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.bucket =
> rundeck
> framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.path =
> logs/${job.project}/${job.execid}.log
> framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.host_base
> = storagegrid.education.fr
> framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.endpoint =
> storagegrid.education.fr
> framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.pathStyle
> = True
Cheers

Xavier

--
Xavier Humbert
CRT Supervision et Exploitation de Niveau 1
Rectorat de Nancy-Metz
03 83 86 27 39

OpenPGP_0x90B78A89BCC49C10.asc
OpenPGP_signature

rac...@rundeck.com

unread,
May 9, 2022, 10:31:49 AM5/9/22
to rundeck-discuss

Hi Xavier,

What kind of problem are you seeing? I can’t see framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.host_base as a valid config, take a look.

Also, the endpoint needs a URL base value, like: http://192.168.1.14:9000 (in my example test Minio env).

I left my full Minio test config to compare :)

rundeck-config.properties file:

rundeck.execution.logs.fileStoragePlugin=org.rundeck.amazon-s3

framework.properties file:

framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.endpoint=http://192.168.1.33:9000
framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.AWSAccessKeyId=minioadmin
framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.AWSSecretKey=minioadmin
framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.bucket=test-rundeck-logs
framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.path=logs/${job.project}/${job.execid}.log

Regards.

Chris Grigor

unread,
May 9, 2022, 4:59:40 PM5/9/22
to rundeck...@googlegroups.com
I think he is trying to connect to s3 using the plugin via a proxy?? 

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/a75aba22-547b-49c6-8289-f1d52a48cfbdn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages