Closed mieseprem closed 3 years ago
Hello, this issue is still present. Does no one use the export_project.sh script to export cronjob configurations?
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten /remove-lifecycle stale
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting /reopen
.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Exclude this issue from closing again by commenting /lifecycle frozen
.
/close
@openshift-bot: Closing this issue.
BUG REPORT INFO
Environment
Cloud provider: private Cloud
OS details (
printf "$(uname -srm)\n$(cat /etc/os-release)\n"
):Linux 5.0.9-200.fc29.x86_64 x86_64 NAME=Fedora VERSION="29 (Workstation Edition)" ID=fedora VERSION_ID=29 VERSION_CODENAME="" PLATFORM_ID="platform:f29" PRETTY_NAME="Fedora 29 (Workstation Edition)" ANSI_COLOR="0;34" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:29" HOME_URL="https://fedoraproject.org/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f29/system-administrators-guide/" SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=29 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=29 PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy" VARIANT="Workstation Edition" VARIANT_ID=workstation
Version of Ansible (
ansible --version
):n/a
Version of Jinja (
pip freeze | grep -i jinja
):n/a
Version of Shade (
pip freeze | grep -i shade
):n/a
The openstack-ansible-contrib version (commit) (
git rev-parse --short HEAD
):d16d2f7
Copy of inventory files and custom variables used (please omit your secrets!):
n/a
Command used to invoke ansible:
n/a
Output of ansible run:
n/a
Anything else do we need to know:
This is abou the script reference-architecture/day2ops/scripts/project_export.sh. Part of the project are cronjob configurations and they include crontab style scheduling configuration (e.g. "1 4 /5 *"). Unfortunately the asterisks will be interpreted by shell interpreter. This led to unusable cronjob files. Each asterisk is replaced by names of all files in current working directory.
The incorrect line in code is:
if [ "$(echo ${BUFFER} | jq '.items | length > 0')" == "false" ]; then
The BUFFER variable needs to be surrounded by '"'.