Majic Projects
Majic Ansible Roles
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png Majic Ansible Roles / Closed Bug report MAR-166 Incorrect destination for pip requirements upgrade check configuration file when using Python 3 in wsgi_website role
Go to the next issue (open or closed)
Go to the next open issue
There are no more issues in that direction.
This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Bug report
  • Category
    General
  • Targetted for
    5.0.0
  • Status
    Closed
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    1 hour
  • Time spent
    30 minutes
    Click here to see time logged against this issue
Issue details
  • Resolution
    RESOLVED
  • Reproducability
    Always
  • Severity
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description

When using the wsgi_website role with Python 3 (via the python_version parameter), the role is meant to deploy files used for performing pip requirements upgrade checks under /etc/pip_check_requirements_upgrades-py3/FQDN/wsgi_requirements.in and /etc/pip_check_requirements_upgrades-py3/FQDN/wsgi_requirements.txt.

However, this is currently not the case, and the role will place the files instead under path used for performing upgrade checks for Python 2 instead, under /etc/pip_check_requirements_upgrades/FQDN/wsgi_requirements.in and /etc/pip_check_requirements_upgrades/FQDN/wsgi_requirements.txt.

The following should be done:

  • Update the wsgi_website role.
    • Use Python 3-specific path for deploying the files.
  • Update release notes.
Steps to reproduce this issue

Reproduction steps:

  1. Use wsgi_website role to deploy a WSGI website, setting the python_version parameter to 3 and fqdn to testwebsite.

  2. List the content of dedicated directory used for pip requirements upgrade checks for deployed website:

    sudo ls /etc/pip_check_requirements_upgrades-py3/testwebsite/

Expected results:

  1. The file listing includes files wsgi_requirements.in and wsgi_requirements.txt.

Actual results:

  1. An error is reported that no such file or directory exists.
Todos (0 / 0)
There are no comments