|
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 as[K[Kadmin
|
|
[0m[92mSuccessfully logged in. Session certificate will expire at Feb 27 18:11:16 2019
|
|
GMT.[0m
|
|
|
|
]0;root@rhel76-40g-2170:~[root@rhel76-40g-2170 ~]# pulp-admin repo list
|
|
[0m+----------------------------------------------------------------------+
|
|
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
|
|
[0mUsage: 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 satus[Kstatus
|
|
[0m+----------------------------------------------------------------------+
|
|
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 ho[K[Kcode/
|
|
]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]# ls
|
|
[0m[38;5;27mpulp-ci[0m
|
|
]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 m[K[Km /etc/hosts
|
|
[?1049h[?1h=[2;1H▽[6n[1;1H [1;1H[1;50r[?12;25h[?12l[?25h[27m[m[H[2J[?25l[50;1H"/etc/hosts" 2L, 174C[>c[1;1H127.0.0.1 rhel76-40G-2170 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
|
::1[9Clocalhost localhost.localdomain localhost6 localhost6.localdomain6
|
|
[94m~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [24;1H~ [25;1H~ [26;1H~ [27;1H~ [28;1H~ [29;1H~ [30;1H~ [31;1H~ [32;1H~ [33;1H~ [34;1H~ [35;1H~ [36;1H~ [37;1H~ [38;1H~ [39;1H~ [40;1H~ [41;1H~ [42;1H~ [43;1H~ [44;1H~ [45;1H~ [46;1H~ [47;1H~ [48;1H~ [49;1H~ [m[50;88H1,1[11CAll[1;1H[?12l[?25hP+q436f\P+q6b75\P+q6b64\P+q6b72\P+q6b6c\P+q2332\P+q2334\P+q2569\P+q2a37\P+q6b31\[?25l[50;88H2[2;1H[?12l[?25h[?25l[50;90H2[2;2H[?12l[?25h[?25l[50;88H1[1;2H[?12l[?25h[?25l[50;1H[K[50;1H:[?12l[?25hq[?25l[?12l[?25h![?25l[?12l[?25h
|
|
[?25l[50;1H[K[50;1H[?1l>[?12l[?25h[?1049l]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]# vim /etc/hosts
|
|
[?1049h[?1h=[2;1H▽[6n[1;1H [1;1H[1;50r[?12;25h[?12l[?25h[27m[m[H[2J[?25l[50;1H"/etc/hosts" 2L, 174C[>c[1;1H127.0.0.1 rhel76-40G-2170 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
|
::1[9Clocalhost localhost.localdomain localhost6 localhost6.localdomain6
|
|
[94m~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [24;1H~ [25;1H~ [26;1H~ [27;1H~ [28;1H~ [29;1H~ [30;1H~ [31;1H~ [32;1H~ [33;1H~ [34;1H~ [35;1H~ [36;1H~ [37;1H~ [38;1H~ [39;1H~ [40;1H~ [41;1H~ [42;1H~ [43;1H~ [44;1H~ [45;1H~ [46;1H~ [47;1H~ [48;1H~ [49;1H~ [m[50;88H1,1[11CAll[1;1H[?12l[?25hP+q436f\P+q6b75\P+q6b64\P+q6b72\P+q6b6c\P+q2332\P+q2334\P+q2569\P+q2a37\P+q6b31\[?25l[50;1H[K[50;1H:[?12l[?25hq[?25l[?12l[?25h![?25l[?12l[?25h
|
|
[?25l[50;1H[K[50;1H[?1l>[?12l[?25h[?1049l]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]# ansiblep[K-playbook --connection local -i hosts co[K[Kpulp-ci/an[K[Kci/ansible/pulp_server_
|
|
upgrade.yaml [K-e upgrade_pulp_build=nightly -e upgrade_pulp_version=2.18
|
|
|
|
PLAY [all] **********************************************************************************************
|
|
|
|
TASK [Gathering Facts] **********************************************************************************
|
|
[0;32mok: [rhel76-40g-2170][0m
|
|
|
|
TASK [pulp-upgrade : Ensure expected distribution] ******************************************************
|
|
[0;32mok: [rhel76-40g-2170] => {[0m
|
|
[0;32m "changed": false, [0m
|
|
[0;32m "msg": "All assertions passed"[0m
|
|
[0;32m}[0m
|
|
|
|
TASK [pulp-upgrade : Ensure expected variables] *********************************************************
|
|
[0;32mok: [rhel76-40g-2170] => {[0m
|
|
[0;32m "changed": false, [0m
|
|
[0;32m "msg": "All assertions passed"[0m
|
|
[0;32m}[0m
|
|
|
|
TASK [pulp-upgrade : Nightly to_url] ********************************************************************
|
|
[0;32mok: [rhel76-40g-2170][0m
|
|
|
|
TASK [pulp-upgrade : Beta/Stable to_url] ****************************************************************
|
|
[0;36mskipping: [rhel76-40g-2170][0m
|
|
|
|
TASK [pulp-upgrade : Update the repository baseurl] *****************************************************
|
|
[0;33mchanged: [rhel76-40g-2170][0m
|
|
|
|
TASK [pulp-upgrade : Stop services] *********************************************************************
|
|
[0;33mchanged: [rhel76-40g-2170] => (item=httpd)[0m
|
|
[0;33mchanged: [rhel76-40g-2170] => (item=pulp_celerybeat)[0m
|
|
[0;33mchanged: [rhel76-40g-2170] => (item=pulp_resource_manager)[0m
|
|
[0;33mchanged: [rhel76-40g-2170] => (item=pulp_streamer)[0m
|
|
[0;33mchanged: [rhel76-40g-2170] => (item=pulp_workers)[0m
|
|
|
|
TASK [pulp-upgrade : Clean all package cache] ***********************************************************
|
|
[1;35m [WARNING]: Consider using the yum module rather than running yum. If you need to use command because[0m
|
|
[1;35myum is insufficient you can add warn=False to this command task or set command_warnings=False in[0m
|
|
[1;35mansible.cfg to get rid of this message.[0m
|
|
[1;35m[0m
|
|
[0;33mchanged: [rhel76-40g-2170][0m
|
|
|
|
TASK [pulp-upgrade : Update packages] *******************************************************************
|
|
[0;33mchanged: [rhel76-40g-2170][0m
|
|
|
|
TASK [pulp-upgrade : Run pulp-manage-db] ****************************************************************
|
|
[1;35m [WARNING]: Consider using 'become', 'become_method', and 'become_user' rather than running sudo[0m
|
|
[1;35m[0m
|
|
[0;33mchanged: [rhel76-40g-2170][0m
|
|
|
|
TASK [pulp-upgrade : Run daemon reload] *****************************************************************
|
|
[0;33mchanged: [rhel76-40g-2170][0m
|
|
|
|
TASK [pulp-upgrade : Start services] ********************************************************************
|
|
[0;33mchanged: [rhel76-40g-2170] => (item=httpd)[0m
|
|
[0;33mchanged: [rhel76-40g-2170] => (item=pulp_celerybeat)[0m
|
|
[0;33mchanged: [rhel76-40g-2170] => (item=pulp_resource_manager)[0m
|
|
[0;33mchanged: [rhel76-40g-2170] => (item=pulp_streamer)[0m
|
|
[0;33mchanged: [rhel76-40g-2170] => (item=pulp_workers)[0m
|
|
|
|
PLAY RECAP **********************************************************************************************
|
|
[0;33mrhel76-40g-2170[0m : [0;32mok=11 [0m [0;33mchanged=7 [0m unreachable=0 failed=0
|
|
|
|
]0;root@rhel76-40g-2170:~/code[root@rhel76-40g-2170 code]# vim /[K/etc/yumr[K/re[K[Kyum.[K[K[K[K[K[K[K[K[K/
|
|
Display all 197 possibilities? (y or n)
|
|
[root@rhel76-40g-2170 code]# vim /etc/repo[K[K[K[Kyum.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=[2;1H▽[6n[1;1H [1;1H[1;50r[?12;25h[?12l[?25h[27m[m[H[2J[?25l[50;1H"/etc/yum.repos.d/pulp.repo" 5L, 161C[>c[1;1H[35m[106m[[m[35mpulp[m[35m[106m][m
|
|
[32mbaseurl=[mhttps://repos.fedorapeople.org/pulp/pulp/testing/automation/[31m2.18[m/stage/$releasever/$basearch/
|
|
[32mgpgcheck=[m[31m0[m
|
|
[32mname=[mPulp Project repository
|
|
[32mpriority=[m[31m50[m
|
|
[94m~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [24;1H~ [25;1H~ [26;1H~ [27;1H~ [28;1H~ [29;1H~ [30;1H~ [31;1H~ [32;1H~ [33;1H~ [34;1H~ [35;1H~ [36;1H~ [37;1H~ [38;1H~ [39;1H~ [40;1H~ [41;1H~ [42;1H~ [43;1H~ [44;1H~ [45;1H~ [46;1H~ [47;1H~ [48;1H~ [49;1H~ [m[50;88H1,1[11CAll[1;1H[?12l[?25hP+q436f\P+q6b75\P+q6b64\P+q6b72\P+q6b6c\P+q2332\P+q2334\P+q2569\P+q2a37\P+q6b31\[?25l[50;1H[K[50;1H:[?12l[?25hq[?25l[?12l[?25h![?25l[?12l[?25h
|
|
[?25l[50;1H[K[50;1H[?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]# cho[Kmod 770 post-upgrade.sh
|
|
]0;root@rhel76-40g-2170:~/code/pulp-ci/ci/jjb/scripts[root@rhel76-40g-2170 scripts]# ./post-upgrade.sh
|
|
[0m[92mSuccessfully logged in. Session certificate will expire at Feb 27 19:31:58 2019
|
|
GMT.[0m
|
|
|
|
[0m+----------------------------------------------------------------------+
|
|
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
|
|
|
|
|
|
[0m+----------------------------------------------------------------------+
|
|
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
|
|
|
|
|
|
[0m+----------------------------------------------------------------------+
|
|
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
|
|
|
|
|
|
[0m+----------------------------------------------------------------------+
|
|
ISO Repositories
|
|
+----------------------------------------------------------------------+
|
|
|
|
Id: filerepo
|
|
Display Name: None
|
|
Description: None
|
|
Content Unit Counts:
|
|
Iso: 3
|
|
|
|
|
|
[0m+----------------------------------------------------------------------+
|
|
Puppet Repositories
|
|
+----------------------------------------------------------------------+
|
|
|
|
Id: forge
|
|
Display Name: None
|
|
Description: None
|
|
Content Unit Counts:
|
|
Puppet Module: 170
|
|
|
|
|
|
[0m+----------------------------------------------------------------------+
|
|
Python Repositories
|
|
+----------------------------------------------------------------------+
|
|
|
|
Id: pypi
|
|
Display Name: None
|
|
Description: None
|
|
Content Unit Counts:
|
|
Python Package: 443
|
|
|
|
|
|
[0m+----------------------------------------------------------------------+
|
|
Python Repositories
|
|
+----------------------------------------------------------------------+
|
|
|
|
Id: python-upload
|
|
Display Name: None
|
|
Description: None
|
|
Content Unit Counts:
|
|
Python Package: 1
|
|
|
|
|
|
[0m+----------------------------------------------------------------------+
|
|
RPM Repositories
|
|
+----------------------------------------------------------------------+
|
|
|
|
Id: centos5
|
|
Display Name: None
|
|
Description: None
|
|
Content Unit Counts:
|
|
|
|
|
|
[0m+----------------------------------------------------------------------+
|
|
RPM Repositories
|
|
+----------------------------------------------------------------------+
|
|
|
|
Id: drpm
|
|
Display Name: None
|
|
Description: None
|
|
Content Unit Counts:
|
|
Drpm: 4
|
|
Rpm: 5
|
|
|
|
|
|
[0m+----------------------------------------------------------------------+
|
|
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
|
|
|
|
|
|
[0m+----------------------------------------------------------------------+
|
|
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
|
|
|
|
|
|
[0m+----------------------------------------------------------------------+
|
|
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
|
|
|
|
|
|
[0m+----------------------------------------------------------------------+
|
|
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
|
|
|
|
|
|
[0m[92mSession certificate successfully removed.[0m
|
|
|
|
]0;root@rhel76-40g-2170:~/code/pulp-ci/ci/jjb/scripts[root@rhel76-40g-2170 scripts]# ./pulp_python/[K[Kpulp-admin r[Kstatus
|
|
[0m+----------------------------------------------------------------------+
|
|
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
|