Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- saumya@saumyapc:~/my-cluster$ ceph-deploy new saumyapc
- [ceph_deploy.new][DEBUG ] Creating new cluster named ceph
- [ceph_deploy.new][DEBUG ] Resolving host saumyapc
- [ceph_deploy.new][DEBUG ] Monitor saumyapc at 10.1.97.211
- [ceph_deploy.new][DEBUG ] Monitor initial members are ['saumyapc']
- [ceph_deploy.new][DEBUG ] Monitor addrs are ['10.1.97.211']
- [ceph_deploy.new][DEBUG ] Creating a random mon key...
- [ceph_deploy.new][DEBUG ] Writing initial config to ceph.conf...
- [ceph_deploy.new][DEBUG ] Writing monitor keyring to ceph.mon.keyring...
- saumya@saumyapc:~/my-cluster$ vim ceph.conf
- saumya@saumyapc:~/my-cluster$ vim /home/saumya/.ssh/config
- saumya@saumyapc:~/my-cluster$ vim /etc/hosts
- saumya@saumyapc:~/my-cluster$ ceph-deploy install mon-ceph-node
- [ceph_deploy.install][DEBUG ] Installing stable version dumpling on cluster ceph hosts mon-ceph-node
- [ceph_deploy.install][DEBUG ] Detecting platform for host mon-ceph-node ...
- [ceph_deploy][ERROR ] ClientInitException:
- [remote] ssh: Could not resolve hostname mon-ceph-node: Name or service not known
- saumya@saumyapc:~/my-cluster$ ceph-deploy install saumyapc
- [ceph_deploy.install][DEBUG ] Installing stable version dumpling on cluster ceph hosts saumyapc
- [ceph_deploy.install][DEBUG ] Detecting platform for host saumyapc ...
- [ceph_deploy.install][INFO ] Distro info: Ubuntu 12.04 precise
- [saumyapc][INFO ] installing ceph on saumyapc
- [saumyapc][INFO ] Running command: env DEBIAN_FRONTEND=noninteractive apt-get -q install --assume-yes ca-certificates
- [saumyapc][INFO ] Reading package lists...
- [saumyapc][INFO ] Building dependency tree...
- [saumyapc][INFO ] Reading state information...
- [saumyapc][INFO ] ca-certificates is already the newest version.
- [saumyapc][INFO ] 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
- [saumyapc][INFO ] Running command: wget -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | apt-key add -
- [saumyapc][INFO ] OK
- [saumyapc][INFO ] add ceph deb repo to sources.list
- [saumyapc][INFO ] Running command: apt-get -q update
- [saumyapc][INFO ] Ign cdrom://Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release i386 (20130213) precise/main TranslationIndex
- [saumyapc][INFO ] Ign cdrom://Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release i386 (20130213) precise/restricted TranslationIndex
- [saumyapc][INFO ] Ign cdrom://Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release i386 (20130213) precise/main Translation-en
- [saumyapc][INFO ] Ign cdrom://Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release i386 (20130213) precise/restricted Translation-en
- [saumyapc][INFO ] Hit http://dl.google.com stable Release.gpg
- [saumyapc][INFO ] Hit http://dl.google.com stable Release.gpg
- [saumyapc][INFO ] Hit http://extras.ubuntu.com precise Release.gpg
- [saumyapc][INFO ] Hit http://archive.canonical.com precise Release.gpg
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise Release.gpg
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security Release.gpg
- [saumyapc][INFO ] Hit http://archive.scrapy.org precise Release.gpg
- [saumyapc][INFO ] Hit http://dl.google.com stable Release
- [saumyapc][INFO ] Hit http://ppa.launchpad.net precise Release.gpg
- [saumyapc][INFO ] Hit http://dl.google.com stable Release
- [saumyapc][INFO ] Hit http://ppa.launchpad.net precise Release.gpg
- [saumyapc][INFO ] Hit http://extras.ubuntu.com precise Release
- [saumyapc][INFO ] Hit http://archive.canonical.com precise Release
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates Release.gpg
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security Release
- [saumyapc][INFO ] Hit http://archive.scrapy.org precise Release
- [saumyapc][INFO ] Hit http://dl.google.com stable/main i386 Packages
- [saumyapc][INFO ] Hit http://ppa.launchpad.net precise Release.gpg
- [saumyapc][INFO ] Hit http://ceph.com precise Release.gpg
- [saumyapc][INFO ] Ign http://dl.google.com stable/main TranslationIndex
- [saumyapc][INFO ] Hit http://extras.ubuntu.com precise/main Sources
- [saumyapc][INFO ] Hit http://archive.canonical.com precise/partner i386 Packages
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports Release.gpg
- [saumyapc][INFO ] Hit http://ppa.launchpad.net precise Release
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/main Sources
- [saumyapc][INFO ] Hit http://archive.scrapy.org precise/main i386 Packages
- [saumyapc][INFO ] Hit http://dl.google.com stable/main i386 Packages
- [saumyapc][INFO ] Hit http://ppa.launchpad.net precise Release
- [saumyapc][INFO ] Hit http://ceph.com precise Release
- [saumyapc][INFO ] Ign http://dl.google.com stable/main TranslationIndex
- [saumyapc][INFO ] Hit http://extras.ubuntu.com precise/main i386 Packages
- [saumyapc][INFO ] Ign http://archive.canonical.com precise/partner TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise Release
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/restricted Sources
- [saumyapc][INFO ] Ign http://archive.scrapy.org precise/main TranslationIndex
- [saumyapc][INFO ] Hit http://ppa.launchpad.net precise Release
- [saumyapc][INFO ] Hit http://ppa.launchpad.net precise/main Sources
- [saumyapc][INFO ] Hit http://ceph.com precise/main i386 Packages
- [saumyapc][INFO ] Ign http://extras.ubuntu.com precise/main TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates Release
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/universe Sources
- [saumyapc][INFO ] Hit http://ppa.launchpad.net precise/main i386 Packages
- [saumyapc][INFO ] Ign http://ceph.com precise/main TranslationIndex
- [saumyapc][INFO ] Ign http://ppa.launchpad.net precise/main TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports Release
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/multiverse Sources
- [saumyapc][INFO ] Hit http://ppa.launchpad.net precise/main Sources
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/main Sources
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/main i386 Packages
- [saumyapc][INFO ] Hit http://ppa.launchpad.net precise/main i386 Packages
- [saumyapc][INFO ] Ign http://ppa.launchpad.net precise/main TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/restricted Sources
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/restricted i386 Packages
- [saumyapc][INFO ] Ign http://dl.google.com stable/main Translation-en
- [saumyapc][INFO ] Hit http://ppa.launchpad.net precise/main Sources
- [saumyapc][INFO ] Ign http://dl.google.com stable/main Translation-en
- [saumyapc][INFO ] Ign http://archive.canonical.com precise/partner Translation-en
- [saumyapc][INFO ] Hit http://ppa.launchpad.net precise/main i386 Packages
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/universe Sources
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/universe i386 Packages
- [saumyapc][INFO ] Ign http://archive.scrapy.org precise/main Translation-en
- [saumyapc][INFO ] Ign http://ppa.launchpad.net precise/main TranslationIndex
- [saumyapc][INFO ] Ign http://extras.ubuntu.com precise/main Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/multiverse Sources
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/main i386 Packages
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/main TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/restricted i386 Packages
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/universe i386 Packages
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/multiverse i386 Packages
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/universe TranslationIndex
- [saumyapc][INFO ] Ign http://ceph.com precise/main Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/main TranslationIndex
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/main Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/multiverse TranslationIndex
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/multiverse Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/restricted TranslationIndex
- [saumyapc][INFO ] Ign http://ppa.launchpad.net precise/main Translation-en
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/restricted Translation-en
- [saumyapc][INFO ] Ign http://ppa.launchpad.net precise/main Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/universe TranslationIndex
- [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/universe Translation-en
- [saumyapc][INFO ] Ign http://ppa.launchpad.net precise/main Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/main Sources
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/restricted Sources
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/universe Sources
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/multiverse Sources
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/main i386 Packages
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/restricted i386 Packages
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/universe i386 Packages
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/multiverse i386 Packages
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/main TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/multiverse TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/restricted TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/universe TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/main Sources
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/restricted Sources
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/universe Sources
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/multiverse Sources
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/main i386 Packages
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/restricted i386 Packages
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/universe i386 Packages
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/multiverse i386 Packages
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/main TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/multiverse TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/restricted TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/universe TranslationIndex
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/main Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/multiverse Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/restricted Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/universe Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/main Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/multiverse Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/restricted Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/universe Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/main Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/multiverse Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/restricted Translation-en
- [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/universe Translation-en
- [saumyapc][INFO ] Reading package lists...
- [saumyapc][INFO ] Running command: env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -q -o Dpkg::Options::=--force-confnew install --no-install-recommends --assume-yes -- ceph ceph-mds ceph-common ceph-fs-common gdisk
- [saumyapc][INFO ] Reading package lists...
- [saumyapc][INFO ] Building dependency tree...
- [saumyapc][INFO ] Reading state information...
- [saumyapc][INFO ] gdisk is already the newest version.
- [saumyapc][INFO ] ceph is already the newest version.
- [saumyapc][INFO ] ceph-common is already the newest version.
- [saumyapc][INFO ] ceph-fs-common is already the newest version.
- [saumyapc][INFO ] ceph-mds is already the newest version.
- [saumyapc][INFO ] 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
- [saumyapc][INFO ] Running command: ceph --version
- [saumyapc][INFO ] ceph version 0.67.3 (408cd61584c72c0d97b774b3d8f95c6b1b06341a)
- saumya@saumyapc:~/my-cluster$ ceph-deploy mon create saumyapc
- [ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts saumyapc
- [ceph_deploy.mon][DEBUG ] detecting platform for host saumyapc ...
- [ceph_deploy.mon][INFO ] distro info: Ubuntu 12.04 precise
- [saumyapc][DEBUG ] deploying mon to saumyapc
- [saumyapc][DEBUG ] remote hostname: saumyapc
- [saumyapc][INFO ] write cluster configuration to /etc/ceph/{cluster}.conf
- [saumyapc][ERROR ] Traceback (most recent call last):
- [saumyapc][ERROR ] File "/usr/lib/python2.7/dist-packages/ceph_deploy/util/decorators.py", line 10, in inner
- [saumyapc][ERROR ] def inner(*args, **kwargs):
- [saumyapc][ERROR ] File "/usr/lib/python2.7/dist-packages/ceph_deploy/conf.py", line 12, in write_conf
- [saumyapc][ERROR ] line = self.fp.readline()
- [saumyapc][ERROR ] RuntimeError: config file /etc/ceph/ceph.conf exists with different content; use --overwrite-conf to overwrite
- [saumyapc][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-saumyapc/done
- [saumyapc][INFO ] create a done file to avoid re-doing the mon deployment
- [saumyapc][INFO ] create the init path if it does not exist
- [saumyapc][INFO ] Running command: initctl emit ceph-mon cluster=ceph id=saumyapc
- saumya@saumyapc:~/my-cluster$ ceph-deploy --overwrite-conf mon create saumyapc
- [ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts saumyapc
- [ceph_deploy.mon][DEBUG ] detecting platform for host saumyapc ...
- [ceph_deploy.mon][INFO ] distro info: Ubuntu 12.04 precise
- [saumyapc][DEBUG ] deploying mon to saumyapc
- [saumyapc][DEBUG ] remote hostname: saumyapc
- [saumyapc][INFO ] write cluster configuration to /etc/ceph/{cluster}.conf
- [saumyapc][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-saumyapc/done
- [saumyapc][INFO ] create a done file to avoid re-doing the mon deployment
- [saumyapc][INFO ] create the init path if it does not exist
- [saumyapc][INFO ] Running command: initctl emit ceph-mon cluster=ceph id=saumyapc
- saumya@saumyapc:~/my-cluster$ ceph-deploy gatherkeys saumyapc
- [ceph_deploy.gatherkeys][DEBUG ] Checking saumyapc for /etc/ceph/ceph.client.admin.keyring
- [ceph_deploy.gatherkeys][WARNIN] Unable to find /etc/ceph/ceph.client.admin.keyring on ['saumyapc']
- [ceph_deploy.gatherkeys][DEBUG ] Have ceph.mon.keyring
- [ceph_deploy.gatherkeys][DEBUG ] Checking saumyapc for /var/lib/ceph/bootstrap-osd/ceph.keyring
- [ceph_deploy.gatherkeys][WARNIN] Unable to find /var/lib/ceph/bootstrap-osd/ceph.keyring on ['saumyapc']
- [ceph_deploy.gatherkeys][DEBUG ] Checking saumyapc for /var/lib/ceph/bootstrap-mds/ceph.keyring
- [ceph_deploy.gatherkeys][WARNIN] Unable to find /var/lib/ceph/bootstrap-mds/ceph.keyring on ['saumyapc']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement