Error on ceph-deploy install

1,242 views
Skip to first unread message

Ashwin Dev

unread,
Aug 31, 2016, 3:03:04 PM8/31/16
to cloudlab-users
Hi,

I'm running the following command to install ceph-deploy:
$ echo deb https://download.ceph.com/debian-hammer/ trusty main | sudo tee /etc/apt/sources.list.d/ceph.list
This installed the repos accurately on the admin node. 

On running, $ ceph-deploy install --no-adjust-repos mon0 osd0, it looks for debian jewel and not trusty hammer and throws an error. 


I tried this as well, $ ceph-deploy install --repos mon0 osd0
                              $ ceph-deploy install --mon mon0 osd0

This throws errors as well. Passing a release option didn't help. ($ ceph-deploy install --release hammer mon0 osd0-1)

Error messages - 
[mon0][WARNIN] 
[mon0][WARNIN] 
[mon0][WARNIN] E: Some index files failed to download. They have been ignored, or old ones used instead.
[mon0][ERROR ] RuntimeError: command returned non-zero exit status: 100
[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get --assume-yes -q update

Is there a way, I could pass a package url in the ceph-deploy command? I didn't see an option for this. 

Thanks!

Brian Kroth

unread,
Sep 6, 2016, 11:08:35 PM9/6/16
to Ashwin Dev, cloudlab-users
Ashwin Dev <ashwi...@gmail.com> 2016-08-31 12:03:
>Hi,
>
>I'm running the following command to install ceph-deploy:
>*$ echo deb https://download.ceph.com/debian-hammer/ trusty main | sudo tee
>/etc/apt/sources.list.d/ceph.list*
>This installed the repos accurately on the admin node.
>
>On running, *$ ceph-deploy install --no-adjust-repos mon0 osd0*, it looks
>for debian jewel and not trusty hammer and throws an error.

>I tried this as well, *$ ceph-deploy install --repos mon0 osd0*
> *$ ceph-deploy install --mon mon0 osd0*
>
>This throws errors as well. Passing a release option didn't help. ($
>ceph-deploy install --release hammer mon0 osd0-1)
>
>Error messages -
>[mon0][WARNIN] W: Failed to fetch
>https://download.ceph.com/debian-hammer/dists/utopic/main/binary-amd64/Packages
> HttpError404
>[mon0][WARNIN]
>[mon0][WARNIN] W: Failed to fetch
>https://download.ceph.com/debian-hammer/dists/utopic/main/binary-i386/Packages
> HttpError404
>[mon0][WARNIN]
>[mon0][WARNIN] E: Some index files failed to download. They have been
>ignored, or old ones used instead.
>[mon0][ERROR ] RuntimeError: command returned non-zero exit status: 100
>[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: env
>DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get
>--assume-yes -q update
>
>Is there a way, I could pass a package url in the ceph-deploy command? I
>didn't see an option for this.
>
>Thanks!

My experience in the past has been that the ceph-deploy scripts have
been a little brittle. You might want to report it to the upstream devs
and see if they have a fix already.

Or, you may want to try a manual install:
http://docs.ceph.com/docs/master/install/

It's probably a good learning experience anyways and will give you more
control/insight over each part, which you'll probably want in the end.
It's also pretty easy to script once you've decided on the various
settings and whatnot.


However, this probably isn't the best place to ask about that stuff in
general. You might want to try the ceph-users list (noisy) or even the
ceph-devel list, assuming you're interested in hacking on ceph anyways.
They're pretty receptive to that.

Hope that helps a tad.

Cheers,
Brian
Reply all
Reply to author
Forward
0 new messages