Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

result file should follow rhcert naming convention #11

Open
goneri opened this issue Jan 16, 2018 · 1 comment
Open

result file should follow rhcert naming convention #11

goneri opened this issue Jan 16, 2018 · 1 comment

Comments

@goneri
Copy link
Member

goneri commented Jan 16, 2018

RHCert-UI will refuse any file that does not match their naming convention: ^rhcert-results-(?P<hostname>.+)-(?P<date>[0-9]+)\.xml(.gz)?$

Quoting Anshul:

         There is an ansible job[1] in playbook that is compressing the results.xml
         to gz format, this can be done via #rhcert-cli save command, save command
         will then save the file in required format and then you can download the
         same file (location in the output of command) to the required system.

         I am attaching a sample output of the same command below.

         [root@hp-dl60g9-1 ~]# rhcert-cli save
         Saving current results to:
         /var/www/rhcert/store/HP/ProLiant/ProLiant DL60
         Gen9/x86_64/RHEL/7.4/rhcert-results-hp-dl60g9-1.gsslab.pnq.redhat.com-20180112090115.xml.gz
         Saving to server 10.10.85.40
         sending file /var/www/rhcert/store/HP/ProLiant/ProLiant DL60
         Gen9/x86_64/RHEL/7.4/rhcert-results-hp-dl60g9-1.gsslab.pnq.redhat.com-20180112090115.xml.gz
         response:
         Saving File From IP: 10.65.200.175
         To:
         /certification/openstack/31095/hp-dl60g9-1.gsslab.pnq.redhat.com/2018-01-12
         09:01:14/assign
         Upload took 1.21 seconds, 0.05 MB/sec

         Highlighted line has the location of the file in correct format on the
         system under test, your playbooks can be changed accordingly.
         Let me know if you need more information
@goneri
Copy link
Member Author

goneri commented Jan 29, 2018

The issue on the redhat-certification BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1539927

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

No branches or pull requests

1 participant