Comment 0 for bug 1658334

Revision history for this message
wenqing liang (wliang) wrote :

upgrade_contrail from r3.1.1.0-45 kilo to 3.1.2.0-57~kilo aborts:

2017-01-20 23:39:01:142319: [root@10.87.140.198] out: Package contrail-vrouter-3.13.0-85-generic is not available, but is referred to by another package.
2017-01-20 23:39:01:158081: [root@10.87.140.198] out: This may mean that the package is missing, has been obsoleted, or
2017-01-20 23:39:01:158208: [root@10.87.140.198] out: is only available from another source
2017-01-20 23:39:01:158258: [root@10.87.140.198] out:
2017-01-20 23:39:01:158301: [root@10.87.140.198] out: E: Package 'contrail-vrouter-3.13.0-85-generic' has no installation candidate
2017-01-20 23:39:01:158342: [root@10.87.140.198] out:
2017-01-20 23:39:01:158384: [root@10.87.140.198] out: Fatal error: local() encountered an error (return code 100) while executing 'DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-overwrite" -o Dpkg::Options::="--force-confnew" install contrail-vrouter-3.13.0-85-generic contrail-openstack-vrouter'
2017-01-20 23:39:01:158425: [root@10.87.140.198] out:
2017-01-20 23:39:01:158484: [root@10.87.140.198] out: Aborting.
2017-01-20 23:39:01:158524: [root@10.87.140.198] out:
2017-01-20 23:39:01:174195:
2017-01-20 23:39:01:176610: Disconnecting from 10.87.140.200... done.
2017-01-20 23:39:01:192283: Disconnecting from 10.87.140.199... done.
2017-01-20 23:39:01:306027: Disconnecting from 10.87.140.198... done.
2017-01-20 23:39:01:419749: Disconnecting from 10.87.140.197... done.
2017-01-20 23:39:01:483478:
2017-01-20 23:39:01:176689: Fatal error: sudo() received nonzero return code 1 while executing!
2017-01-20 23:39:01:176689:
2017-01-20 23:39:01:176689: Requested: upgrade-vnc-compute --self_ip 5.0.0.2 --cfgm_ip 5.0.0.1 --cfgm_user root --cfgm_passwd n1keenA --ncontrols 1 --amqp_server_ip 5.0.0.1 --service_token cfafaaa66316361eb4f6 --orchestrator openstack --hypervisor libvirt --non_mgmt_ip 5.0.0.2 --non_mgmt_gw 5.0.0.1 --keystone_ip 5.0.0.1 --keystone_version v2.0 --openstack_mgmt_ip 10.87.140.197 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password n1keenA --nova_password n1keenA --neutron_password n1keenA --service_tenant_name service --region_name RegionOne -P contrail-vrouter-3.13.0-85-generic contrail-openstack-vrouter -F 3.1.1.0 -T 3.1.2.0 -R compute
2017-01-20 23:39:01:176689: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "upgrade-vnc-compute --self_ip 5.0.0.2 --cfgm_ip 5.0.0.1 --cfgm_user root --cfgm_passwd n1keenA --ncontrols 1 --amqp_server_ip 5.0.0.1 --service_token cfafaaa66316361eb4f6 --orchestrator openstack --hypervisor libvirt --non_mgmt_ip 5.0.0.2 --non_mgmt_gw 5.0.0.1 --keystone_ip 5.0.0.1 --keystone_version v2.0 --openstack_mgmt_ip 10.87.140.197 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password n1keenA --nova_password n1keenA --neutron_password n1keenA --service_tenant_name service --region_name RegionOne -P contrail-vrouter-3.13.0-85-generic contrail-openstack-vrouter -F 3.1.1.0 -T 3.1.2.0 -R compute"
2017-01-20 23:39:01:176689:
2017-01-20 23:39:01:176716: Aborting.

root@cmbu-ceph-perf1:/opt/contrail/utils# fab -R compute -- "dpkg -l | grep contrail-vrouter"
[root@10.87.140.198] Executing task '<remainder>'
2017-01-21 08:00:27:994120: [root@10.87.140.198] run: dpkg -l | grep contrail-vrouter
2017-01-21 08:00:27:994271: [root@10.87.140.198] out: ii contrail-vrouter-3.13.0-100-generic 3.1.2.0-57 all OpenContrail VRouter - precompiled module version
2017-01-21 08:00:33:296226: [root@10.87.140.198] out: rc contrail-vrouter-3.13.0-85-generic 3.1.1.0-45 all OpenContrail VRouter - precompiled module version
2017-01-21 08:00:33:296374: [root@10.87.140.198] out: ii contrail-vrouter-agent 3.1.1.0-45 amd64 OpenContrail vrouter agent
2017-01-21 08:00:33:296506: [root@10.87.140.198] out: ii contrail-vrouter-common 3.1.1.0-45 all Contrail vRouter composite debian package
2017-01-21 08:00:33:296629: [root@10.87.140.198] out: ii contrail-vrouter-init 3.1.1.0-45 all OpenContrail compute-node startup and monitoring scripts.
2017-01-21 08:00:33:296757: [root@10.87.140.198] out: ii contrail-vrouter-utils 3.1.2.0-57 amd64 OpenContrail VRouter - Utilities
2017-01-21 08:00:33:296876: [root@10.87.140.198] out: ii python-contrail-vrouter-api 3.1.1.0-45 amd64 OpenContrail vrouter agent api
2017-01-21 08:00:33:296991: [root@10.87.140.198] out: ii python-opencontrail-vrouter-netns 3.1.2.0-57 amd64 OpenContrail vrouter network namespace package
2017-01-21 08:00:33:297108: [root@10.87.140.198] out:
2017-01-21 08:00:33:300056:
2017-01-21 08:00:33:300298: [root@10.87.140.199] Executing task '<remainder>'
2017-01-21 08:00:33:300445: [root@10.87.140.199] run: dpkg -l | grep contrail-vrouter
2017-01-21 08:00:33:300633: [root@10.87.140.199] out: ii contrail-vrouter-3.13.0-100-generic 3.1.2.0-57 all OpenContrail VRouter - precompiled module version
2017-01-21 08:00:38:591726: [root@10.87.140.199] out: rc contrail-vrouter-3.13.0-85-generic 3.1.1.0-45 all OpenContrail VRouter - precompiled module version
2017-01-21 08:00:38:591896: [root@10.87.140.199] out: ii contrail-vrouter-agent 3.1.1.0-45 amd64 OpenContrail vrouter agent
2017-01-21 08:00:38:592010: [root@10.87.140.199] out: ii contrail-vrouter-common 3.1.1.0-45 all Contrail vRouter composite debian package
2017-01-21 08:00:38:592094: [root@10.87.140.199] out: ii contrail-vrouter-init 3.1.1.0-45 all OpenContrail compute-node startup and monitoring scripts.
2017-01-21 08:00:38:592176: [root@10.87.140.199] out: ii contrail-vrouter-utils 3.1.2.0-57 amd64 OpenContrail VRouter - Utilities
2017-01-21 08:00:38:592256: [root@10.87.140.199] out: ii python-contrail-vrouter-api 3.1.1.0-45 amd64 OpenContrail vrouter agent api
2017-01-21 08:00:38:592334: [root@10.87.140.199] out: ii python-opencontrail-vrouter-netns 3.1.2.0-57 amd64 OpenContrail vrouter network namespace package
2017-01-21 08:00:38:592412: [root@10.87.140.199] out:
2017-01-21 08:00:38:593008:
2017-01-21 08:00:38:593185: [root@10.87.140.200] Executing task '<remainder>'
2017-01-21 08:00:38:593333: [root@10.87.140.200] run: dpkg -l | grep contrail-vrouter
2017-01-21 08:00:38:593475: [root@10.87.140.200] out: ii contrail-vrouter-3.13.0-100-generic 3.1.2.0-57 all OpenContrail VRouter - precompiled module version
2017-01-21 08:00:43:891438: [root@10.87.140.200] out: rc contrail-vrouter-3.13.0-85-generic 3.1.1.0-45 all OpenContrail VRouter - precompiled module version
2017-01-21 08:00:43:891524: [root@10.87.140.200] out: ii contrail-vrouter-agent 3.1.1.0-45 amd64 OpenContrail vrouter agent
2017-01-21 08:00:43:891598: [root@10.87.140.200] out: ii contrail-vrouter-common 3.1.1.0-45 all Contrail vRouter composite debian package
2017-01-21 08:00:43:891817: [root@10.87.140.200] out: ii contrail-vrouter-init 3.1.1.0-45 all OpenContrail compute-node startup and monitoring scripts.
2017-01-21 08:00:43:891887: [root@10.87.140.200] out: ii contrail-vrouter-utils 3.1.2.0-57 amd64 OpenContrail VRouter - Utilities
2017-01-21 08:00:43:891949: [root@10.87.140.200] out: ii python-contrail-vrouter-api 3.1.1.0-45 amd64 OpenContrail vrouter agent api
2017-01-21 08:00:43:892006: [root@10.87.140.200] out: ii python-opencontrail-vrouter-netns 3.1.2.0-57 amd64 OpenContrail vrouter network namespace package
2017-01-21 08:00:43:892064: [root@10.87.140.200] out:
2017-01-21 08:00:43:892532:
2017-01-21 08:00:43:892717:
2017-01-21 08:00:43:892889: Done.
2017-01-21 08:00:43:892930: Disconnecting from 10.87.140.200... done.
2017-01-21 08:00:44:006898: Disconnecting from 10.87.140.199... done.
2017-01-21 08:00:44:120862: Disconnecting from 10.87.140.198... done.
2017-01-21 08:00:44:234771: root@cmbu-ceph-perf1:/opt/contrail/utils#