Project

Profile

Help

Test #4359 » PreGA-2171-2181_nonFips_upgrade.log

upgrade testing log - bherring, 02/20/2019 08:47 PM

 
Script started on 2019-02-20 13:01:30-05:00
]777;notify;Command completed;cat pulp2Install.sh ]0;herring@redherring:~/test/2181preGA]7;file://redherring/home/herring/test/2181preGA[herring@redherring 2181preGA]$ ## Pre-upgrade complete
]777;notify;Command completed;## Pre-upgrade complete]0;herring@redherring:~/test/2181preGA]7;file://redherring/home/herring/test/2181preGA[herring@redherring 2181preGA]$ ssh root@rhel76-40G-2170
Warning: Permanently added 'rhel76-40g-2170,192.168.122.88' (ECDSA) to the list of known hosts.

Last login: Wed Feb 20 12:33:38 2019

]0;root@rhel76-40g-2170:~[?1034h[root@rhel76-40g-2170 ~]# pulp-admin login -u admin -p asadmin
Successfully logged in. Session certificate will expire at Feb 27 18:11:16 2019
GMT.

]0;root@rhel76-40g-2170:~[root@rhel76-40g-2170 ~]# pulp-admin repo list
+----------------------------------------------------------------------+
Repositories
+----------------------------------------------------------------------+

Id: drpm
Display Name: None
Description: None
Content Unit Counts:
Drpm: 4
Rpm: 5

Id: srpm
Display Name: None
Description: None
Content Unit Counts:
Erratum: 2
Package Category: 1
Package Group: 2
Package Langpacks: 1
Srpm: 3

Id: centos5
Display Name: None
Description: None
Content Unit Counts:

Id: sync-schedule
Display Name: None
Description: None
Content Unit Counts:
Erratum: 4
Package Category: 1
Package Group: 2
Package Langpacks: 1
Rpm: 31

Id: rpm-signed
Display Name: None
Description: None
Content Unit Counts:
Erratum: 4
Package Category: 1
Package Group: 2
Package Langpacks: 1
Rpm: 35

Id: file-feed
Display Name: None
Description: None
Content Unit Counts:
Erratum: 4
Package Category: 1
Package Group: 2
Package Langpacks: 1
Rpm: 35

Id: forge
Display Name: None
Description: None
Content Unit Counts:
Puppet Module: 170

Id: filerepo
Display Name: None
Description: None
Content Unit Counts:
Iso: 3

Id: busybox
Display Name: None
Description: None
Content Unit Counts:
Docker Blob: 447
Docker Manifest: 344
Docker Manifest List: 44
Docker Tag: 232

Id: docker
Display Name: None
Description: None
Content Unit Counts:
Docker Blob: 3576
Docker Manifest: 1633
Docker Manifest List: 187
Docker Tag: 1353

Id: registry
Display Name: None
Description: None
Content Unit Counts:
Docker Blob: 303
Docker Manifest: 71
Docker Manifest List: 4
Docker Tag: 71

Id: pypi
Display Name: None
Description: None
Content Unit Counts:
Python Package: 443

Id: python-upload
Display Name: None
Description: None
Content Unit Counts:
Python Package: 1


]0;root@rhel76-40g-2170:~[root@rhel76-40g-2170 ~]# pulp-admin satus
Usage: pulp-admin [SUB_SECTION, ..] COMMAND

Available Sections:
auth - manage users, roles and permissions
bindings - search consumer bindings
consumer - display and manage Pulp consumers
content - manage content
deb - manage Debian-related content and features
docker - manage docker images
event - subscribe to event notifications
iso - manage ISO-related content and features
orphan - find and remove orphaned content units
ostree - manage ostree repositories
puppet - manage Puppet-related content and features
python - manage python repositories
repo - list repositories and manage repo groups
rpm - manage RPM-related content and features
server - display info about the server
tasks - list and cancel server-side tasks

Available Commands:
login - login and download a session certificate
logout - deletes the user's session certificate
status - shows server's status
]0;root@rhel76-40g-2170:~[root@rhel76-40g-2170 ~]# pulp-admin satusstatus
+----------------------------------------------------------------------+
Status of the server
+----------------------------------------------------------------------+

Api Version: 2
Database Connection:
Connected: True
Known Workers:
_id: reserved_resource_worker-0@rhel76-40g-2170
_ns: workers
Last Heartbeat: 2019-02-20T18:11:28Z
_id: scheduler@rhel76-40g-2170
_ns: workers
Last Heartbeat: 2019-02-20T18:11:30Z
_id: resource_manager@rhel76-40g-2170
_ns: workers
Last Heartbeat: 2019-02-20T18:11:28Z
Messaging Connection:
Connected: True
Versions:
Platform Version: 2.17.1


]0;root@rhel76-40g-2170:~[root@rhel76-40g-2170 ~]# cd hocode/
]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]# ls
pulp-ci
]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]# echo $HOSTNAME > hosts
]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]# hostname
rhel76-40g-2170
]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]# vi mm /etc/hosts
[?1049h[?1h=▽ [?12;25h[?12l[?25h[?25l"/etc/hosts" 2L, 174C[>c127.0.0.1 rhel76-40G-2170 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1localhost localhost.localdomain localhost6 localhost6.localdomain6
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 1,1All[?12l[?25hP+q436f\P+q6b75\P+q6b64\P+q6b72\P+q6b6c\P+q2332\P+q2334\P+q2569\P+q2a37\P+q6b31\[?25l2[?12l[?25h[?25l2[?12l[?25h[?25l1[?12l[?25h[?25l:[?12l[?25hq[?25l[?12l[?25h![?25l[?12l[?25h
[?25l[?1l>[?12l[?25h[?1049l]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]# vim /etc/hosts
[?1049h[?1h=▽ [?12;25h[?12l[?25h[?25l"/etc/hosts" 2L, 174C[>c127.0.0.1 rhel76-40G-2170 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1localhost localhost.localdomain localhost6 localhost6.localdomain6
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 1,1All[?12l[?25hP+q436f\P+q6b75\P+q6b64\P+q6b72\P+q6b6c\P+q2332\P+q2334\P+q2569\P+q2a37\P+q6b31\[?25l:[?12l[?25hq[?25l[?12l[?25h![?25l[?12l[?25h
[?25l[?1l>[?12l[?25h[?1049l]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]# ansiblep-playbook --connection local -i hosts copulp-ci/anci/ansible/pulp_server_
upgrade.yaml -e upgrade_pulp_build=nightly -e upgrade_pulp_version=2.18

PLAY [all] **********************************************************************************************

TASK [Gathering Facts] **********************************************************************************
ok: [rhel76-40g-2170]

TASK [pulp-upgrade : Ensure expected distribution] ******************************************************
ok: [rhel76-40g-2170] => {
 "changed": false, 
 "msg": "All assertions passed"
}

TASK [pulp-upgrade : Ensure expected variables] *********************************************************
ok: [rhel76-40g-2170] => {
 "changed": false, 
 "msg": "All assertions passed"
}

TASK [pulp-upgrade : Nightly to_url] ********************************************************************
ok: [rhel76-40g-2170]

TASK [pulp-upgrade : Beta/Stable to_url] ****************************************************************
skipping: [rhel76-40g-2170]

TASK [pulp-upgrade : Update the repository baseurl] *****************************************************
changed: [rhel76-40g-2170]

TASK [pulp-upgrade : Stop services] *********************************************************************
changed: [rhel76-40g-2170] => (item=httpd)
changed: [rhel76-40g-2170] => (item=pulp_celerybeat)
changed: [rhel76-40g-2170] => (item=pulp_resource_manager)
changed: [rhel76-40g-2170] => (item=pulp_streamer)
changed: [rhel76-40g-2170] => (item=pulp_workers)

TASK [pulp-upgrade : Clean all package cache] ***********************************************************
 [WARNING]: Consider using the yum module rather than running yum. If you need to use command because
yum is insufficient you can add warn=False to this command task or set command_warnings=False in
ansible.cfg to get rid of this message.

changed: [rhel76-40g-2170]

TASK [pulp-upgrade : Update packages] *******************************************************************
changed: [rhel76-40g-2170]

TASK [pulp-upgrade : Run pulp-manage-db] ****************************************************************
 [WARNING]: Consider using 'become', 'become_method', and 'become_user' rather than running sudo

changed: [rhel76-40g-2170]

TASK [pulp-upgrade : Run daemon reload] *****************************************************************
changed: [rhel76-40g-2170]

TASK [pulp-upgrade : Start services] ********************************************************************
changed: [rhel76-40g-2170] => (item=httpd)
changed: [rhel76-40g-2170] => (item=pulp_celerybeat)
changed: [rhel76-40g-2170] => (item=pulp_resource_manager)
changed: [rhel76-40g-2170] => (item=pulp_streamer)
changed: [rhel76-40g-2170] => (item=pulp_workers)

PLAY RECAP **********************************************************************************************
rhel76-40g-2170 : ok=11  changed=7  unreachable=0 failed=0

]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]# vim //etc/yumr/reyum./
Display all 197 possibilities? (y or n)
[root@rhel76-40g-2170 code]# vim /etc/repoyum.repos.d/
epel.repo epel-testing.repo mongodb34.repo pulp.repo redhat.repo
[root@rhel76-40g-2170 code]# vim /etc/yum.repos.d/pulp.repo
[?1049h[?1h=▽ [?12;25h[?12l[?25h[?25l"/etc/yum.repos.d/pulp.repo" 5L, 161C[>c[pulp]
baseurl=https://repos.fedorapeople.org/pulp/pulp/testing/automation/2.18/stage/$releasever/$basearch/
gpgcheck=0
name=Pulp Project repository
priority=50
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 1,1All[?12l[?25hP+q436f\P+q6b75\P+q6b64\P+q6b72\P+q6b6c\P+q2332\P+q2334\P+q2569\P+q2a37\P+q6b31\[?25l:[?12l[?25hq[?25l[?12l[?25h![?25l[?12l[?25h
[?25l[?1l>[?12l[?25h[?1049l]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]#
]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]#
]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]#
]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]# cd pulp-ci/ci/jjb/scripts/
]0;root@rhel76-40g-2170:~/code/pulp-ci/ci/jjb/scripts[root@rhel76-40g-2170 scripts]# chomod 770 post-upgrade.sh
]0;root@rhel76-40g-2170:~/code/pulp-ci/ci/jjb/scripts[root@rhel76-40g-2170 scripts]# ./post-upgrade.sh
Successfully logged in. Session certificate will expire at Feb 27 19:31:58 2019
GMT.

+----------------------------------------------------------------------+
Docker Repositories
+----------------------------------------------------------------------+

Id: busybox
Display Name: None
Description: None
Content Unit Counts:
Docker Blob: 447
Docker Manifest: 344
Docker Manifest List: 44
Docker Tag: 232


+----------------------------------------------------------------------+
Docker Repositories
+----------------------------------------------------------------------+

Id: docker
Display Name: None
Description: None
Content Unit Counts:
Docker Blob: 3576
Docker Manifest: 1633
Docker Manifest List: 187
Docker Tag: 1353


+----------------------------------------------------------------------+
Docker Repositories
+----------------------------------------------------------------------+

Id: registry
Display Name: None
Description: None
Content Unit Counts:
Docker Blob: 303
Docker Manifest: 71
Docker Manifest List: 4
Docker Tag: 71


+----------------------------------------------------------------------+
ISO Repositories
+----------------------------------------------------------------------+

Id: filerepo
Display Name: None
Description: None
Content Unit Counts:
Iso: 3


+----------------------------------------------------------------------+
Puppet Repositories
+----------------------------------------------------------------------+

Id: forge
Display Name: None
Description: None
Content Unit Counts:
Puppet Module: 170


+----------------------------------------------------------------------+
Python Repositories
+----------------------------------------------------------------------+

Id: pypi
Display Name: None
Description: None
Content Unit Counts:
Python Package: 443


+----------------------------------------------------------------------+
Python Repositories
+----------------------------------------------------------------------+

Id: python-upload
Display Name: None
Description: None
Content Unit Counts:
Python Package: 1


+----------------------------------------------------------------------+
RPM Repositories
+----------------------------------------------------------------------+

Id: centos5
Display Name: None
Description: None
Content Unit Counts:


+----------------------------------------------------------------------+
RPM Repositories
+----------------------------------------------------------------------+

Id: drpm
Display Name: None
Description: None
Content Unit Counts:
Drpm: 4
Rpm: 5


+----------------------------------------------------------------------+
RPM Repositories
+----------------------------------------------------------------------+

Id: file-feed
Display Name: None
Description: None
Content Unit Counts:
Erratum: 4
Package Category: 1
Package Group: 2
Package Langpacks: 1
Rpm: 35


+----------------------------------------------------------------------+
RPM Repositories
+----------------------------------------------------------------------+

Id: rpm-signed
Display Name: None
Description: None
Content Unit Counts:
Erratum: 4
Package Category: 1
Package Group: 2
Package Langpacks: 1
Rpm: 35


+----------------------------------------------------------------------+
RPM Repositories
+----------------------------------------------------------------------+

Id: srpm
Display Name: None
Description: None
Content Unit Counts:
Erratum: 2
Package Category: 1
Package Group: 2
Package Langpacks: 1
Srpm: 3


+----------------------------------------------------------------------+
RPM Repositories
+----------------------------------------------------------------------+

Id: sync-schedule
Display Name: None
Description: None
Content Unit Counts:
Erratum: 4
Package Category: 1
Package Group: 2
Package Langpacks: 1
Rpm: 31


Session certificate successfully removed.

]0;root@rhel76-40g-2170:~/code/pulp-ci/ci/jjb/scripts[root@rhel76-40g-2170 scripts]# ./pulp_python/pulp-admin rstatus
+----------------------------------------------------------------------+
Status of the server
+----------------------------------------------------------------------+

Api Version: 2
Database Connection:
Connected: True
Known Workers:
_id: scheduler@rhel76-40g-2170
_ns: workers
Last Heartbeat: 2019-02-20T19:32:12Z
_id: resource_manager@rhel76-40g-2170
_ns: workers
Last Heartbeat: 2019-02-20T19:32:13Z
_id: reserved_resource_worker-0@rhel76-40g-2170
_ns: workers
Last Heartbeat: 2019-02-20T19:32:14Z
Messaging Connection:
Connected: True
Versions:
Platform Version: 2.18.1


]0;root@rhel76-40g-2170:~/code/pulp-ci/ci/jjb/scripts[root@rhel76-40g-2170 scripts]# ## Done
]0;root@rhel76-40g-2170:~/code/pulp-ci/ci/jjb/scripts[root@rhel76-40g-2170 scripts]# ^C
]0;root@rhel76-40g-2170:~/code/pulp-ci/ci/jjb/scripts[root@rhel76-40g-2170 scripts]# logout
Shared connection to rhel76-40g-2170 closed.

]777;notify;Command completed;ssh root@rhel76-40G-2170]0;herring@redherring:~/test/2181preGA]7;file://redherring/home/herring/test/2181preGA[herring@redherring 2181preGA]$ exit

Script done on 2019-02-20 14:46:20-05:00
(10-10/14)