[ceph-users] OSD activate hangs

2015-08-30 Thread pavana bhat
Hi,

I am trying to ceph-deploy with Hammer on rhel7. While trying to activate
the OSD using ceph-deploy on admin-node, the below step hangs. I tried to
run it manually on the osd-node and tried tracing using python -m trace
--trace . It looks like it is stuck in some threading.py code. Can someone
please help?

[*ceph-vm-osd1*][*WARNIN*] INFO:ceph-disk:Running command: /usr/bin/ceph
--cluster ceph --name client.bootstrap-osd --keyring
/var/lib/ceph/bootstrap-osd/ceph.keyring osd create --concise
c2d19639-f3ec-447d-9a7c-a180a226dded

[*ceph-vm-osd1*][*WARNIN*] No data was received after 300 seconds,
disconnecting...



*Manual run with --verbose option:*


[cloud-user@ceph-vm-osd1 ~]$ sudo /usr/bin/ceph --verbose --cluster ceph
--name client.bootstrap-osd --keyring
/var/lib/ceph/bootstrap-osd/ceph.keyring osd create
c2d19639-f3ec-447d-9a7c-a180a226dded

parsed_args: Namespace(admin_socket=None, admin_socket_nope=None,
cephconf=None, client_id=None, client_name='client.bootstrap-osd',
cluster='ceph', cluster_timeout=None, completion=False, help=False,
input_file=None, output_file=None, output_format=None, status=False,
verbose=True, version=False, watch=False, watch_debug=False,
watch_error=False, watch_info=False, watch_sec=False, watch_warn=False),
childargs: ['--keyring', '/var/lib/ceph/bootstrap-osd/ceph.keyring', 'osd',
'create', 'c2d19639-f3ec-447d-9a7c-a180a226dded']

^CError connecting to cluster: InterruptedOrTimeoutError


*Manual run with python -m trace --trace :*

truncated


 --- modulename: threading, funcname: _note

threading.py(64): if self.__verbose:

threading.py(946): self.__block.acquire()

threading.py(947): try:

threading.py(948): if timeout is None:

threading.py(954): deadline = _time() + timeout

threading.py(955): while not self.__stopped:

threading.py(956): delay = deadline - _time()

threading.py(957): if delay = 0:

threading.py(961): self.__block.wait(delay, balancing)

 --- modulename: threading, funcname: wait

threading.py(331): if not self._is_owned():

 --- modulename: threading, funcname: _is_owned

threading.py(302): if self.__lock.acquire(0):

threading.py(306): return True

threading.py(333): waiter = _allocate_lock()

threading.py(334): waiter.acquire()

threading.py(335): self.__waiters.append(waiter)

threading.py(336): saved_state = self._release_save()

 --- modulename: threading, funcname: _release_save

threading.py(294): self.__lock.release()   # No state to
save

threading.py(337): try:# restore state no matter what (e.g.,
KeyboardInterrupt)

threading.py(338): if timeout is None:

threading.py(348): endtime = _time() + timeout

threading.py(349): delay = 0.0005 # 500 us - initial delay
of 1 ms

threading.py(350): while True:

threading.py(351): gotit = waiter.acquire(0)

threading.py(352): if gotit:

threading.py(354): remaining = endtime - _time()

threading.py(355): if remaining = 0:

threading.py(357): if balancing:

threading.py(358): delay = min(delay * 2,
remaining, 0.05)

threading.py(361): _sleep(delay)

 --- modulename: threading, funcname: _note

threading.py(64): if self.__verbose:

 --- modulename: threading, funcname: __stop

threading.py(870): if not hasattr(self, '_Thread__block'):

threading.py(872): self.__block.acquire()

threading.py(873): self.__stopped = True

threading.py(874): self.__block.notify_all()

 --- modulename: threading, funcname: notifyAll

threading.py(409): self.notify(len(self.__waiters))

 --- modulename: threading, funcname: notify

threading.py(385): if not self._is_owned():

 --- modulename: threading, funcname: _is_owned

threading.py(302): if self.__lock.acquire(0):

threading.py(306): return True

threading.py(387): __waiters = self.__waiters

threading.py(388): waiters = __waiters[:n]

threading.py(389): if not waiters:

threading.py(393): self._note(%s.notify(): notifying %d waiter%s,
self, n,

threading.py(394):n!=1 and s or )

 --- modulename: threading, funcname: _note

threading.py(64): if self.__verbose:

threading.py(395): for waiter in waiters:

threading.py(396): waiter.release()

threading.py(397): try:

threading.py(398): __waiters.remove(waiter)

threading.py(395): for waiter in waiters:

threading.py(875): self.__block.release()

threading.py(350): while True:

threading.py(351): gotit = waiter.acquire(0)

threading.py(352):   

Re: [ceph-users] Ceph-deploy error

2015-08-30 Thread pavana bhat
In case someone else runs into the same issue in future:

I came out of this issue by installing epel-release before installing
ceph-deploy. If the order of installation is ceph-deploy followed by
epel-release, the issue is being hit.

Thanks,
Pavana

On Sat, Aug 29, 2015 at 10:02 AM, pavana bhat pavanakrishnab...@gmail.com
wrote:

 Hi,

 I'm trying to install ceph for the first time following the quick
 installation guide. I'm getting the below error, can someone please help?

 ceph-deploy install --release=firefly ceph-vm-mon1

 [*ceph_deploy.conf*][*DEBUG* ] found configuration file at:
 /home/cloud-user/.cephdeploy.conf

 [*ceph_deploy.cli*][*INFO*  ] Invoked (1.5.28): /usr/bin/ceph-deploy
 install --release=firefly ceph-vm-mon1

 [*ceph_deploy.cli*][*INFO*  ] ceph-deploy options:

 [*ceph_deploy.cli*][*INFO*  ]  verbose   : False

 [*ceph_deploy.cli*][*INFO*  ]  testing   : None

 [*ceph_deploy.cli*][*INFO*  ]  cd_conf   :
 ceph_deploy.conf.cephdeploy.Conf instance at 0xaab248

 [*ceph_deploy.cli*][*INFO*  ]  cluster   : ceph

 [*ceph_deploy.cli*][*INFO*  ]  install_mds   : False

 [*ceph_deploy.cli*][*INFO*  ]  stable: None

 [*ceph_deploy.cli*][*INFO*  ]  default_release   : False

 [*ceph_deploy.cli*][*INFO*  ]  username  : None

 [*ceph_deploy.cli*][*INFO*  ]  adjust_repos  : True

 [*ceph_deploy.cli*][*INFO*  ]  func  : function
 install at 0x7f34b410e938

 [*ceph_deploy.cli*][*INFO*  ]  install_all   : False

 [*ceph_deploy.cli*][*INFO*  ]  repo  : False

 [*ceph_deploy.cli*][*INFO*  ]  host  :
 ['ceph-vm-mon1']

 [*ceph_deploy.cli*][*INFO*  ]  install_rgw   : False

 [*ceph_deploy.cli*][*INFO*  ]  repo_url  : None

 [*ceph_deploy.cli*][*INFO*  ]  ceph_conf : None

 [*ceph_deploy.cli*][*INFO*  ]  install_osd   : False

 [*ceph_deploy.cli*][*INFO*  ]  version_kind  : stable

 [*ceph_deploy.cli*][*INFO*  ]  install_common: False

 [*ceph_deploy.cli*][*INFO*  ]  overwrite_conf: False

 [*ceph_deploy.cli*][*INFO*  ]  quiet : False

 [*ceph_deploy.cli*][*INFO*  ]  dev   : master

 [*ceph_deploy.cli*][*INFO*  ]  local_mirror  : None

 [*ceph_deploy.cli*][*INFO*  ]  release   : firefly

 [*ceph_deploy.cli*][*INFO*  ]  install_mon   : False

 [*ceph_deploy.cli*][*INFO*  ]  gpg_url   : None

 [*ceph_deploy.install*][*DEBUG* ] Installing stable version firefly on
 cluster ceph hosts ceph-vm-mon1

 [*ceph_deploy.install*][*DEBUG* ] Detecting platform for host
 ceph-vm-mon1 ...

 [*ceph-vm-mon1*][*DEBUG* ] connection detected need for sudo

 [*ceph-vm-mon1*][*DEBUG* ] connected to host: ceph-vm-mon1

 [*ceph-vm-mon1*][*DEBUG* ] detect platform information from remote host

 [*ceph-vm-mon1*][*DEBUG* ] detect machine type

 [*ceph_deploy.install*][*INFO*  ] Distro info: Red Hat Enterprise Linux
 Server 7.1 Maipo

 [*ceph-vm-mon1*][*INFO*  ] installing Ceph on ceph-vm-mon1

 [*ceph-vm-mon1*][*INFO*  ] Running command: sudo yum clean all

 [*ceph-vm-mon1*][*DEBUG* ] Loaded plugins: fastestmirror, priorities

 [*ceph-vm-mon1*][*DEBUG* ] Cleaning repos: epel rhel-7-ha-rpms
 rhel-7-optional-rpms rhel-7-server-rpms

 [*ceph-vm-mon1*][*DEBUG* ]   : rhel-7-supplemental-rpms

 [*ceph-vm-mon1*][*DEBUG* ] Cleaning up everything

 [*ceph-vm-mon1*][*DEBUG* ] Cleaning up list of fastest mirrors

 [*ceph-vm-mon1*][*INFO*  ] Running command: sudo yum -y install
 epel-release

 [*ceph-vm-mon1*][*DEBUG* ] Loaded plugins: fastestmirror, priorities

 [*ceph-vm-mon1*][*DEBUG* ] Determining fastest mirrors

 [*ceph-vm-mon1*][*DEBUG* ]  * epel: kdeforge2.unl.edu

 [*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-ha-rpms:
 rhel-repo.eu-biere-1.t-systems.cloud.cisco.com

 [*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-optional-rpms:
 rhel-repo.eu-biere-1.t-systems.cloud.cisco.com

 [*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-server-rpms:
 rhel-repo.eu-biere-1.t-systems.cloud.cisco.com

 [*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-supplemental-rpms:
 rhel-repo.eu-biere-1.t-systems.cloud.cisco.com

 [*ceph-vm-mon1*][*DEBUG* ] Package epel-release-7-5.noarch already
 installed and latest version

 [*ceph-vm-mon1*][*DEBUG* ] Nothing to do

 [*ceph-vm-mon1*][*INFO*  ] Running command: sudo yum -y install
 yum-plugin-priorities

 [*ceph-vm-mon1*][*DEBUG* ] Loaded plugins: fastestmirror, priorities

 [*ceph-vm-mon1*][*DEBUG* ] Loading mirror speeds from cached hostfile

 [*ceph-vm-mon1*][*DEBUG* ]  * epel: kdeforge2.unl.edu

 [*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-ha-rpms:
 rhel-repo.eu-biere-1.t-systems.cloud.cisco.com

 [*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-optional-rpms:
 rhel

[ceph-users] Ceph-deploy error

2015-08-29 Thread pavana bhat
Hi,

I'm trying to install ceph for the first time following the quick
installation guide. I'm getting the below error, can someone please help?

ceph-deploy install --release=firefly ceph-vm-mon1

[*ceph_deploy.conf*][*DEBUG* ] found configuration file at:
/home/cloud-user/.cephdeploy.conf

[*ceph_deploy.cli*][*INFO*  ] Invoked (1.5.28): /usr/bin/ceph-deploy
install --release=firefly ceph-vm-mon1

[*ceph_deploy.cli*][*INFO*  ] ceph-deploy options:

[*ceph_deploy.cli*][*INFO*  ]  verbose   : False

[*ceph_deploy.cli*][*INFO*  ]  testing   : None

[*ceph_deploy.cli*][*INFO*  ]  cd_conf   :
ceph_deploy.conf.cephdeploy.Conf instance at 0xaab248

[*ceph_deploy.cli*][*INFO*  ]  cluster   : ceph

[*ceph_deploy.cli*][*INFO*  ]  install_mds   : False

[*ceph_deploy.cli*][*INFO*  ]  stable: None

[*ceph_deploy.cli*][*INFO*  ]  default_release   : False

[*ceph_deploy.cli*][*INFO*  ]  username  : None

[*ceph_deploy.cli*][*INFO*  ]  adjust_repos  : True

[*ceph_deploy.cli*][*INFO*  ]  func  : function
install at 0x7f34b410e938

[*ceph_deploy.cli*][*INFO*  ]  install_all   : False

[*ceph_deploy.cli*][*INFO*  ]  repo  : False

[*ceph_deploy.cli*][*INFO*  ]  host  :
['ceph-vm-mon1']

[*ceph_deploy.cli*][*INFO*  ]  install_rgw   : False

[*ceph_deploy.cli*][*INFO*  ]  repo_url  : None

[*ceph_deploy.cli*][*INFO*  ]  ceph_conf : None

[*ceph_deploy.cli*][*INFO*  ]  install_osd   : False

[*ceph_deploy.cli*][*INFO*  ]  version_kind  : stable

[*ceph_deploy.cli*][*INFO*  ]  install_common: False

[*ceph_deploy.cli*][*INFO*  ]  overwrite_conf: False

[*ceph_deploy.cli*][*INFO*  ]  quiet : False

[*ceph_deploy.cli*][*INFO*  ]  dev   : master

[*ceph_deploy.cli*][*INFO*  ]  local_mirror  : None

[*ceph_deploy.cli*][*INFO*  ]  release   : firefly

[*ceph_deploy.cli*][*INFO*  ]  install_mon   : False

[*ceph_deploy.cli*][*INFO*  ]  gpg_url   : None

[*ceph_deploy.install*][*DEBUG* ] Installing stable version firefly on
cluster ceph hosts ceph-vm-mon1

[*ceph_deploy.install*][*DEBUG* ] Detecting platform for host ceph-vm-mon1
...

[*ceph-vm-mon1*][*DEBUG* ] connection detected need for sudo

[*ceph-vm-mon1*][*DEBUG* ] connected to host: ceph-vm-mon1

[*ceph-vm-mon1*][*DEBUG* ] detect platform information from remote host

[*ceph-vm-mon1*][*DEBUG* ] detect machine type

[*ceph_deploy.install*][*INFO*  ] Distro info: Red Hat Enterprise Linux
Server 7.1 Maipo

[*ceph-vm-mon1*][*INFO*  ] installing Ceph on ceph-vm-mon1

[*ceph-vm-mon1*][*INFO*  ] Running command: sudo yum clean all

[*ceph-vm-mon1*][*DEBUG* ] Loaded plugins: fastestmirror, priorities

[*ceph-vm-mon1*][*DEBUG* ] Cleaning repos: epel rhel-7-ha-rpms
rhel-7-optional-rpms rhel-7-server-rpms

[*ceph-vm-mon1*][*DEBUG* ]   : rhel-7-supplemental-rpms

[*ceph-vm-mon1*][*DEBUG* ] Cleaning up everything

[*ceph-vm-mon1*][*DEBUG* ] Cleaning up list of fastest mirrors

[*ceph-vm-mon1*][*INFO*  ] Running command: sudo yum -y install epel-release

[*ceph-vm-mon1*][*DEBUG* ] Loaded plugins: fastestmirror, priorities

[*ceph-vm-mon1*][*DEBUG* ] Determining fastest mirrors

[*ceph-vm-mon1*][*DEBUG* ]  * epel: kdeforge2.unl.edu

[*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-ha-rpms:
rhel-repo.eu-biere-1.t-systems.cloud.cisco.com

[*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-optional-rpms:
rhel-repo.eu-biere-1.t-systems.cloud.cisco.com

[*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-server-rpms:
rhel-repo.eu-biere-1.t-systems.cloud.cisco.com

[*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-supplemental-rpms:
rhel-repo.eu-biere-1.t-systems.cloud.cisco.com

[*ceph-vm-mon1*][*DEBUG* ] Package epel-release-7-5.noarch already
installed and latest version

[*ceph-vm-mon1*][*DEBUG* ] Nothing to do

[*ceph-vm-mon1*][*INFO*  ] Running command: sudo yum -y install
yum-plugin-priorities

[*ceph-vm-mon1*][*DEBUG* ] Loaded plugins: fastestmirror, priorities

[*ceph-vm-mon1*][*DEBUG* ] Loading mirror speeds from cached hostfile

[*ceph-vm-mon1*][*DEBUG* ]  * epel: kdeforge2.unl.edu

[*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-ha-rpms:
rhel-repo.eu-biere-1.t-systems.cloud.cisco.com

[*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-optional-rpms:
rhel-repo.eu-biere-1.t-systems.cloud.cisco.com

[*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-server-rpms:
rhel-repo.eu-biere-1.t-systems.cloud.cisco.com

[*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-supplemental-rpms:
rhel-repo.eu-biere-1.t-systems.cloud.cisco.com

[*ceph-vm-mon1*][*DEBUG* ] Package
yum-plugin-priorities-1.1.31-29.el7.noarch already installed and latest
version

[*ceph-vm-mon1*][*DEBUG* ] Nothing to do


Re: [ceph-users] Error while installing ceph

2015-08-28 Thread pavana bhat
 --nodigest


Thanks,

Pavana

On Fri, Aug 28, 2015 at 5:11 PM, Travis Rhoden trho...@gmail.com wrote:

 A couple of things here...

 Looks like you are on RHEL. If you are on RHEL, but *not* trying to
 install RHCS (Red Hat Ceph Storage), a few extra flags are required.  You
 must use --release.  For example, ceph-deploy install --release hammer
  in order to get the Hammer upstream release.

 The docs need to make this more clear (I don't think it's mentioned
 anywhere -- upstream Ceph on RHEL is not a very common case, but it is
 supposed to work. :))

 That will at least install the right packages.  however, there is still
 one more issue you will hit, which is that when installing upstream Ceph on
 RHEL, it knows that it needs EPEL (EPEL is not needed with RHCS), and it
 will try to install it by name yum install epel-release.  But that
 doesn't work on RHEL.  Until that is fixed, you will also have to install
 EPEL by hand on your nodes.

 On Fri, Aug 28, 2015 at 5:02 PM, Brad Hubbard bhubb...@redhat.com wrote:

 - Original Message -
  From: pavana bhat pavanakrishnab...@gmail.com
  To: Brad Hubbard bhubb...@redhat.com
  Cc: ceph-users@lists.ceph.com
  Sent: Saturday, 29 August, 2015 9:40:50 AM
  Subject: Re: [ceph-users] Error while installing ceph
 
  Yes I did follow all the preflight steps.
 
  After yum install (sudo yum update  sudo yum install ceph-deploy), it
 did
  show the following are installed
 
  rhel-7-ha-rpms
 
 
  rhel-7-optional-rpms
 
 
  rhel-7-server-rpms
 
 
  rhel-7-supplemental-rpms
 
 
  rhel-7-server-rpms/primary_db
 
  ceph-noarch
 
  Installed:
 
ceph-deploy.noarch 0:1.5.28-0

 Perhaps the --repo and/or --release flags are required?

 
 
  Thanks,
 
  Pavana
 
  On Fri, Aug 28, 2015 at 4:29 PM, Brad Hubbard bhubb...@redhat.com
 wrote:
 
   Did you follow this first?
  
   http://docs.ceph.com/docs/v0.80.5/start/quick-start-preflight/
  
   It doesn't seem to be able to locate the repos for the ceph rpms.
  
   - Original Message -
From: pavana bhat pavanakrishnab...@gmail.com
To: ceph-users@lists.ceph.com
Sent: Saturday, 29 August, 2015 8:55:14 AM
Subject: [ceph-users] Error while installing ceph
   
Hi,
   
Im getting an error while ceph installation. Can you please help me?
   
I'm exactly following the steps given in
http://docs.ceph.com/docs/v0.80.5/start/quick-ceph-deploy/ to
 install
   ceph.


 These are pretty old docs (see the version number in the URL).  It's
 probably always best to start at http://docs.ceph.com/docs/master
 instead.  How did you get to this old version?  If it was from a link, we
 would want to check that that link still made sense.


   
But when I execute ceph-deploy install {ceph-node}[{ceph-node} ...],
   getting
following error:
   
   
   
[ ceph-vm-mon1 ][ DEBUG ] Cleaning up everything
   
[ ceph-vm-mon1 ][ DEBUG ] Cleaning up list of fastest mirrors
   
[ ceph-vm-mon1 ][ INFO ] Running command: sudo yum -y install
 ceph-osd
ceph-mds ceph-mon ceph-radosgw
   
[ ceph-vm-mon1 ][ DEBUG ] Loaded plugins: fastestmirror
   
[ ceph-vm-mon1 ][ DEBUG ] Determining fastest mirrors
   
[ ceph-vm-mon1 ][ DEBUG ] * rhel-7-ha-rpms: 203.36.4.124
   
[ ceph-vm-mon1 ][ DEBUG ] * rhel-7-optional-rpms: 203.36.4.124
   
[ ceph-vm-mon1 ][ DEBUG ] * rhel-7-server-rpms: 203.36.4.124
   
[ ceph-vm-mon1 ][ DEBUG ] * rhel-7-supplemental-rpms: 203.36.4.124
   
[ ceph-vm-mon1 ][ DEBUG ] No package ceph-osd available.
   
[ ceph-vm-mon1 ][ DEBUG ] No package ceph-mds available.
   
[ ceph-vm-mon1 ][ DEBUG ] No package ceph-mon available.
   
[ ceph-vm-mon1 ][ DEBUG ] No package ceph-radosgw available.
   
[ ceph-vm-mon1 ][ WARNIN ] Error: Nothing to do
   
[ ceph-vm-mon1 ][ ERROR ] RuntimeError: command returned non-zero
 exit
status: 1
   
[ ceph_deploy ][ ERROR ] RuntimeError: Failed to execute command:
 yum -y
install ceph-osd ceph-mds ceph-mon ceph-radosgw
   
I have finished the preflight steps and I'm able to connect to
 internet
   from
my nodes.
   
Thanks,
   
Pavana
   
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
   
  
 
 ___
 ceph-users mailing list
 ceph-users@lists.ceph.com
 http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Error while installing ceph

2015-08-28 Thread pavana bhat
Yes I did follow all the preflight steps.

After yum install (sudo yum update  sudo yum install ceph-deploy), it did
show the following are installed

rhel-7-ha-rpms


rhel-7-optional-rpms


rhel-7-server-rpms


rhel-7-supplemental-rpms


rhel-7-server-rpms/primary_db

ceph-noarch

Installed:

  ceph-deploy.noarch 0:1.5.28-0


Thanks,

Pavana

On Fri, Aug 28, 2015 at 4:29 PM, Brad Hubbard bhubb...@redhat.com wrote:

 Did you follow this first?

 http://docs.ceph.com/docs/v0.80.5/start/quick-start-preflight/

 It doesn't seem to be able to locate the repos for the ceph rpms.

 - Original Message -
  From: pavana bhat pavanakrishnab...@gmail.com
  To: ceph-users@lists.ceph.com
  Sent: Saturday, 29 August, 2015 8:55:14 AM
  Subject: [ceph-users] Error while installing ceph
 
  Hi,
 
  Im getting an error while ceph installation. Can you please help me?
 
  I'm exactly following the steps given in
  http://docs.ceph.com/docs/v0.80.5/start/quick-ceph-deploy/ to install
 ceph.
 
  But when I execute ceph-deploy install {ceph-node}[{ceph-node} ...],
 getting
  following error:
 
 
 
  [ ceph-vm-mon1 ][ DEBUG ] Cleaning up everything
 
  [ ceph-vm-mon1 ][ DEBUG ] Cleaning up list of fastest mirrors
 
  [ ceph-vm-mon1 ][ INFO ] Running command: sudo yum -y install ceph-osd
  ceph-mds ceph-mon ceph-radosgw
 
  [ ceph-vm-mon1 ][ DEBUG ] Loaded plugins: fastestmirror
 
  [ ceph-vm-mon1 ][ DEBUG ] Determining fastest mirrors
 
  [ ceph-vm-mon1 ][ DEBUG ] * rhel-7-ha-rpms: 203.36.4.124
 
  [ ceph-vm-mon1 ][ DEBUG ] * rhel-7-optional-rpms: 203.36.4.124
 
  [ ceph-vm-mon1 ][ DEBUG ] * rhel-7-server-rpms: 203.36.4.124
 
  [ ceph-vm-mon1 ][ DEBUG ] * rhel-7-supplemental-rpms: 203.36.4.124
 
  [ ceph-vm-mon1 ][ DEBUG ] No package ceph-osd available.
 
  [ ceph-vm-mon1 ][ DEBUG ] No package ceph-mds available.
 
  [ ceph-vm-mon1 ][ DEBUG ] No package ceph-mon available.
 
  [ ceph-vm-mon1 ][ DEBUG ] No package ceph-radosgw available.
 
  [ ceph-vm-mon1 ][ WARNIN ] Error: Nothing to do
 
  [ ceph-vm-mon1 ][ ERROR ] RuntimeError: command returned non-zero exit
  status: 1
 
  [ ceph_deploy ][ ERROR ] RuntimeError: Failed to execute command: yum -y
  install ceph-osd ceph-mds ceph-mon ceph-radosgw
 
  I have finished the preflight steps and I'm able to connect to internet
 from
  my nodes.
 
  Thanks,
 
  Pavana
 
  ___
  ceph-users mailing list
  ceph-users@lists.ceph.com
  http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
 

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] Error while installing ceph

2015-08-28 Thread pavana bhat
Hi,

Im getting an error while ceph installation. Can you please help me?

I'm exactly following the steps given in
http://docs.ceph.com/docs/v0.80.5/start/quick-ceph-deploy/ to install ceph.

But when I execute ceph-deploy install {ceph-node}[{ceph-node} ...],
getting following error:

[*ceph-vm-mon1*][*DEBUG* ] Cleaning up everything

[*ceph-vm-mon1*][*DEBUG* ] Cleaning up list of fastest mirrors

[*ceph-vm-mon1*][*INFO*  ] Running command: sudo yum -y install ceph-osd
ceph-mds ceph-mon ceph-radosgw

[*ceph-vm-mon1*][*DEBUG* ] Loaded plugins: fastestmirror

[*ceph-vm-mon1*][*DEBUG* ] Determining fastest mirrors

[*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-ha-rpms: 203.36.4.124

[*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-optional-rpms: 203.36.4.124

[*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-server-rpms: 203.36.4.124

[*ceph-vm-mon1*][*DEBUG* ]  * rhel-7-supplemental-rpms: 203.36.4.124

[*ceph-vm-mon1*][*DEBUG* ] No package ceph-osd available.

[*ceph-vm-mon1*][*DEBUG* ] No package ceph-mds available.

[*ceph-vm-mon1*][*DEBUG* ] No package ceph-mon available.

[*ceph-vm-mon1*][*DEBUG* ] No package ceph-radosgw available.

[*ceph-vm-mon1*][*WARNIN*] Error: Nothing to do

[*ceph-vm-mon1*][*ERROR* ] RuntimeError: command returned non-zero exit
status: 1

[*ceph_deploy*][*ERROR* ] RuntimeError: Failed to execute command: yum -y
install ceph-osd ceph-mds ceph-mon ceph-radosgw

I have finished the preflight steps and I'm able to connect to internet
from my nodes.

Thanks,

Pavana
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Error while installing ceph

2015-08-28 Thread pavana bhat
Hi Travis,

I referred the same http://docs.ceph.com/docs/master/ - But when I hover
down the page I get latest  development firefly dumpling. I clicked
on to the latest then got the page i referred! Can you please let me know
which one to refer?

Thanks,

On Fri, Aug 28, 2015 at 5:11 PM, Travis Rhoden trho...@gmail.com wrote:

 A couple of things here...

 Looks like you are on RHEL. If you are on RHEL, but *not* trying to
 install RHCS (Red Hat Ceph Storage), a few extra flags are required.  You
 must use --release.  For example, ceph-deploy install --release hammer
  in order to get the Hammer upstream release.

 The docs need to make this more clear (I don't think it's mentioned
 anywhere -- upstream Ceph on RHEL is not a very common case, but it is
 supposed to work. :))

 That will at least install the right packages.  however, there is still
 one more issue you will hit, which is that when installing upstream Ceph on
 RHEL, it knows that it needs EPEL (EPEL is not needed with RHCS), and it
 will try to install it by name yum install epel-release.  But that
 doesn't work on RHEL.  Until that is fixed, you will also have to install
 EPEL by hand on your nodes.

 On Fri, Aug 28, 2015 at 5:02 PM, Brad Hubbard bhubb...@redhat.com wrote:

 - Original Message -
  From: pavana bhat pavanakrishnab...@gmail.com
  To: Brad Hubbard bhubb...@redhat.com
  Cc: ceph-users@lists.ceph.com
  Sent: Saturday, 29 August, 2015 9:40:50 AM
  Subject: Re: [ceph-users] Error while installing ceph
 
  Yes I did follow all the preflight steps.
 
  After yum install (sudo yum update  sudo yum install ceph-deploy), it
 did
  show the following are installed
 
  rhel-7-ha-rpms
 
 
  rhel-7-optional-rpms
 
 
  rhel-7-server-rpms
 
 
  rhel-7-supplemental-rpms
 
 
  rhel-7-server-rpms/primary_db
 
  ceph-noarch
 
  Installed:
 
ceph-deploy.noarch 0:1.5.28-0

 Perhaps the --repo and/or --release flags are required?

 
 
  Thanks,
 
  Pavana
 
  On Fri, Aug 28, 2015 at 4:29 PM, Brad Hubbard bhubb...@redhat.com
 wrote:
 
   Did you follow this first?
  
   http://docs.ceph.com/docs/v0.80.5/start/quick-start-preflight/
  
   It doesn't seem to be able to locate the repos for the ceph rpms.
  
   - Original Message -
From: pavana bhat pavanakrishnab...@gmail.com
To: ceph-users@lists.ceph.com
Sent: Saturday, 29 August, 2015 8:55:14 AM
Subject: [ceph-users] Error while installing ceph
   
Hi,
   
Im getting an error while ceph installation. Can you please help me?
   
I'm exactly following the steps given in
http://docs.ceph.com/docs/v0.80.5/start/quick-ceph-deploy/ to
 install
   ceph.


 These are pretty old docs (see the version number in the URL).  It's
 probably always best to start at http://docs.ceph.com/docs/master
 instead.  How did you get to this old version?  If it was from a link, we
 would want to check that that link still made sense.


   
But when I execute ceph-deploy install {ceph-node}[{ceph-node} ...],
   getting
following error:
   
   
   
[ ceph-vm-mon1 ][ DEBUG ] Cleaning up everything
   
[ ceph-vm-mon1 ][ DEBUG ] Cleaning up list of fastest mirrors
   
[ ceph-vm-mon1 ][ INFO ] Running command: sudo yum -y install
 ceph-osd
ceph-mds ceph-mon ceph-radosgw
   
[ ceph-vm-mon1 ][ DEBUG ] Loaded plugins: fastestmirror
   
[ ceph-vm-mon1 ][ DEBUG ] Determining fastest mirrors
   
[ ceph-vm-mon1 ][ DEBUG ] * rhel-7-ha-rpms: 203.36.4.124
   
[ ceph-vm-mon1 ][ DEBUG ] * rhel-7-optional-rpms: 203.36.4.124
   
[ ceph-vm-mon1 ][ DEBUG ] * rhel-7-server-rpms: 203.36.4.124
   
[ ceph-vm-mon1 ][ DEBUG ] * rhel-7-supplemental-rpms: 203.36.4.124
   
[ ceph-vm-mon1 ][ DEBUG ] No package ceph-osd available.
   
[ ceph-vm-mon1 ][ DEBUG ] No package ceph-mds available.
   
[ ceph-vm-mon1 ][ DEBUG ] No package ceph-mon available.
   
[ ceph-vm-mon1 ][ DEBUG ] No package ceph-radosgw available.
   
[ ceph-vm-mon1 ][ WARNIN ] Error: Nothing to do
   
[ ceph-vm-mon1 ][ ERROR ] RuntimeError: command returned non-zero
 exit
status: 1
   
[ ceph_deploy ][ ERROR ] RuntimeError: Failed to execute command:
 yum -y
install ceph-osd ceph-mds ceph-mon ceph-radosgw
   
I have finished the preflight steps and I'm able to connect to
 internet
   from
my nodes.
   
Thanks,
   
Pavana
   
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
   
  
 
 ___
 ceph-users mailing list
 ceph-users@lists.ceph.com
 http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com