Hi!
I'm seeing the following issue with lavasoftware/lava-server:2019.04:
http://localhost/static/docs/v2/ gives "Forbidden". Apache log shows the following:
[Mon May 06 17:57:42.206713 2019] [autoindex:error] [pid 766:tid 140404225701632] [client 172.18.0.1:46780] AH01276: Cannot serve directory /usr/share/lava-server/static/docs/v2/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: http://localhost/
The easiest way to reproduce is to run:
$ docker run --rm -p 80:80 -it lavasoftware/lava-server:2019.04
And load http://localhost/static/docs/v2/
Change 2019.04 to 2019.03 and it works fine.
I didn't see anything about this mentioned in the release announcement. I guess the apache config needs some update?
Thanks! Dan
Hello Dan,
thanks for reporting this issue.
After a short investigation: * in the lava-server docker container, /usr/share/doc/lava-server-doc/html/v2 is empty while it should contain the documentation (docker run --rm -it lavasoftware/lava-server:2019.04 ls /usr/share/doc/lava-server-doc/html/v2) * the lava-server-doc debian package is providing the documentation (as it should), see https://staging.validation.linaro.org/static/docs/v2/
So something in the docker build process.
I'm investigating.
Cheers
Le lun. 6 mai 2019 à 20:07, Dan Rue dan.rue@linaro.org a écrit :
Hi!
I'm seeing the following issue with lavasoftware/lava-server:2019.04:
http://localhost/static/docs/v2/ gives "Forbidden". Apache log shows the following:
[Mon May 06 17:57:42.206713 2019] [autoindex:error] [pid 766:tid 140404225701632] [client 172.18.0.1:46780] AH01276: Cannot serve directory /usr/share/lava-server/static/docs/v2/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: http://localhost/
The easiest way to reproduce is to run:
$ docker run --rm -p 80:80 -it lavasoftware/lava-server:2019.04
And load http://localhost/static/docs/v2/
Change 2019.04 to 2019.03 and it works fine.
I didn't see anything about this mentioned in the release announcement. I guess the apache config needs some update?
Thanks! Dan
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Hello,
I found the issue and the patch is: https://git.lavasoftware.org/lava/pkg/docker/merge_requests/35
The 2019.04 images are now built using the slim debian variant (see https://git.lavasoftware.org/lava/pkg/docker/commit/137535357f85e8a2784c1631... ). But in debian slim variant, dpkg is configured (by /etc/dpkg/dpkg.cfg.d/docker) to exclude /usr/share/doc/* (except copyright files).
So we are now patching this file on the fly to allow /usr/share/doc/lava-server-doc/html/v2.
Once the patch is merged and the base image rebuilt, I will rebuild the lava-server 2019.04 docker images and repush.
Thanks for reporting.
Le mar. 7 mai 2019 à 08:26, Remi Duraffort remi.duraffort@linaro.org a écrit :
Hello Dan,
thanks for reporting this issue.
After a short investigation:
- in the lava-server docker container,
/usr/share/doc/lava-server-doc/html/v2 is empty while it should contain the documentation (docker run --rm -it lavasoftware/lava-server:2019.04 ls /usr/share/doc/lava-server-doc/html/v2)
- the lava-server-doc debian package is providing the documentation (as it
should), see https://staging.validation.linaro.org/static/docs/v2/
So something in the docker build process.
I'm investigating.
Cheers
Le lun. 6 mai 2019 à 20:07, Dan Rue dan.rue@linaro.org a écrit :
Hi!
I'm seeing the following issue with lavasoftware/lava-server:2019.04:
http://localhost/static/docs/v2/ gives "Forbidden". Apache log shows the following:
[Mon May 06 17:57:42.206713 2019] [autoindex:error] [pid 766:tid 140404225701632] [client 172.18.0.1:46780] AH01276: Cannot serve directory /usr/share/lava-server/static/docs/v2/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: http://localhost/
The easiest way to reproduce is to run:
$ docker run --rm -p 80:80 -it lavasoftware/lava-server:2019.04
And load http://localhost/static/docs/v2/
Change 2019.04 to 2019.03 and it works fine.
I didn't see anything about this mentioned in the release announcement. I guess the apache config needs some update?
Thanks! Dan
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Team, Linaro
I just created an issue to add a way to test that we are not breaking the doc in the future: https://git.lavasoftware.org/lava/meta-lava/issues/7
Le mar. 7 mai 2019 à 11:03, Remi Duraffort remi.duraffort@linaro.org a écrit :
Hello,
I found the issue and the patch is: https://git.lavasoftware.org/lava/pkg/docker/merge_requests/35
The 2019.04 images are now built using the slim debian variant (see https://git.lavasoftware.org/lava/pkg/docker/commit/137535357f85e8a2784c1631... ). But in debian slim variant, dpkg is configured (by /etc/dpkg/dpkg.cfg.d/docker) to exclude /usr/share/doc/* (except copyright files).
So we are now patching this file on the fly to allow /usr/share/doc/lava-server-doc/html/v2.
Once the patch is merged and the base image rebuilt, I will rebuild the lava-server 2019.04 docker images and repush.
Thanks for reporting.
Le mar. 7 mai 2019 à 08:26, Remi Duraffort remi.duraffort@linaro.org a écrit :
Hello Dan,
thanks for reporting this issue.
After a short investigation:
- in the lava-server docker container,
/usr/share/doc/lava-server-doc/html/v2 is empty while it should contain the documentation (docker run --rm -it lavasoftware/lava-server:2019.04 ls /usr/share/doc/lava-server-doc/html/v2)
- the lava-server-doc debian package is providing the documentation (as
it should), see https://staging.validation.linaro.org/static/docs/v2/
So something in the docker build process.
I'm investigating.
Cheers
Le lun. 6 mai 2019 à 20:07, Dan Rue dan.rue@linaro.org a écrit :
Hi!
I'm seeing the following issue with lavasoftware/lava-server:2019.04:
http://localhost/static/docs/v2/ gives "Forbidden". Apache log shows the following:
[Mon May 06 17:57:42.206713 2019] [autoindex:error] [pid 766:tid 140404225701632] [client 172.18.0.1:46780] AH01276: Cannot serve directory /usr/share/lava-server/static/docs/v2/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: http://localhost/
The easiest way to reproduce is to run:
$ docker run --rm -p 80:80 -it lavasoftware/lava-server:2019.04
And load http://localhost/static/docs/v2/
Change 2019.04 to 2019.03 and it works fine.
I didn't see anything about this mentioned in the release announcement. I guess the apache config needs some update?
Thanks! Dan
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Team, Linaro
-- Rémi Duraffort LAVA Team, Linaro
The lava-server images on docker hub has been upgraded.
The issue should be closed now.
Le mar. 7 mai 2019 à 11:20, Remi Duraffort remi.duraffort@linaro.org a écrit :
I just created an issue to add a way to test that we are not breaking the doc in the future: https://git.lavasoftware.org/lava/meta-lava/issues/7
Le mar. 7 mai 2019 à 11:03, Remi Duraffort remi.duraffort@linaro.org a écrit :
Hello,
I found the issue and the patch is: https://git.lavasoftware.org/lava/pkg/docker/merge_requests/35
The 2019.04 images are now built using the slim debian variant (see https://git.lavasoftware.org/lava/pkg/docker/commit/137535357f85e8a2784c1631... ). But in debian slim variant, dpkg is configured (by /etc/dpkg/dpkg.cfg.d/docker) to exclude /usr/share/doc/* (except copyright files).
So we are now patching this file on the fly to allow /usr/share/doc/lava-server-doc/html/v2.
Once the patch is merged and the base image rebuilt, I will rebuild the lava-server 2019.04 docker images and repush.
Thanks for reporting.
Le mar. 7 mai 2019 à 08:26, Remi Duraffort remi.duraffort@linaro.org a écrit :
Hello Dan,
thanks for reporting this issue.
After a short investigation:
- in the lava-server docker container,
/usr/share/doc/lava-server-doc/html/v2 is empty while it should contain the documentation (docker run --rm -it lavasoftware/lava-server:2019.04 ls /usr/share/doc/lava-server-doc/html/v2)
- the lava-server-doc debian package is providing the documentation (as
it should), see https://staging.validation.linaro.org/static/docs/v2/
So something in the docker build process.
I'm investigating.
Cheers
Le lun. 6 mai 2019 à 20:07, Dan Rue dan.rue@linaro.org a écrit :
Hi!
I'm seeing the following issue with lavasoftware/lava-server:2019.04:
http://localhost/static/docs/v2/ gives "Forbidden". Apache log shows the following:
[Mon May 06 17:57:42.206713 2019] [autoindex:error] [pid 766:tid 140404225701632] [client 172.18.0.1:46780] AH01276: Cannot serve directory /usr/share/lava-server/static/docs/v2/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: http://localhost/
The easiest way to reproduce is to run:
$ docker run --rm -p 80:80 -it lavasoftware/lava-server:2019.04
And load http://localhost/static/docs/v2/
Change 2019.04 to 2019.03 and it works fine.
I didn't see anything about this mentioned in the release announcement. I guess the apache config needs some update?
Thanks! Dan
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Team, Linaro
-- Rémi Duraffort LAVA Team, Linaro
-- Rémi Duraffort LAVA Team, Linaro
On Tue, May 07, 2019 at 12:08:57PM +0200, Remi Duraffort wrote:
The lava-server images on docker hub has been upgraded.
The issue should be closed now.
Thanks for fixing so quickly! I had to do an explicit 'docker pull lavasoftware/lava-server:2019.04' to get the updated image, and then the issue is resolved for me. I wonder about republishing a tagged image - I guess in this case it makes sense.
Dan
Le mar. 7 mai 2019 à 11:20, Remi Duraffort remi.duraffort@linaro.org a écrit :
I just created an issue to add a way to test that we are not breaking the doc in the future: https://git.lavasoftware.org/lava/meta-lava/issues/7
Le mar. 7 mai 2019 à 11:03, Remi Duraffort remi.duraffort@linaro.org a écrit :
Hello,
I found the issue and the patch is: https://git.lavasoftware.org/lava/pkg/docker/merge_requests/35
The 2019.04 images are now built using the slim debian variant (see https://git.lavasoftware.org/lava/pkg/docker/commit/137535357f85e8a2784c1631... ). But in debian slim variant, dpkg is configured (by /etc/dpkg/dpkg.cfg.d/docker) to exclude /usr/share/doc/* (except copyright files).
So we are now patching this file on the fly to allow /usr/share/doc/lava-server-doc/html/v2.
Once the patch is merged and the base image rebuilt, I will rebuild the lava-server 2019.04 docker images and repush.
Thanks for reporting.
Le mar. 7 mai 2019 à 08:26, Remi Duraffort remi.duraffort@linaro.org a écrit :
Hello Dan,
thanks for reporting this issue.
After a short investigation:
- in the lava-server docker container,
/usr/share/doc/lava-server-doc/html/v2 is empty while it should contain the documentation (docker run --rm -it lavasoftware/lava-server:2019.04 ls /usr/share/doc/lava-server-doc/html/v2)
- the lava-server-doc debian package is providing the documentation (as
it should), see https://staging.validation.linaro.org/static/docs/v2/
So something in the docker build process.
I'm investigating.
Cheers
Le lun. 6 mai 2019 à 20:07, Dan Rue dan.rue@linaro.org a écrit :
Hi!
I'm seeing the following issue with lavasoftware/lava-server:2019.04:
http://localhost/static/docs/v2/ gives "Forbidden". Apache log shows the following:
[Mon May 06 17:57:42.206713 2019] [autoindex:error] [pid 766:tid 140404225701632] [client 172.18.0.1:46780] AH01276: Cannot serve directory /usr/share/lava-server/static/docs/v2/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: http://localhost/
The easiest way to reproduce is to run:
$ docker run --rm -p 80:80 -it lavasoftware/lava-server:2019.04
And load http://localhost/static/docs/v2/
Change 2019.04 to 2019.03 and it works fine.
I didn't see anything about this mentioned in the release announcement. I guess the apache config needs some update?
Thanks! Dan
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Team, Linaro
-- Rémi Duraffort LAVA Team, Linaro
-- Rémi Duraffort LAVA Team, Linaro
-- Rémi Duraffort LAVA Team, Linaro
lava-users@lists.lavasoftware.org