- Remove npm-force-resolutions: no resolution needed anymore and this is modifying package-lock.json every time it is run (striping last empty line).
- Add .npmrc: save exact version by default; do not launch audit report when installing.
Fixes: https://tracker.ceph.com/issues/48005
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
* Controller tests: cherrypy config: authentication disabled by default; ability to pass custom config (e.g. enable authentication).
* Auth controller: add tests; test that unauthorized request fails when authentication is enabled.
* DocsTest: clear ENDPOINT_MAP so the test_gen_tags test becomes deterministic.
* pylint: disable=no-name-in-module: fix imports in tests.
Fixes: https://tracker.ceph.com/issues/53083
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
The `subset` option is important in Teuthology runs for reducing the number of tests that are triggered. This option is outlined in another part of the Teuthology documentation, but I think it's important to place here as well.
Also, -n (for how many times the job will run) is incorrect; it should be -N.
Signed-off-by: Laura Flores <lflores@redhat.com>
I was just going through these steps myself, and I found it difficult to locate and run `run-frontend-e2e-tests.sh`. Specifying the location of it might make it clearer to others where the correct script is located.
Signed-off-by: Laura Flores <lflores@redhat.com>
since we don't support python2 anymore, there is not need to mention or
support python2 when performing tests
Signed-off-by: Kefu Chai <kchai@redhat.com>
Improvements and some adaptations related to the jenkins job.
Fixes: https://tracker.ceph.com/issues/51612
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
In days of yore, the Developer Guide linked to the
IRC page at ceph.io. After the 2021 rewriting of
ceph.io, a new era began, and that page was no
longer easily accessible (it could still be found
at old.ceph.com, but this was deprecated).
Anyway, that IRC information should be included in
the docs. This PR makes sure that the IRC
information is included in the docs.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
This corrects the heinous misspelling described in the
substitution expression in the title. This misspelling is
all the more egregious because it appears in a title, and
therefore would be used to create links if it had not been
caught.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
mgr/dashboard: API Version changes do not apply to pre-defined methods (list, create etc.)
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Methods like list(), create(), get() etc doesn't get applied the version.Also for the endpoints that get the version changed, the docs and the request header has still the version v1.0+ in them. So with the version reduced it gives 415 error when trying to make the request. This PR fixes this issue.
Fixes: https://tracker.ceph.com/issues/50855
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
as we've migrated to python3, no need to use
from __future__ import absolute_import
for accessing absolute import
Signed-off-by: Kefu Chai <kchai@redhat.com>
This PR rewrites the section of the Teuthology
documentation that is about the --interactive-
on-error flag.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
I added "(Teuthology)" to the "Tests: Integration
Tests" link, because that section is all about Teuthology,
but you wouldn't have known it from the text in the link
up to now.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
This PR rewrites the "Analyzing and Debugging a
Teuthology Job" section of the "Debugging Tips"
page of the Teuthology User Guide in the Developer
Guide.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
This commit rewrites the "Reporting the Issue"
section, reflecting my better understanding of the
various tools and parties in play. I also added a
TL;DR-style summary (or argument) paragraph at the
top of the section.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
This commit adds two section headings to the
Debugging section of the Teuthology Guide:
1. Viewing Test Results
2. Identifying Failed Jobs
The text as it stood before seemed to call out for
this explicit sectioning of material, so I've answered
that call.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
This commit simplifes and clarifies the "Triaging
the Cause of Failure" section in the Teuthology
Guide in the Developer Guide.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
This PR rewrites the "Naming the Ceph Branch"
section of the Teuthology docs, improving its
elegance and unburying the ledes.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
s/getting tests results/getting test results/
This commit changes a title so that it is grammatically
correct. The adjective "test" now properly modifies the
noun "results". Another way of thinking of this is that
the complex noun "test results" has had a typo in it
corrected.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
This commit makes one sentence slightly less
ambiguous by designating the location from
which the "ceph fetch" command fetches objects.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
This removes a mention of the ceph-deploy manpage.
We also no longer direct people to use horses as
a primary form of transportation.
Signed-off-by: Zac Dover <zac.dover@gmail.com>