You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Robert Scrimo (JIRA)" <ji...@apache.org> on 2017/08/09 16:08:00 UTC
[jira] [Closed] (TC-247) Upgrading Traffic Ops via yum, goose is
failing to execute
[ https://issues.apache.org/jira/browse/TC-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scrimo closed TC-247.
----------------------------
Assignee: Robert Scrimo
> Upgrading Traffic Ops via yum, goose is failing to execute
> ----------------------------------------------------------
>
> Key: TC-247
> URL: https://issues.apache.org/jira/browse/TC-247
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Ops
> Affects Versions: 2.1.0
> Reporter: Robert Scrimo
> Assignee: Robert Scrimo
> Labels: goose, yum
> Fix For: 2.1.0
>
>
> When upgrading to Traffic Ops 2.1.0-6027.a62b5f9f.el7 via yum on Centos 7.2 the upgrade fails to run goose as per:
> -bash-4.2$ sudo yum upgrade traffic_ops
> Loaded plugins: fastestmirror
> atlas-client-ODOL_NOARCH | 2.3 kB 00:00:00
> atlas-client-ODOL_REPO | 2.3 kB 00:00:00
> atlas-client-ODOL_REPO_GLOBAL | 2.3 kB 00:00:00
> atlas-client-ODOL_REPO_NOARCH | 2.3 kB 00:00:00
> comcast-atlas-centos_epel | 4.3 kB 00:00:00
> comcast-atlas-centos_x86_64 | 2.5 kB 00:00:00
> docker-public | 2.9 kB 00:00:00
> traffic-control-Addons | 1.3 kB 00:00:00
> traffic-control-Addons/primary | 31 kB 00:00:00
> Loading mirror speeds from cached hostfile
> traffic-control-Addons 105/105
> Resolving Dependencies
> --> Running transaction check
> ---> Package traffic_ops.x86_64 0:2.1.0-5518.46e1f46a.el6 will be updated
> ---> Package traffic_ops.x86_64 0:2.1.0-6027.a62b5f9f.el7 will be an update
> --> Finished Dependency Resolution
> Dependencies Resolved
> ===============================================================================================================================================
> Package Arch Version Repository Size
> ===============================================================================================================================================
> Updating:
> traffic_ops x86_64 2.1.0-6027.a62b5f9f.el7 traffic-control-Addons 875 k
> Transaction Summary
> ===============================================================================================================================================
> Upgrade 1 Package
> Total download size: 875 k
> Is this ok [y/d/N]: y
> Downloading packages:
> Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
> traffic_ops-2.1.0-6027.a62b5f9f.el7.x86_64.rpm | 875 kB 00:00:00
> Running transaction check
> Running transaction test
> Transaction test succeeded
> Running transaction
> trafops:x:994:
> trafops:x:997:994::/opt/traffic_ops:/sbin/nologin
> Backing up config files.
> tar: app/public/*Snapshots: Cannot stat: No such file or directory
> tar: Exiting with failure status due to previous errors
> Stopping traffic_ops (via systemctl): [ OK ]
> Updating : traffic_ops-2.1.0-6027.a62b5f9f.el7.x86_64 1/2
> warning: /opt/traffic_ops/app/conf/cdn.conf created as /opt/traffic_ops/app/conf/cdn.conf.rpmnew
> warning: /opt/traffic_ops/app/conf/production/database.conf created as /opt/traffic_ops/app/conf/production/database.conf.rpmnew
> warning: /opt/traffic_ops/app/conf/production/log4perl.conf created as /opt/traffic_ops/app/conf/production/log4perl.conf.rpmnew
> warning: /opt/traffic_ops/app/conf/production/riak.conf created as /opt/traffic_ops/app/conf/production/riak.conf.rpmnew
> Restoring config files.
> Migrating database...
> Can't exec "goose": No such file or directory at db/admin.pl line 177.
> Can't run goose
> Database migration failed.
> Upgrade complete.
> Run /opt/traffic_ops/install/bin/postinstall from the root home directory to complete the update.
> To start Traffic Ops: service traffic_ops start
> To stop Traffic Ops: service traffic_ops stop
> Cleanup : traffic_ops-2.1.0-5518.46e1f46a.el6.x86_64 2/2
> Verifying : traffic_ops-2.1.0-6027.a62b5f9f.el7.x86_64 1/2
> Verifying : traffic_ops-2.1.0-5518.46e1f46a.el6.x86_64 2/2
> Updated:
> traffic_ops.x86_64 0:2.1.0-6027.a62b5f9f.el7
> Complete!
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)