Uploaded image for project: 'Traffic Control'
  1. Traffic Control
  2. TC-250

RPM tries to back up nonexistent on-disk CRConfigs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 2.1.0, 2.2.0
    • 2.2.0
    • Traffic Ops

    Description

      The spec file for the Traffic Ops RPM backs up config files and restores them during an upgrade. The the <2.0 versions of Traffic Ops stored the CRConfig config on disk, while it's in the database in >=2.0. This should be removed from the 2.x spec file.

      traffic_ops/build/traffic_ops.spec:	  cd %{PACKAGEDIR} && tar cf /var/tmp/traffic_ops-backup.tar app/public/*Snapshots app/public/routing  app/conf app/db/dbconf.yml app/local app/cpanfile.snapshot
      

      Specifically, the app/public/*Snapshots path likely will not exist. There might be Trafficserver-Snapshots but definitely not CRConfig.

      Attachments

        Activity

          People

            Unassigned Unassigned
            elsloo Jeff Elsloo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: