Skip to content

Instantly share code, notes, and snippets.

@nlienard
Created February 10, 2016 14:48
Show Gist options
  • Save nlienard/28f2b36c3a129df07309 to your computer and use it in GitHub Desktop.
Save nlienard/28f2b36c3a129df07309 to your computer and use it in GitHub Desktop.
root@dnxovh-hy001:~# ceph-deploy uninstall node1 node2
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.20): /usr/bin/ceph-deploy uninstall node1 node2
[ceph_deploy.install][INFO ] note that some dependencies *will not* be removed because they can cause issues with qemu-kvm
[ceph_deploy.install][INFO ] like: librbd1 and librados2
[ceph_deploy.install][DEBUG ] Uninstalling on cluster ceph hosts node1 node2
[ceph_deploy.install][DEBUG ] Detecting platform for host node1 ...
[node1][DEBUG ] connected to host: node1
[node1][DEBUG ] detect platform information from remote host
[node1][DEBUG ] detect machine type
[ceph_deploy.install][INFO ] Distro info: Ubuntu 15.10 wily
[node1][INFO ] uninstalling ceph on node1
[node1][INFO ] Running command: apt-get -q remove -f -y --force-yes ceph ceph-mds ceph-common ceph-fs-common
[node1][DEBUG ] Reading package lists...
[node1][DEBUG ] Building dependency tree...
[node1][DEBUG ] Reading state information...
[node1][DEBUG ] The following packages were automatically installed and are no longer required:
[node1][DEBUG ] cryptsetup-bin libcephfs1 libgoogle-perftools4 libjs-jquery libleveldb1v5
[node1][DEBUG ] libopts25 libsnappy1v5 libtcmalloc-minimal4 libunwind8 ntp python-blinker
[node1][DEBUG ] python-cephfs python-flask python-itsdangerous python-jinja2
[node1][DEBUG ] python-markupsafe python-pyinotify python-rados python-rbd python-werkzeug
[node1][DEBUG ] Use 'apt-get autoremove' to remove them.
[node1][DEBUG ] The following packages will be REMOVED:
[node1][DEBUG ] ceph ceph-common ceph-fs-common ceph-mds
[node1][DEBUG ] 0 upgraded, 0 newly installed, 4 to remove and 3 not upgraded.
[node1][DEBUG ] After this operation, 88.5 MB disk space will be freed.
(Reading database ... 89342 files and directories currently installed.)
[node1][DEBUG ] Removing ceph-mds (0.94.5-0ubuntu0.15.10.1) ...
[node1][DEBUG ] invoke-rc.d: ceph-mds-all.service doesn't exist but the upstart job does. Nothing to start or stop until a systemd or init job is present.
[node1][DEBUG ] Removing ceph (0.94.5-0ubuntu0.15.10.1) ...
[node1][DEBUG ] invoke-rc.d: ceph-all.service doesn't exist but the upstart job does. Nothing to start or stop until a systemd or init job is present.
[node1][DEBUG ] Removing ceph-common (0.94.5-0ubuntu0.15.10.1) ...
[node1][DEBUG ] Removing ceph-fs-common (0.94.5-0ubuntu0.15.10.1) ...
[node1][DEBUG ] Processing triggers for man-db (2.7.4-1) ...
[ceph_deploy.install][DEBUG ] Detecting platform for host node2 ...
[node2][DEBUG ] connected to host: node2
[node2][DEBUG ] detect platform information from remote host
[node2][DEBUG ] detect machine type
[ceph_deploy.install][INFO ] Distro info: Ubuntu 15.10 wily
[node2][INFO ] uninstalling ceph on node2
[node2][INFO ] Running command: apt-get -q remove -f -y --force-yes ceph ceph-mds ceph-common ceph-fs-common
[node2][DEBUG ] Reading package lists...
[node2][DEBUG ] Building dependency tree...
[node2][DEBUG ] Reading state information...
[node2][DEBUG ] The following packages were automatically installed and are no longer required:
[node2][DEBUG ] cryptsetup-bin libcephfs1 libgoogle-perftools4 libjs-jquery libleveldb1v5
[node2][DEBUG ] libopts25 libsnappy1v5 libtcmalloc-minimal4 libunwind8 ntp python-blinker
[node2][DEBUG ] python-cephfs python-flask python-itsdangerous python-jinja2
[node2][DEBUG ] python-markupsafe python-pyinotify python-rados python-rbd python-werkzeug
[node2][DEBUG ] Use 'apt-get autoremove' to remove them.
[node2][DEBUG ] The following packages will be REMOVED
[node2][DEBUG ] ceph ceph-common ceph-fs-common ceph-mds
[node2][DEBUG ] 0 to upgrade, 0 to newly install, 4 to remove and 3 not to upgrade.
[node2][DEBUG ] After this operation, 88.5 MB disk space will be freed.
(Reading database ... 96749 files and directories currently installed.)
[node2][DEBUG ] Removing ceph-mds (0.94.5-0ubuntu0.15.10.1) ...
[node2][DEBUG ] Removing ceph (0.94.5-0ubuntu0.15.10.1) ...
[node2][DEBUG ] Removing ceph-common (0.94.5-0ubuntu0.15.10.1) ...
[node2][DEBUG ] Removing ceph-fs-common (0.94.5-0ubuntu0.15.10.1) ...
[node2][DEBUG ] Processing triggers for man-db (2.7.4-1) ...
root@dnxovh-hy001:~# ceph-deploy purgedata ceph1 ceph2
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.20): /usr/bin/ceph-deploy purgedata ceph1 ceph2
[ceph_deploy.install][DEBUG ] Purging data from cluster ceph hosts ceph1 ceph2
[ceph1][DEBUG ] connected to host: ceph1
[ceph1][DEBUG ] detect platform information from remote host
[ceph1][DEBUG ] detect machine type
[ceph1][DEBUG ] find the location of an executable
[ceph2][DEBUG ] connected to host: ceph2
[ceph2][DEBUG ] detect platform information from remote host
[ceph2][DEBUG ] detect machine type
[ceph2][DEBUG ] find the location of an executable
[ceph1][DEBUG ] connected to host: ceph1
[ceph1][DEBUG ] detect platform information from remote host
[ceph1][DEBUG ] detect machine type
[ceph_deploy.install][INFO ] Distro info: Ubuntu 15.10 wily
[ceph1][INFO ] purging data on ceph1
[ceph1][INFO ] Running command: rm -rf --one-file-system -- /var/lib/ceph
[ceph1][INFO ] Running command: rm -rf --one-file-system -- /etc/ceph/
[ceph2][DEBUG ] connected to host: ceph2
[ceph2][DEBUG ] detect platform information from remote host
[ceph2][DEBUG ] detect machine type
[ceph_deploy.install][INFO ] Distro info: Ubuntu 15.10 wily
[ceph2][INFO ] purging data on ceph2
[ceph2][INFO ] Running command: rm -rf --one-file-system -- /var/lib/ceph
[ceph2][INFO ] Running command: rm -rf --one-file-system -- /etc/ceph/
root@dnxovh-hy001:~# ceph-deploy new ceph1
root@dnxovh-hy001:~# ceph-deploy new ceph1
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.20): /usr/bin/ceph-deploy new ceph1
[ceph_deploy.new][DEBUG ] Creating new cluster named ceph
[ceph_deploy.new][INFO ] making sure passwordless SSH succeeds
[ceph1][DEBUG ] connected to host: dnxovh-hy001.localdomain
[ceph1][INFO ] Running command: ssh -CT -o BatchMode=yes ceph1
[ceph1][DEBUG ] connected to host: ceph1
[ceph1][DEBUG ] detect platform information from remote host
[ceph1][DEBUG ] detect machine type
[ceph1][DEBUG ] find the location of an executable
[ceph1][INFO ] Running command: /bin/ip link show
[ceph1][INFO ] Running command: /bin/ip addr show
[ceph1][DEBUG ] IP addresses found: ['149.202.85.153', '192.168.122.1', '10.0.0.1', '192.168.1.1']
[ceph_deploy.new][DEBUG ] Resolving host ceph1
[ceph_deploy.new][DEBUG ] Monitor ceph1 at 10.0.0.1
[ceph_deploy.new][DEBUG ] Monitor initial members are ['ceph1']
[ceph_deploy.new][DEBUG ] Monitor addrs are ['10.0.0.1']
[ceph_deploy.new][DEBUG ] Creating a random mon key...
[ceph_deploy.new][DEBUG ] Writing monitor keyring to ceph.mon.keyring...
[ceph_deploy.new][DEBUG ] Writing initial config to ceph.conf...
root@dnxovh-hy001:~# ceph-deploy install ceph1 ceph2
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.20): /usr/bin/ceph-deploy install ceph1 ceph2
[ceph_deploy.install][DEBUG ] Installing stable version firefly on cluster ceph hosts ceph1 ceph2
[ceph_deploy.install][DEBUG ] Detecting platform for host ceph1 ...
[ceph1][DEBUG ] connected to host: ceph1
[ceph1][DEBUG ] detect platform information from remote host
[ceph1][DEBUG ] detect machine type
[ceph_deploy.install][INFO ] Distro info: Ubuntu 15.10 wily
[ceph1][INFO ] installing ceph on ceph1
[ceph1][INFO ] Running command: env DEBIAN_FRONTEND=noninteractive apt-get -q install --assume-yes ca-certificates
[ceph1][DEBUG ] Reading package lists...
[ceph1][DEBUG ] Building dependency tree...
[ceph1][DEBUG ] Reading state information...
[ceph1][DEBUG ] ca-certificates is already the newest version.
[ceph1][DEBUG ] The following packages were automatically installed and are no longer required:
[ceph1][DEBUG ] cryptsetup-bin libcephfs1 libgoogle-perftools4 libjs-jquery libleveldb1v5
[ceph1][DEBUG ] libopts25 libsnappy1v5 libtcmalloc-minimal4 libunwind8 ntp python-blinker
[ceph1][DEBUG ] python-cephfs python-flask python-itsdangerous python-jinja2
[ceph1][DEBUG ] python-markupsafe python-pyinotify python-rados python-rbd python-werkzeug
[ceph1][DEBUG ] Use 'apt-get autoremove' to remove them.
[ceph1][DEBUG ] 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
[ceph1][INFO ] Running command: apt-get -q update
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily InRelease
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates InRelease
[ceph1][DEBUG ] Hit http://ppa.launchpad.net wily InRelease
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports InRelease
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/main Sources
[ceph1][DEBUG ] Hit http://ppa.launchpad.net wily/main amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/restricted Sources
[ceph1][DEBUG ] Hit http://ppa.launchpad.net wily/main i386 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/universe Sources
[ceph1][DEBUG ] Hit http://ppa.launchpad.net wily/main Translation-en
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/multiverse Sources
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security InRelease
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/main amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/restricted amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/universe amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/multiverse amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/main i386 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/restricted i386 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/universe i386 Packages
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/main Sources
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/multiverse i386 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/main Translation-en
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/main Translation-en_GB
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/multiverse Translation-en
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/restricted Sources
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/multiverse Translation-en_GB
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/restricted Translation-en
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/restricted Translation-en_GB
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/universe Sources
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/universe Translation-en
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily/universe Translation-en_GB
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/main Sources
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/restricted Sources
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/universe Sources
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/multiverse Sources
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/multiverse Sources
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/main amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/restricted amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/universe amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/multiverse amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/main i386 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/restricted i386 Packages
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/main amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/universe i386 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/multiverse i386 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/main Translation-en
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/restricted amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/multiverse Translation-en
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/restricted Translation-en
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-updates/universe Translation-en
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/main Sources
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/universe amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/restricted Sources
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/universe Sources
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/multiverse Sources
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/main amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/restricted amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/universe amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/multiverse amd64 Packages
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/multiverse amd64 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/main i386 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/restricted i386 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/universe i386 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/multiverse i386 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/main Translation-en
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/multiverse Translation-en
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/main i386 Packages
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/restricted Translation-en
[ceph1][DEBUG ] Hit http://archive.ubuntu.com wily-backports/universe Translation-en
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/restricted i386 Packages
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/universe i386 Packages
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/multiverse i386 Packages
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/main Translation-en
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/multiverse Translation-en
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/restricted Translation-en
[ceph1][DEBUG ] Hit http://security.ubuntu.com wily-security/universe Translation-en
[ceph1][DEBUG ] Reading package lists...
[ceph1][INFO ] Running command: env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -q -o Dpkg::Options::=--force-confnew --no-install-recommends --assume-yes install -- ceph ceph-mds ceph-common ceph-fs-common gdisk
[ceph1][DEBUG ] Reading package lists...
[ceph1][DEBUG ] Building dependency tree...
[ceph1][DEBUG ] Reading state information...
[ceph1][DEBUG ] gdisk is already the newest version.
[ceph1][DEBUG ] Recommended packages:
[ceph1][DEBUG ] ceph-fuse
[ceph1][DEBUG ] The following NEW packages will be installed:
[ceph1][DEBUG ] ceph ceph-common ceph-fs-common ceph-mds
[ceph1][DEBUG ] 0 upgraded, 4 newly installed, 0 to remove and 3 not upgraded.
[ceph1][DEBUG ] Need to get 0 B/19.0 MB of archives.
[ceph1][DEBUG ] After this operation, 88.5 MB of additional disk space will be used.
[ceph1][DEBUG ] Selecting previously unselected package ceph-common.
(Reading database ... 89228 files and directories currently installed.)
[ceph1][DEBUG ] Preparing to unpack .../ceph-common_0.94.5-0ubuntu0.15.10.1_amd64.deb ...
[ceph1][DEBUG ] Unpacking ceph-common (0.94.5-0ubuntu0.15.10.1) ...
[ceph1][DEBUG ] Selecting previously unselected package ceph.
[ceph1][DEBUG ] Preparing to unpack .../ceph_0.94.5-0ubuntu0.15.10.1_amd64.deb ...
[ceph1][DEBUG ] Unpacking ceph (0.94.5-0ubuntu0.15.10.1) ...
[ceph1][DEBUG ] Selecting previously unselected package ceph-fs-common.
[ceph1][DEBUG ] Preparing to unpack .../ceph-fs-common_0.94.5-0ubuntu0.15.10.1_amd64.deb ...
[ceph1][DEBUG ] Unpacking ceph-fs-common (0.94.5-0ubuntu0.15.10.1) ...
[ceph1][DEBUG ] Selecting previously unselected package ceph-mds.
[ceph1][DEBUG ] Preparing to unpack .../ceph-mds_0.94.5-0ubuntu0.15.10.1_amd64.deb ...
[ceph1][DEBUG ] Unpacking ceph-mds (0.94.5-0ubuntu0.15.10.1) ...
[ceph1][DEBUG ] Processing triggers for man-db (2.7.4-1) ...
[ceph1][DEBUG ] Processing triggers for systemd (225-1ubuntu9) ...
[ceph1][DEBUG ] Processing triggers for ureadahead (0.100.0-19) ...
[ceph1][DEBUG ] Setting up ceph-common (0.94.5-0ubuntu0.15.10.1) ...
[ceph1][DEBUG ] Setting up ceph (0.94.5-0ubuntu0.15.10.1) ...
[ceph1][DEBUG ] invoke-rc.d: ceph-all.service doesn't exist but the upstart job does. Nothing to start or stop until a systemd or init job is present.
[ceph1][DEBUG ] ceph-mon.service is a disabled or a static unit, not starting it.
[ceph1][DEBUG ] ceph-create-keys.service is a disabled or a static unit, not starting it.
[ceph1][DEBUG ] Setting up ceph-fs-common (0.94.5-0ubuntu0.15.10.1) ...
[ceph1][DEBUG ] Setting up ceph-mds (0.94.5-0ubuntu0.15.10.1) ...
[ceph1][DEBUG ] invoke-rc.d: ceph-mds-all.service doesn't exist but the upstart job does. Nothing to start or stop until a systemd or init job is present.
[ceph1][DEBUG ] ceph-mds.service is a disabled or a static unit, not starting it.
[ceph1][INFO ] Running command: ceph --version
[ceph1][DEBUG ] ceph version 0.94.5 (9764da52395923e0b32908d83a9f7304401fee43)
[ceph_deploy.install][DEBUG ] Detecting platform for host ceph2 ...
[ceph2][DEBUG ] connected to host: ceph2
[ceph2][DEBUG ] detect platform information from remote host
[ceph2][DEBUG ] detect machine type
[ceph_deploy.install][INFO ] Distro info: Ubuntu 15.10 wily
[ceph2][INFO ] installing ceph on ceph2
[ceph2][INFO ] Running command: env DEBIAN_FRONTEND=noninteractive apt-get -q install --assume-yes ca-certificates
[ceph2][DEBUG ] Reading package lists...
[ceph2][DEBUG ] Building dependency tree...
[ceph2][DEBUG ] Reading state information...
[ceph2][DEBUG ] ca-certificates is already the newest version.
[ceph2][DEBUG ] The following packages were automatically installed and are no longer required:
[ceph2][DEBUG ] cryptsetup-bin libcephfs1 libgoogle-perftools4 libjs-jquery libleveldb1v5
[ceph2][DEBUG ] libopts25 libsnappy1v5 libtcmalloc-minimal4 libunwind8 ntp python-blinker
[ceph2][DEBUG ] python-cephfs python-flask python-itsdangerous python-jinja2
[ceph2][DEBUG ] python-markupsafe python-pyinotify python-rados python-rbd python-werkzeug
[ceph2][DEBUG ] Use 'apt-get autoremove' to remove them.
[ceph2][DEBUG ] 0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade.
[ceph2][INFO ] Running command: apt-get -q update
[ceph2][DEBUG ] Hit http://ppa.launchpad.net wily InRelease
[ceph2][DEBUG ] Hit http://ppa.launchpad.net wily/main amd64 Packages
[ceph2][DEBUG ] Hit http://ppa.launchpad.net wily/main i386 Packages
[ceph2][DEBUG ] Hit http://ppa.launchpad.net wily/main Translation-en
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security InRelease
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/main Sources
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/restricted Sources
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/universe Sources
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/multiverse Sources
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/main amd64 Packages
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/restricted amd64 Packages
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/universe amd64 Packages
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/multiverse amd64 Packages
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/main i386 Packages
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/restricted i386 Packages
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/universe i386 Packages
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/multiverse i386 Packages
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/main Translation-en
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/multiverse Translation-en
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/restricted Translation-en
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily InRelease
[ceph2][DEBUG ] Hit http://security.ubuntu.com wily-security/universe Translation-en
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates InRelease
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports InRelease
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/main Sources
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/restricted Sources
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/universe Sources
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/multiverse Sources
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/main amd64 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/restricted amd64 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/universe amd64 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/multiverse amd64 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/main i386 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/restricted i386 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/universe i386 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/multiverse i386 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/main Translation-en_GB
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/main Translation-en
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/multiverse Translation-en_GB
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/multiverse Translation-en
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/restricted Translation-en_GB
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/restricted Translation-en
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/universe Translation-en_GB
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily/universe Translation-en
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/main Sources
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/restricted Sources
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/universe Sources
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/multiverse Sources
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/main amd64 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/restricted amd64 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/universe amd64 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/multiverse amd64 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/main i386 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/restricted i386 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/universe i386 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/multiverse i386 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/main Translation-en
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/multiverse Translation-en
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/restricted Translation-en
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-updates/universe Translation-en
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/main Sources
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/restricted Sources
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/universe Sources
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/multiverse Sources
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/main amd64 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/restricted amd64 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/universe amd64 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/multiverse amd64 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/main i386 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/restricted i386 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/universe i386 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/multiverse i386 Packages
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/main Translation-en
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/multiverse Translation-en
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/restricted Translation-en
[ceph2][DEBUG ] Hit http://ubuntu.mirrors.ovh.net wily-backports/universe Translation-en
[ceph2][DEBUG ] Reading package lists...
[ceph2][INFO ] Running command: env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -q -o Dpkg::Options::=--force-confnew --no-install-recommends --assume-yes install -- ceph ceph-mds ceph-common ceph-fs-common gdisk
[ceph2][DEBUG ] Reading package lists...
[ceph2][DEBUG ] Building dependency tree...
[ceph2][DEBUG ] Reading state information...
[ceph2][DEBUG ] gdisk is already the newest version.
[ceph2][DEBUG ] Recommended packages:
[ceph2][DEBUG ] ceph-fuse
[ceph2][DEBUG ] The following NEW packages will be installed
[ceph2][DEBUG ] ceph ceph-common ceph-fs-common ceph-mds
[ceph2][DEBUG ] 0 to upgrade, 4 to newly install, 0 to remove and 3 not to upgrade.
[ceph2][DEBUG ] Need to get 0 B/19.0 MB of archives.
[ceph2][DEBUG ] After this operation, 88.5 MB of additional disk space will be used.
[ceph2][DEBUG ] Selecting previously unselected package ceph-common.
(Reading database ... 96636 files and directories currently installed.)
[ceph2][DEBUG ] Preparing to unpack .../ceph-common_0.94.5-0ubuntu0.15.10.1_amd64.deb ...
[ceph2][DEBUG ] Unpacking ceph-common (0.94.5-0ubuntu0.15.10.1) ...
[ceph2][DEBUG ] Selecting previously unselected package ceph.
[ceph2][DEBUG ] Preparing to unpack .../ceph_0.94.5-0ubuntu0.15.10.1_amd64.deb ...
[ceph2][DEBUG ] Unpacking ceph (0.94.5-0ubuntu0.15.10.1) ...
[ceph2][DEBUG ] Selecting previously unselected package ceph-fs-common.
[ceph2][DEBUG ] Preparing to unpack .../ceph-fs-common_0.94.5-0ubuntu0.15.10.1_amd64.deb ...
[ceph2][DEBUG ] Unpacking ceph-fs-common (0.94.5-0ubuntu0.15.10.1) ...
[ceph2][DEBUG ] Selecting previously unselected package ceph-mds.
[ceph2][DEBUG ] Preparing to unpack .../ceph-mds_0.94.5-0ubuntu0.15.10.1_amd64.deb ...
[ceph2][DEBUG ] Unpacking ceph-mds (0.94.5-0ubuntu0.15.10.1) ...
[ceph2][DEBUG ] Processing triggers for man-db (2.7.4-1) ...
[ceph2][DEBUG ] Processing triggers for systemd (225-1ubuntu9) ...
[ceph2][DEBUG ] Processing triggers for ureadahead (0.100.0-19) ...
[ceph2][DEBUG ] Setting up ceph-common (0.94.5-0ubuntu0.15.10.1) ...
[ceph2][DEBUG ] Setting up ceph (0.94.5-0ubuntu0.15.10.1) ...
[ceph2][DEBUG ] ceph-mon.service is a disabled or a static unit, not starting it.
[ceph2][DEBUG ] ceph-create-keys.service is a disabled or a static unit, not starting it.
[ceph2][DEBUG ] Setting up ceph-fs-common (0.94.5-0ubuntu0.15.10.1) ...
[ceph2][DEBUG ] Setting up ceph-mds (0.94.5-0ubuntu0.15.10.1) ...
[ceph2][DEBUG ] ceph-mds.service is a disabled or a static unit, not starting it.
[ceph2][INFO ] Running command: ceph --version
[ceph2][DEBUG ] ceph version 0.94.5 (9764da52395923e0b32908d83a9f7304401fee43)
root@dnxovh-hy001:~# ceph-deploy mon create-initial
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.20): /usr/bin/ceph-deploy mon create-initial
[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts ceph1
[ceph_deploy.mon][DEBUG ] detecting platform for host ceph1 ...
[ceph1][DEBUG ] connected to host: ceph1
[ceph1][DEBUG ] detect platform information from remote host
[ceph1][DEBUG ] detect machine type
[ceph_deploy.mon][INFO ] distro info: Ubuntu 15.10 wily
[ceph1][DEBUG ] determining if provided host has same hostname in remote
[ceph1][DEBUG ] get remote short hostname
[ceph1][WARNIN] ********************************************************************************
[ceph1][WARNIN] provided hostname must match remote hostname
[ceph1][WARNIN] provided hostname: ceph1
[ceph1][WARNIN] remote hostname: dnxovh-hy001
[ceph1][WARNIN] monitors may not reach quorum and create-keys will not complete
[ceph1][WARNIN] ********************************************************************************
[ceph1][DEBUG ] deploying mon to ceph1
[ceph1][DEBUG ] get remote short hostname
[ceph1][DEBUG ] remote hostname: dnxovh-hy001
[ceph1][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[ceph1][DEBUG ] create the mon path if it does not exist
[ceph1][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-dnxovh-hy001/done
[ceph1][DEBUG ] done path does not exist: /var/lib/ceph/mon/ceph-dnxovh-hy001/done
[ceph1][INFO ] creating keyring file: /var/lib/ceph/tmp/ceph-dnxovh-hy001.mon.keyring
[ceph1][DEBUG ] create the monitor keyring file
[ceph1][INFO ] Running command: ceph-mon --cluster ceph --mkfs -i dnxovh-hy001 --keyring /var/lib/ceph/tmp/ceph-dnxovh-hy001.mon.keyring
[ceph1][DEBUG ] ceph-mon: mon.noname-a 10.0.0.1:6789/0 is local, renaming to mon.dnxovh-hy001
[ceph1][DEBUG ] ceph-mon: set fsid to 48111cef-73c7-4a70-b0bd-8e9e94db4b03
[ceph1][DEBUG ] ceph-mon: created monfs at /var/lib/ceph/mon/ceph-dnxovh-hy001 for mon.dnxovh-hy001
[ceph1][INFO ] unlinking keyring file /var/lib/ceph/tmp/ceph-dnxovh-hy001.mon.keyring
[ceph1][DEBUG ] create a done file to avoid re-doing the mon deployment
[ceph1][DEBUG ] create the init path if it does not exist
[ceph1][DEBUG ] locating the `service` executable...
[ceph1][INFO ] Running command: initctl emit ceph-mon cluster=ceph id=dnxovh-hy001
[ceph1][WARNIN] initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
[ceph1][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy.mon][ERROR ] Failed to execute command: initctl emit ceph-mon cluster=ceph id=dnxovh-hy001
[ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors
root@dnxovh-hy001:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment