Building Deb Files for Cloudlab Installs (Sp2019) - uccross/skyhookdm-ceph GitHub Wiki

  1. From the top-level skyhook-ceph/ directory, create the deb files for the current branch/commit by by running some variation of dpkg-buildpackage. Do this in a tmux session. This is gona take awhile.
minion@rackform4:~/projects/skyhookdb-ceph$ sudo dpkg-buildpackage -j16
  1. The above command dumps the deb files in the directory immediately above skyhook-ceph/:
minion@rackform4:~/projects$ ls
ceph_12.2.7-1_amd64.changes              librbd1-dbg_12.2.7-1_amd64.deb
ceph_12.2.7-1_amd64.deb                  librbd-dev_12.2.7-1_amd64.deb
ceph_12.2.7-1.dsc                        librgw2_12.2.7-1_amd64.deb
ceph_12.2.7-1.tar.gz                     librgw2-dbg_12.2.7-1_amd64.deb
ceph-base_12.2.7-1_amd64.deb             librgw-dev_12.2.7-1_amd64.deb
ceph-base-dbg_12.2.7-1_amd64.deb         python3-ceph-argparse_12.2.7-1_amd64.deb
ceph-common_12.2.7-1_amd64.deb           python3-cephfs_12.2.7-1_amd64.deb
ceph-common-dbg_12.2.7-1_amd64.deb       python3-cephfs-dbg_12.2.7-1_amd64.deb
ceph-fuse_12.2.7-1_amd64.deb             python3-rados_12.2.7-1_amd64.deb
ceph-fuse-dbg_12.2.7-1_amd64.deb         python3-rados-dbg_12.2.7-1_amd64.deb
ceph-mds_12.2.7-1_amd64.deb              python3-rbd_12.2.7-1_amd64.deb
ceph-mds-dbg_12.2.7-1_amd64.deb          python3-rbd-dbg_12.2.7-1_amd64.deb
ceph-mgr_12.2.7-1_amd64.deb              python3-rgw_12.2.7-1_amd64.deb
ceph-mgr-dbg_12.2.7-1_amd64.deb          python3-rgw-dbg_12.2.7-1_amd64.deb
ceph-mon_12.2.7-1_amd64.deb              python-ceph_12.2.7-1_amd64.deb
ceph-mon-dbg_12.2.7-1_amd64.deb          python-cephfs_12.2.7-1_amd64.deb
ceph-osd_12.2.7-1_amd64.deb              python-cephfs-dbg_12.2.7-1_amd64.deb
ceph-osd-dbg_12.2.7-1_amd64.deb          python-rados_12.2.7-1_amd64.deb
ceph-resource-agents_12.2.7-1_amd64.deb  python-rados-dbg_12.2.7-1_amd64.deb
ceph-test_12.2.7-1_amd64.deb             python-rbd_12.2.7-1_amd64.deb
ceph-test-dbg_12.2.7-1_amd64.deb         python-rbd-dbg_12.2.7-1_amd64.deb
kat-cephbits                             python-rgw_12.2.7-1_amd64.deb
kat-cephbits.tar.gz                      python-rgw-dbg_12.2.7-1_amd64.deb
kattest_mycephfs                         radosgw_12.2.7-1_amd64.deb
libcephfs2_12.2.7-1_amd64.deb            radosgw-dbg_12.2.7-1_amd64.deb
libcephfs2-dbg_12.2.7-1_amd64.deb        rados-objclass-dev_12.2.7-1_amd64.deb
libcephfs-dev_12.2.7-1_amd64.deb         rbd-fuse_12.2.7-1_amd64.deb
libcephfs-java_12.2.7-1_all.deb          rbd-fuse-dbg_12.2.7-1_amd64.deb
libcephfs-jni_12.2.7-1_amd64.deb         rbd-mirror_12.2.7-1_amd64.deb
librados2_12.2.7-1_amd64.deb             rbd-mirror-dbg_12.2.7-1_amd64.deb
librados2-dbg_12.2.7-1_amd64.deb         rbd-nbd_12.2.7-1_amd64.deb
librados-dev_12.2.7-1_amd64.deb          rbd-nbd-dbg_12.2.7-1_amd64.deb
libradosstriper1_12.2.7-1_amd64.deb      skyhook-build-ceph-store-data.sh
libradosstriper1-dbg_12.2.7-1_amd64.deb  skyhookdb-ceph
libradosstriper-dev_12.2.7-1_amd64.deb   skyhookdb.testdb.lineitem.oid.1
librbd1_12.2.7-1_amd64.deb               skyhookdb.testdb.lineitem.oid.6
minion@rackform4:~/projects$ 
  1. Transfer the deb files to somewhere in the cloudlab directory. Multiple methods are possible. Tarring is recommended. Also, be sure to use a tmux session; this is also gonna take awhile.
minion@rackform4:~/projects$ mkdir kattest_mycephfs
minion@rackform4:~/projects$ cp *.deb kattest_mycephfs/
minion@rackform4:~/projects$ tar -czvf kat-cephbits.tar.gz kat-cephbits/
minion@rackform4:~/projects$ scp kat-cephbits.tar.gz [email protected]:/proj/skyhook-PG0/cephbits/