[update] mos-mu doesn't upgrade package on cluster

Bug #1643560 reported by Ruslan Khozinov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Andrey Epifanov

Bug Description

Detailed bug description:
Upgrade cluster from 9.1 to 9.2 (deb http://mirror.fuel-infra.org/mos-repos/ubuntu/snapshots/9.0-2016-11-17-010321 mos9.0-proposed main restricted) the repo was added to all cluster nodes by ansible playbook.

Steps to reproduce:
   - Deploy 9.1 env with following nodes:
     * compute_cinder
     * contrail-analytics-db
     * contrail-controller
     * controller
     * contrail-controller_contrail-analytics
     * contrail-analytics-db_contrail-analytics
     * contrail-analytics
     * contrail-controller
     * contrail-analytics-db
  - Download mos-mu tool on master (git clone https://github.com/aepifanov/mos_mu.git)
  - Make a perform a preparation playbook (ansible-playbook playbooks/mos9_prepare.yml -e '{"env_id":<env_id>}')
   - Update fuel node (ansible-playbook playbooks/update_fuel.yml)
   - ansible-playbook playbooks/mos9_prepare_env.yml -e '{"env_id":1, "snapshot_repo":'9.0-2016-11-18-154322'}'
   - fuel2 update --env 1 install --repos mos9.0-proposed

Observed behavior:
Packages on cluster nodes should be UPGRADED, but update task has finished with the next message: "Deployment is done. No changes"

Revision history for this message
Ruslan Khozinov (rkhozinov) wrote :
Download full text (3.6 KiB)

Settings configuration for environment with id=1 downloaded to /root/settings_1.yaml
Settings configuration uploaded.
Successfully prepared and started updates on cluster 1 as task 23. Check the status of the updates deployment procedure by running `fuel2 task show 23` or using Web UI.
[root@nailgun mos_mu]# fuel2 task show 23
+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id | 23 |
| uuid | 33feabfc-28e4-47f2-a421-3e4549965e56 |
| status | ready |
| name | deploy |
| graph_type | None |
| cluster | 1 |
| result | {} |
| dry_run | False |
| progress | 100 |
| message | Deployment is done. No changes. |
| | ...

Read more...

Revision history for this message
Ruslan Khozinov (rkhozinov) wrote :

Policy from controller node
root@node-8:~# apt-cache policy neutron-server
neutron-server:
  Installed: 2:8.2.0-3~u14.04+mos36
  Candidate: 2:8.3.0-1~u14.04+mos10
  Version table:
     2:8.3.0-1~u14.04+mos10 0
       1200 http://mirror.fuel-infra.org/mos-repos/ubuntu/snapshots/9.0-2016-11-18-154322/ mos9.0-proposed/main amd64 Packages
 *** 2:8.2.0-3~u14.04+mos36 0
       1050 http://mirror.fuel-infra.org/mos-repos/ubuntu/9.0/ mos9.0-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2:8.1.1-1~u14.04+mos21 0
       1050 http://10.109.0.2:8080/mitaka-9.0/ubuntu/x86_64/ mos9.0/main amd64 Packages
     2:8.0.0-0ubuntu1~cloud0 0
        500 http://10.109.0.2:8080/plugins/contrail-5.0/repositories/ubuntu/ Packages
     1:2014.1.5-0ubuntu6 0
       1001 http://mirror.seed-cz1.fuel-infra.org/pkgs/ubuntu/ trusty-updates/main amd64 Packages
     1:2014.1.3-0ubuntu1.1 0
       1001 http://mirror.seed-cz1.fuel-infra.org/pkgs/ubuntu/ trusty-security/main amd64 Packages
     1:2014.1-0ubuntu1 0
       1001 http://mirror.seed-cz1.fuel-infra.org/pkgs/ubuntu/ trusty/main amd64 Packages

Revision history for this message
Ruslan Khozinov (rkhozinov) wrote :

I've tried to add mos-proposed repo for cluster by fuel ui and start deploy by fuel-ui.

And packages were updated but I've found the bug https://bugs.launchpad.net/fuel/+bug/1643504

summary: - mos-mu doesn't upgrade package on cluster
+ [Update] mos-mu doesn't upgrade package on cluster
Revision history for this message
Ruslan Khozinov (rkhozinov) wrote :

During manual update I saw in that
the task "puppet_manifest": "/etc/puppet/modules/osnailyfacter/modular/upgrade/pkg_upgrade.pp" is started

summary: - [Update] mos-mu doesn't upgrade package on cluster
+ [update] mos-mu doesn't upgrade package on cluster
Revision history for this message
Andrey Epifanov (aepifanov) wrote :

Please use mos9.2 repo:
fuel2 update --env 1 install --repos mos9.2

Changed in fuel:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.