correctly set X-FORWARDED-PROTO header #1473
Triggered via pull request
February 20, 2025 06:43
Status
Cancelled
Total duration
15m 26s
Artifacts
–
ci.yml
on: pull_request
Puppet
/
Static validations
21s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
1s
Annotations
39 errors and 9 warnings
Puppet / 8 (Ruby 3.2):
spec/classes/pulpcore_spec.rb#L80
pulpcore on almalinux-9-x86_64 default params configures apache
Failure/Error:
is_expected.to contain_apache__vhost('pulpcore')
.with_serveraliases([])
.with_directories([
{
'provider' => 'Directory',
'path' => '/var/lib/pulp/pulpcore_static',
'options' => ['-Indexes', '-FollowSymLinks'],
'allow_override' => ['None'],
},
{
expected that the catalogue would contain Apache::Vhost[pulpcore] with directories set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}] but it is set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}]
Diff:
@@ -1,3 +1,3 @@
{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}
-{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}
+{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}
|
Puppet / 8 (Ruby 3.2):
spec/classes/pulpcore_spec.rb#L326
pulpcore on almalinux-9-x86_64 with external vhosts is expected to contain Apache::Vhost::Fragment[pulpcore-http-pulpcore] with vhost => "foreman", priority => "10" and content supplied string
Failure/Error:
is_expected.to contain_apache__vhost__fragment('pulpcore-http-pulpcore')
.with_vhost('foreman')
.with_priority('10')
.with_content(
<<CONTENT
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
expected that the catalogue would contain Apache::Vhost::Fragment[pulpcore-http-pulpcore] with content set to supplied string
Diff:
@@ -2,6 +2,7 @@
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
+ RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
ProxyPassReverse unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content
</Location>
|
Puppet / 8 (Ruby 3.2):
spec/classes/pulpcore_spec.rb#L343
pulpcore on almalinux-9-x86_64 with external vhosts is expected to contain Apache::Vhost::Fragment[pulpcore-https-pulpcore] with vhost => "foreman-ssl", priority => "10" and content supplied string
Failure/Error:
is_expected.to contain_apache__vhost__fragment('pulpcore-https-pulpcore')
.with_vhost('foreman-ssl')
.with_priority('10')
.with_content(
<<CONTENT
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
expected that the catalogue would contain Apache::Vhost::Fragment[pulpcore-https-pulpcore] with content set to supplied string
Diff:
@@ -2,6 +2,7 @@
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
+ RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
ProxyPassReverse unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content
</Location>
@@ -9,6 +10,7 @@
<Location "/pulp/api/v3">
RequestHeader unset REMOTE-USER
RequestHeader unset REMOTE_USER
+ RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3 timeout=600
ProxyPassReverse unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3
</Location>
|
Puppet / 8 (Ruby 3.2):
spec/classes/pulpcore_spec.rb#L494
pulpcore on almalinux-9-x86_64 with API client auth common names is expected to contain Apache::Vhost[pulpcore-https] with directories => [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}, {"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_headers"=>["unset REMOTE-USER", "unset REMOTE_USER", "set REMOTE-USER \"admin\" \"expr=%{tolower:%{SSL_CLIENT_S_DN_CN}} == 'foreman.example.com'\""]}]
Failure/Error:
is_expected.to contain_apache__vhost('pulpcore-https')
.with_directories([
{
'provider' => 'Directory',
'path' => '/var/lib/pulp/pulpcore_static',
'options' => ['-Indexes', '-FollowSymLinks'],
'allow_override' => ['None'],
},
{
'path' => '/pulp/content',
expected that the catalogue would contain Apache::Vhost[pulpcore-https] with directories set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}, {"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_headers"=>["unset REMOTE-USER", "unset REMOTE_USER", "set REMOTE-USER \"admin\" \"expr=%{tolower:%{SSL_CLIENT_S_DN_CN}} == 'foreman.example.com'\""]}] but it is set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}, {"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_headers"=>["unset REMOTE-USER", "unset REMOTE_USER", "set REMOTE-USER \"admin\" \"expr=%{tolower:%{SSL_CLIENT_S_DN_CN}} == 'foreman.example.com'\"", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}]
Diff:
@@ -1,5 +1,5 @@
{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}
-{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}
+{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}
-{"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_he
|
Puppet / 8 (Ruby 3.2):
spec/classes/pulpcore_spec.rb#L80
pulpcore on centos-9-x86_64 default params configures apache
Failure/Error:
is_expected.to contain_apache__vhost('pulpcore')
.with_serveraliases([])
.with_directories([
{
'provider' => 'Directory',
'path' => '/var/lib/pulp/pulpcore_static',
'options' => ['-Indexes', '-FollowSymLinks'],
'allow_override' => ['None'],
},
{
expected that the catalogue would contain Apache::Vhost[pulpcore] with directories set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}] but it is set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}]
Diff:
@@ -1,3 +1,3 @@
{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}
-{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}
+{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}
|
Puppet / 8 (Ruby 3.2):
spec/classes/pulpcore_spec.rb#L326
pulpcore on centos-9-x86_64 with external vhosts is expected to contain Apache::Vhost::Fragment[pulpcore-http-pulpcore] with vhost => "foreman", priority => "10" and content supplied string
Failure/Error:
is_expected.to contain_apache__vhost__fragment('pulpcore-http-pulpcore')
.with_vhost('foreman')
.with_priority('10')
.with_content(
<<CONTENT
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
expected that the catalogue would contain Apache::Vhost::Fragment[pulpcore-http-pulpcore] with content set to supplied string
Diff:
@@ -2,6 +2,7 @@
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
+ RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
ProxyPassReverse unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content
</Location>
|
Puppet / 8 (Ruby 3.2):
spec/classes/pulpcore_spec.rb#L343
pulpcore on centos-9-x86_64 with external vhosts is expected to contain Apache::Vhost::Fragment[pulpcore-https-pulpcore] with vhost => "foreman-ssl", priority => "10" and content supplied string
Failure/Error:
is_expected.to contain_apache__vhost__fragment('pulpcore-https-pulpcore')
.with_vhost('foreman-ssl')
.with_priority('10')
.with_content(
<<CONTENT
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
expected that the catalogue would contain Apache::Vhost::Fragment[pulpcore-https-pulpcore] with content set to supplied string
Diff:
@@ -2,6 +2,7 @@
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
+ RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
ProxyPassReverse unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content
</Location>
@@ -9,6 +10,7 @@
<Location "/pulp/api/v3">
RequestHeader unset REMOTE-USER
RequestHeader unset REMOTE_USER
+ RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3 timeout=600
ProxyPassReverse unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3
</Location>
|
Puppet / 8 (Ruby 3.2):
spec/classes/pulpcore_spec.rb#L494
pulpcore on centos-9-x86_64 with API client auth common names is expected to contain Apache::Vhost[pulpcore-https] with directories => [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}, {"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_headers"=>["unset REMOTE-USER", "unset REMOTE_USER", "set REMOTE-USER \"admin\" \"expr=%{tolower:%{SSL_CLIENT_S_DN_CN}} == 'foreman.example.com'\""]}]
Failure/Error:
is_expected.to contain_apache__vhost('pulpcore-https')
.with_directories([
{
'provider' => 'Directory',
'path' => '/var/lib/pulp/pulpcore_static',
'options' => ['-Indexes', '-FollowSymLinks'],
'allow_override' => ['None'],
},
{
'path' => '/pulp/content',
expected that the catalogue would contain Apache::Vhost[pulpcore-https] with directories set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}, {"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_headers"=>["unset REMOTE-USER", "unset REMOTE_USER", "set REMOTE-USER \"admin\" \"expr=%{tolower:%{SSL_CLIENT_S_DN_CN}} == 'foreman.example.com'\""]}] but it is set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}, {"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_headers"=>["unset REMOTE-USER", "unset REMOTE_USER", "set REMOTE-USER \"admin\" \"expr=%{tolower:%{SSL_CLIENT_S_DN_CN}} == 'foreman.example.com'\"", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}]
Diff:
@@ -1,5 +1,5 @@
{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}
-{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}
+{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}
-{"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_heade
|
Puppet / 8 (Ruby 3.2):
spec/classes/pulpcore_spec.rb#L80
pulpcore on redhat-9-x86_64 default params configures apache
Failure/Error:
is_expected.to contain_apache__vhost('pulpcore')
.with_serveraliases([])
.with_directories([
{
'provider' => 'Directory',
'path' => '/var/lib/pulp/pulpcore_static',
'options' => ['-Indexes', '-FollowSymLinks'],
'allow_override' => ['None'],
},
{
expected that the catalogue would contain Apache::Vhost[pulpcore] with directories set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}] but it is set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}]
Diff:
@@ -1,3 +1,3 @@
{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}
-{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}
+{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}
|
Puppet / 8 (Ruby 3.2):
spec/classes/pulpcore_spec.rb#L326
pulpcore on redhat-9-x86_64 with external vhosts is expected to contain Apache::Vhost::Fragment[pulpcore-http-pulpcore] with vhost => "foreman", priority => "10" and content supplied string
Failure/Error:
is_expected.to contain_apache__vhost__fragment('pulpcore-http-pulpcore')
.with_vhost('foreman')
.with_priority('10')
.with_content(
<<CONTENT
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
expected that the catalogue would contain Apache::Vhost::Fragment[pulpcore-http-pulpcore] with content set to supplied string
Diff:
@@ -2,6 +2,7 @@
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
+ RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
ProxyPassReverse unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content
</Location>
|
Puppet / 7 (Ruby 2.7):
spec/classes/pulpcore_spec.rb#L80
pulpcore on centos-9-x86_64 default params configures apache
Failure/Error:
is_expected.to contain_apache__vhost('pulpcore')
.with_serveraliases([])
.with_directories([
{
'provider' => 'Directory',
'path' => '/var/lib/pulp/pulpcore_static',
'options' => ['-Indexes', '-FollowSymLinks'],
'allow_override' => ['None'],
},
{
expected that the catalogue would contain Apache::Vhost[pulpcore] with directories set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}] but it is set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}]
Diff:
@@ -1,3 +1,3 @@
{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}
-{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}
+{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}
|
Puppet / 7 (Ruby 2.7):
spec/classes/pulpcore_spec.rb#L326
pulpcore on centos-9-x86_64 with external vhosts is expected to contain Apache::Vhost::Fragment[pulpcore-http-pulpcore] with vhost => "foreman", priority => "10" and content supplied string
Failure/Error:
is_expected.to contain_apache__vhost__fragment('pulpcore-http-pulpcore')
.with_vhost('foreman')
.with_priority('10')
.with_content(
<<CONTENT
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
expected that the catalogue would contain Apache::Vhost::Fragment[pulpcore-http-pulpcore] with content set to supplied string
Diff:
@@ -2,6 +2,7 @@
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
+ RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
ProxyPassReverse unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content
</Location>
|
Puppet / 7 (Ruby 2.7):
spec/classes/pulpcore_spec.rb#L343
pulpcore on centos-9-x86_64 with external vhosts is expected to contain Apache::Vhost::Fragment[pulpcore-https-pulpcore] with vhost => "foreman-ssl", priority => "10" and content supplied string
Failure/Error:
is_expected.to contain_apache__vhost__fragment('pulpcore-https-pulpcore')
.with_vhost('foreman-ssl')
.with_priority('10')
.with_content(
<<CONTENT
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
expected that the catalogue would contain Apache::Vhost::Fragment[pulpcore-https-pulpcore] with content set to supplied string
Diff:
@@ -2,6 +2,7 @@
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
+ RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
ProxyPassReverse unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content
</Location>
@@ -9,6 +10,7 @@
<Location "/pulp/api/v3">
RequestHeader unset REMOTE-USER
RequestHeader unset REMOTE_USER
+ RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3 timeout=600
ProxyPassReverse unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3
</Location>
|
Puppet / 7 (Ruby 2.7):
spec/classes/pulpcore_spec.rb#L494
pulpcore on centos-9-x86_64 with API client auth common names is expected to contain Apache::Vhost[pulpcore-https] with directories => [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}, {"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_headers"=>["unset REMOTE-USER", "unset REMOTE_USER", "set REMOTE-USER \"admin\" \"expr=%{tolower:%{SSL_CLIENT_S_DN_CN}} == 'foreman.example.com'\""]}]
Failure/Error:
is_expected.to contain_apache__vhost('pulpcore-https')
.with_directories([
{
'provider' => 'Directory',
'path' => '/var/lib/pulp/pulpcore_static',
'options' => ['-Indexes', '-FollowSymLinks'],
'allow_override' => ['None'],
},
{
'path' => '/pulp/content',
expected that the catalogue would contain Apache::Vhost[pulpcore-https] with directories set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}, {"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_headers"=>["unset REMOTE-USER", "unset REMOTE_USER", "set REMOTE-USER \"admin\" \"expr=%{tolower:%{SSL_CLIENT_S_DN_CN}} == 'foreman.example.com'\""]}] but it is set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}, {"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_headers"=>["unset REMOTE-USER", "unset REMOTE_USER", "set REMOTE-USER \"admin\" \"expr=%{tolower:%{SSL_CLIENT_S_DN_CN}} == 'foreman.example.com'\"", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}]
Diff:
@@ -1,5 +1,5 @@
{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}
-{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}
+{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}
-{"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_heade
|
Puppet / 7 (Ruby 2.7):
spec/classes/pulpcore_spec.rb#L80
pulpcore on redhat-9-x86_64 default params configures apache
Failure/Error:
is_expected.to contain_apache__vhost('pulpcore')
.with_serveraliases([])
.with_directories([
{
'provider' => 'Directory',
'path' => '/var/lib/pulp/pulpcore_static',
'options' => ['-Indexes', '-FollowSymLinks'],
'allow_override' => ['None'],
},
{
expected that the catalogue would contain Apache::Vhost[pulpcore] with directories set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}] but it is set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}]
Diff:
@@ -1,3 +1,3 @@
{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}
-{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}
+{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}
|
Puppet / 7 (Ruby 2.7):
spec/classes/pulpcore_spec.rb#L326
pulpcore on redhat-9-x86_64 with external vhosts is expected to contain Apache::Vhost::Fragment[pulpcore-http-pulpcore] with vhost => "foreman", priority => "10" and content supplied string
Failure/Error:
is_expected.to contain_apache__vhost__fragment('pulpcore-http-pulpcore')
.with_vhost('foreman')
.with_priority('10')
.with_content(
<<CONTENT
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
expected that the catalogue would contain Apache::Vhost::Fragment[pulpcore-http-pulpcore] with content set to supplied string
Diff:
@@ -2,6 +2,7 @@
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
+ RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
ProxyPassReverse unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content
</Location>
|
Puppet / 7 (Ruby 2.7):
spec/classes/pulpcore_spec.rb#L343
pulpcore on redhat-9-x86_64 with external vhosts is expected to contain Apache::Vhost::Fragment[pulpcore-https-pulpcore] with vhost => "foreman-ssl", priority => "10" and content supplied string
Failure/Error:
is_expected.to contain_apache__vhost__fragment('pulpcore-https-pulpcore')
.with_vhost('foreman-ssl')
.with_priority('10')
.with_content(
<<CONTENT
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
expected that the catalogue would contain Apache::Vhost::Fragment[pulpcore-https-pulpcore] with content set to supplied string
Diff:
@@ -2,6 +2,7 @@
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
+ RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
ProxyPassReverse unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content
</Location>
@@ -9,6 +10,7 @@
<Location "/pulp/api/v3">
RequestHeader unset REMOTE-USER
RequestHeader unset REMOTE_USER
+ RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3 timeout=600
ProxyPassReverse unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3
</Location>
|
Puppet / 7 (Ruby 2.7):
spec/classes/pulpcore_spec.rb#L494
pulpcore on redhat-9-x86_64 with API client auth common names is expected to contain Apache::Vhost[pulpcore-https] with directories => [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}, {"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_headers"=>["unset REMOTE-USER", "unset REMOTE_USER", "set REMOTE-USER \"admin\" \"expr=%{tolower:%{SSL_CLIENT_S_DN_CN}} == 'foreman.example.com'\""]}]
Failure/Error:
is_expected.to contain_apache__vhost('pulpcore-https')
.with_directories([
{
'provider' => 'Directory',
'path' => '/var/lib/pulp/pulpcore_static',
'options' => ['-Indexes', '-FollowSymLinks'],
'allow_override' => ['None'],
},
{
'path' => '/pulp/content',
expected that the catalogue would contain Apache::Vhost[pulpcore-https] with directories set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}, {"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_headers"=>["unset REMOTE-USER", "unset REMOTE_USER", "set REMOTE-USER \"admin\" \"expr=%{tolower:%{SSL_CLIENT_S_DN_CN}} == 'foreman.example.com'\""]}] but it is set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}, {"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_headers"=>["unset REMOTE-USER", "unset REMOTE_USER", "set REMOTE-USER \"admin\" \"expr=%{tolower:%{SSL_CLIENT_S_DN_CN}} == 'foreman.example.com'\"", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}]
Diff:
@@ -1,5 +1,5 @@
{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}
-{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}
+{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}
-{"path"=>"/pulp/api/v3", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-api.sock|http://pulpcore-api/pulp/api/v3", "params"=>{"timeout"=>"600"}}], "request_heade
|
Puppet / 7 (Ruby 2.7):
spec/classes/pulpcore_spec.rb#L80
pulpcore on almalinux-9-x86_64 default params configures apache
Failure/Error:
is_expected.to contain_apache__vhost('pulpcore')
.with_serveraliases([])
.with_directories([
{
'provider' => 'Directory',
'path' => '/var/lib/pulp/pulpcore_static',
'options' => ['-Indexes', '-FollowSymLinks'],
'allow_override' => ['None'],
},
{
expected that the catalogue would contain Apache::Vhost[pulpcore] with directories set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}] but it is set to [{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}, {"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}]
Diff:
@@ -1,3 +1,3 @@
{"provider"=>"Directory", "path"=>"/var/lib/pulp/pulpcore_static", "options"=>["-Indexes", "-FollowSymLinks"], "allow_override"=>["None"]}
-{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT"]}
+{"path"=>"/pulp/content", "provider"=>"location", "proxy_pass"=>[{"url"=>"unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content", "params"=>{"timeout"=>"600", "disablereuse"=>"on"}}], "request_headers"=>["unset X-CLIENT-CERT", "set X-CLIENT-CERT \"%{SSL_CLIENT_CERT}s\" env=SSL_CLIENT_CERT", "set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}"]}
|
Puppet / 7 (Ruby 2.7):
spec/classes/pulpcore_spec.rb#L326
pulpcore on almalinux-9-x86_64 with external vhosts is expected to contain Apache::Vhost::Fragment[pulpcore-http-pulpcore] with vhost => "foreman", priority => "10" and content supplied string
Failure/Error:
is_expected.to contain_apache__vhost__fragment('pulpcore-http-pulpcore')
.with_vhost('foreman')
.with_priority('10')
.with_content(
<<CONTENT
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
expected that the catalogue would contain Apache::Vhost::Fragment[pulpcore-http-pulpcore] with content set to supplied string
Diff:
@@ -2,6 +2,7 @@
<Location "/pulp/content">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
+ RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content disablereuse=on timeout=600
ProxyPassReverse unix:///run/pulpcore-content.sock|http://pulpcore-content/pulp/content
</Location>
|
Puppet / Puppet 7 - CentOS 9 - Pulp 3.63
Canceling since a higher priority waiting request for '376/merge' exists
|
Puppet / Puppet 7 - CentOS 9 - Pulp 3.63
The operation was canceled.
|
Puppet / Puppet 8 - CentOS 9 - Pulp nightly
Canceling since a higher priority waiting request for '376/merge' exists
|
Puppet / Puppet 8 - CentOS 9 - Pulp nightly
The operation was canceled.
|
Puppet / Puppet 8 - AlmaLinux 9 - Pulp 3.63
Canceling since a higher priority waiting request for '376/merge' exists
|
Puppet / Puppet 8 - AlmaLinux 9 - Pulp 3.63
The operation was canceled.
|
Puppet / Puppet 7 - CentOS 9 - Pulp nightly
Canceling since a higher priority waiting request for '376/merge' exists
|
Puppet / Puppet 7 - CentOS 9 - Pulp nightly
The operation was canceled.
|
Puppet / Puppet 7 - CentOS 9 - Pulp 3.49
Canceling since a higher priority waiting request for '376/merge' exists
|
Puppet / Puppet 7 - CentOS 9 - Pulp 3.49
The operation was canceled.
|
Puppet / Puppet 7 - AlmaLinux 9 - Pulp 3.49
Canceling since a higher priority waiting request for '376/merge' exists
|
Puppet / Puppet 7 - AlmaLinux 9 - Pulp 3.49
The operation was canceled.
|
Puppet / Puppet 8 - CentOS 9 - Pulp 3.63
Canceling since a higher priority waiting request for '376/merge' exists
|
Puppet / Puppet 8 - CentOS 9 - Pulp 3.63
The operation was canceled.
|
Puppet / Puppet 8 - AlmaLinux 9 - Pulp 3.49
Canceling since a higher priority waiting request for '376/merge' exists
|
Puppet / Puppet 8 - AlmaLinux 9 - Pulp 3.49
The operation was canceled.
|
Puppet / Puppet 8 - CentOS 9 - Pulp 3.49
Canceling since a higher priority waiting request for '376/merge' exists
|
Puppet / Puppet 8 - CentOS 9 - Pulp 3.49
The operation was canceled.
|
Puppet / Test suite
Process completed with exit code 1.
|
Puppet / Puppet 7 - AlmaLinux 9 - Pulp 3.63
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Puppet / Puppet 7 - AlmaLinux 9 - Pulp 3.63
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Puppet / Puppet 7 - AlmaLinux 9 - Pulp nightly
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Puppet / Puppet 8 - AlmaLinux 9 - Pulp nightly
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Puppet / Puppet 7 - CentOS 9 - Pulp 3.63
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Puppet / Puppet 7 - CentOS 9 - Pulp 3.49
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Puppet / Puppet 7 - AlmaLinux 9 - Pulp 3.49
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Puppet / Puppet 8 - CentOS 9 - Pulp 3.63
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Puppet / Puppet 8 - AlmaLinux 9 - Pulp 3.49
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|