Ceph Object Gateway - not listening on port 7480





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I am trying out Ceph. I have four Ubuntu 16.04 virtual machines running in VirtualBox. One I've named admin1, the others are node1, node2 and node3. On admin1, I've run the following commands:



cd ~
mkdir my-cluster
cd my-cluster

# Start deploying a new cluster, and write a CLUSTER.conf and keyring
# for it. Specify the initial monitor hostname.
ceph-deploy new --public-network 192.168.40.0/24 node1

# Install Ceph packages on remote hosts.
ceph-deploy install node1 node2 node3

# Ceph MON Daemon management. create-initial will deploy for monitors
# defined in "mon initial members", wait until they form quorum and then
# gather keys, reporting the monitor status along the process. If monitors
# don't form quorum the command will eventually time out.
ceph-deploy mon create-initial

# Push configuration and client.admin key to a remote host.
ceph-deploy admin node1 node2 node3

# Manage OSDs by preparing a data disk on remote host.
# Create new Ceph OSD daemon by preparing and activating disk.
ceph-deploy osd create node1:/dev/sdc
ceph-deploy osd create node2:/dev/sdc
ceph-deploy osd create node3:/dev/sdc

# Add monitors for high availability
ceph-deploy mon add node2
ceph-deploy mon add node3

# Install Ceph Object Gateway
ceph-deploy install --rgw node1

# Create an RGW instance
# Access at http://192.168.40.4:7480
ceph-deploy rgw create node1


This gives me the message:



[node1][INFO  ] Running command: sudo ceph --cluster ceph --name client.bootstrap-rgw --keyring /var/lib/ceph/bootstrap-rgw/ceph.keyring auth get-or-create client.rgw.node1 osd allow rwx mon allow rw -o /var/lib/ceph/radosgw/ceph-rgw.node1/keyring
[node1][INFO ] Running command: sudo systemctl enable ceph-radosgw@rgw.node1
[node1][WARNIN] Created symlink from /etc/systemd/system/ceph-radosgw.target.wants/ceph-radosgw@rgw.node1.service to /lib/systemd/system/ceph-radosgw@.service.
[node1][INFO ] Running command: sudo systemctl start ceph-radosgw@rgw.node1
[node1][INFO ] Running command: sudo systemctl enable ceph.target
[ceph_deploy.rgw][INFO ] The Ceph Object Gateway (RGW) is now running on host node1 and default port 7480


At this point, if I try to go to 192.168.40.4:7480, which is node1's address, I get no response. Also, netstat -ant shows nothing listening on port 7480 on node1.



The log shows:



2018-11-27 02:49:16.264165 7f686892aa00  0 ceph version 10.2.10 (5dc1e4c05cb68dbf62ae6fce3f0700e4654fdbbe), process radosgw, pid 5378
2018-11-27 02:54:16.264329 7f684c70a700 -1 Initialization timeout, failed to initialize
2018-11-27 02:54:16.517489 7fd727a09a00 0 deferred set uid:gid to 64045:64045 (ceph:ceph)
2018-11-27 02:54:16.517536 7fd727a09a00 0 ceph version 10.2.10 (5dc1e4c05cb68dbf62ae6fce3f0700e4654fdbbe), process radosgw, pid 5425
2018-11-27 02:59:16.524374 7fd70b7e9700 -1 Initialization timeout, failed to initialize
2018-11-27 02:59:16.787623 7efeb71b6a00 0 deferred set uid:gid to 64045:64045 (ceph:ceph)
2018-11-27 02:59:16.787676 7efeb71b6a00 0 ceph version 10.2.10 (5dc1e4c05cb68dbf62ae6fce3f0700e4654fdbbe), process radosgw, pid 5534


Am I missing something? How can I get Ceph Object Gateway created?










share|improve this question

























  • I eventually fixed this. It had to do with the OSDs not being created successfully.

    – Nick Ramirez
    Jan 21 at 13:44


















0















I am trying out Ceph. I have four Ubuntu 16.04 virtual machines running in VirtualBox. One I've named admin1, the others are node1, node2 and node3. On admin1, I've run the following commands:



cd ~
mkdir my-cluster
cd my-cluster

# Start deploying a new cluster, and write a CLUSTER.conf and keyring
# for it. Specify the initial monitor hostname.
ceph-deploy new --public-network 192.168.40.0/24 node1

# Install Ceph packages on remote hosts.
ceph-deploy install node1 node2 node3

# Ceph MON Daemon management. create-initial will deploy for monitors
# defined in "mon initial members", wait until they form quorum and then
# gather keys, reporting the monitor status along the process. If monitors
# don't form quorum the command will eventually time out.
ceph-deploy mon create-initial

# Push configuration and client.admin key to a remote host.
ceph-deploy admin node1 node2 node3

# Manage OSDs by preparing a data disk on remote host.
# Create new Ceph OSD daemon by preparing and activating disk.
ceph-deploy osd create node1:/dev/sdc
ceph-deploy osd create node2:/dev/sdc
ceph-deploy osd create node3:/dev/sdc

# Add monitors for high availability
ceph-deploy mon add node2
ceph-deploy mon add node3

# Install Ceph Object Gateway
ceph-deploy install --rgw node1

# Create an RGW instance
# Access at http://192.168.40.4:7480
ceph-deploy rgw create node1


This gives me the message:



[node1][INFO  ] Running command: sudo ceph --cluster ceph --name client.bootstrap-rgw --keyring /var/lib/ceph/bootstrap-rgw/ceph.keyring auth get-or-create client.rgw.node1 osd allow rwx mon allow rw -o /var/lib/ceph/radosgw/ceph-rgw.node1/keyring
[node1][INFO ] Running command: sudo systemctl enable ceph-radosgw@rgw.node1
[node1][WARNIN] Created symlink from /etc/systemd/system/ceph-radosgw.target.wants/ceph-radosgw@rgw.node1.service to /lib/systemd/system/ceph-radosgw@.service.
[node1][INFO ] Running command: sudo systemctl start ceph-radosgw@rgw.node1
[node1][INFO ] Running command: sudo systemctl enable ceph.target
[ceph_deploy.rgw][INFO ] The Ceph Object Gateway (RGW) is now running on host node1 and default port 7480


At this point, if I try to go to 192.168.40.4:7480, which is node1's address, I get no response. Also, netstat -ant shows nothing listening on port 7480 on node1.



The log shows:



2018-11-27 02:49:16.264165 7f686892aa00  0 ceph version 10.2.10 (5dc1e4c05cb68dbf62ae6fce3f0700e4654fdbbe), process radosgw, pid 5378
2018-11-27 02:54:16.264329 7f684c70a700 -1 Initialization timeout, failed to initialize
2018-11-27 02:54:16.517489 7fd727a09a00 0 deferred set uid:gid to 64045:64045 (ceph:ceph)
2018-11-27 02:54:16.517536 7fd727a09a00 0 ceph version 10.2.10 (5dc1e4c05cb68dbf62ae6fce3f0700e4654fdbbe), process radosgw, pid 5425
2018-11-27 02:59:16.524374 7fd70b7e9700 -1 Initialization timeout, failed to initialize
2018-11-27 02:59:16.787623 7efeb71b6a00 0 deferred set uid:gid to 64045:64045 (ceph:ceph)
2018-11-27 02:59:16.787676 7efeb71b6a00 0 ceph version 10.2.10 (5dc1e4c05cb68dbf62ae6fce3f0700e4654fdbbe), process radosgw, pid 5534


Am I missing something? How can I get Ceph Object Gateway created?










share|improve this question

























  • I eventually fixed this. It had to do with the OSDs not being created successfully.

    – Nick Ramirez
    Jan 21 at 13:44














0












0








0








I am trying out Ceph. I have four Ubuntu 16.04 virtual machines running in VirtualBox. One I've named admin1, the others are node1, node2 and node3. On admin1, I've run the following commands:



cd ~
mkdir my-cluster
cd my-cluster

# Start deploying a new cluster, and write a CLUSTER.conf and keyring
# for it. Specify the initial monitor hostname.
ceph-deploy new --public-network 192.168.40.0/24 node1

# Install Ceph packages on remote hosts.
ceph-deploy install node1 node2 node3

# Ceph MON Daemon management. create-initial will deploy for monitors
# defined in "mon initial members", wait until they form quorum and then
# gather keys, reporting the monitor status along the process. If monitors
# don't form quorum the command will eventually time out.
ceph-deploy mon create-initial

# Push configuration and client.admin key to a remote host.
ceph-deploy admin node1 node2 node3

# Manage OSDs by preparing a data disk on remote host.
# Create new Ceph OSD daemon by preparing and activating disk.
ceph-deploy osd create node1:/dev/sdc
ceph-deploy osd create node2:/dev/sdc
ceph-deploy osd create node3:/dev/sdc

# Add monitors for high availability
ceph-deploy mon add node2
ceph-deploy mon add node3

# Install Ceph Object Gateway
ceph-deploy install --rgw node1

# Create an RGW instance
# Access at http://192.168.40.4:7480
ceph-deploy rgw create node1


This gives me the message:



[node1][INFO  ] Running command: sudo ceph --cluster ceph --name client.bootstrap-rgw --keyring /var/lib/ceph/bootstrap-rgw/ceph.keyring auth get-or-create client.rgw.node1 osd allow rwx mon allow rw -o /var/lib/ceph/radosgw/ceph-rgw.node1/keyring
[node1][INFO ] Running command: sudo systemctl enable ceph-radosgw@rgw.node1
[node1][WARNIN] Created symlink from /etc/systemd/system/ceph-radosgw.target.wants/ceph-radosgw@rgw.node1.service to /lib/systemd/system/ceph-radosgw@.service.
[node1][INFO ] Running command: sudo systemctl start ceph-radosgw@rgw.node1
[node1][INFO ] Running command: sudo systemctl enable ceph.target
[ceph_deploy.rgw][INFO ] The Ceph Object Gateway (RGW) is now running on host node1 and default port 7480


At this point, if I try to go to 192.168.40.4:7480, which is node1's address, I get no response. Also, netstat -ant shows nothing listening on port 7480 on node1.



The log shows:



2018-11-27 02:49:16.264165 7f686892aa00  0 ceph version 10.2.10 (5dc1e4c05cb68dbf62ae6fce3f0700e4654fdbbe), process radosgw, pid 5378
2018-11-27 02:54:16.264329 7f684c70a700 -1 Initialization timeout, failed to initialize
2018-11-27 02:54:16.517489 7fd727a09a00 0 deferred set uid:gid to 64045:64045 (ceph:ceph)
2018-11-27 02:54:16.517536 7fd727a09a00 0 ceph version 10.2.10 (5dc1e4c05cb68dbf62ae6fce3f0700e4654fdbbe), process radosgw, pid 5425
2018-11-27 02:59:16.524374 7fd70b7e9700 -1 Initialization timeout, failed to initialize
2018-11-27 02:59:16.787623 7efeb71b6a00 0 deferred set uid:gid to 64045:64045 (ceph:ceph)
2018-11-27 02:59:16.787676 7efeb71b6a00 0 ceph version 10.2.10 (5dc1e4c05cb68dbf62ae6fce3f0700e4654fdbbe), process radosgw, pid 5534


Am I missing something? How can I get Ceph Object Gateway created?










share|improve this question
















I am trying out Ceph. I have four Ubuntu 16.04 virtual machines running in VirtualBox. One I've named admin1, the others are node1, node2 and node3. On admin1, I've run the following commands:



cd ~
mkdir my-cluster
cd my-cluster

# Start deploying a new cluster, and write a CLUSTER.conf and keyring
# for it. Specify the initial monitor hostname.
ceph-deploy new --public-network 192.168.40.0/24 node1

# Install Ceph packages on remote hosts.
ceph-deploy install node1 node2 node3

# Ceph MON Daemon management. create-initial will deploy for monitors
# defined in "mon initial members", wait until they form quorum and then
# gather keys, reporting the monitor status along the process. If monitors
# don't form quorum the command will eventually time out.
ceph-deploy mon create-initial

# Push configuration and client.admin key to a remote host.
ceph-deploy admin node1 node2 node3

# Manage OSDs by preparing a data disk on remote host.
# Create new Ceph OSD daemon by preparing and activating disk.
ceph-deploy osd create node1:/dev/sdc
ceph-deploy osd create node2:/dev/sdc
ceph-deploy osd create node3:/dev/sdc

# Add monitors for high availability
ceph-deploy mon add node2
ceph-deploy mon add node3

# Install Ceph Object Gateway
ceph-deploy install --rgw node1

# Create an RGW instance
# Access at http://192.168.40.4:7480
ceph-deploy rgw create node1


This gives me the message:



[node1][INFO  ] Running command: sudo ceph --cluster ceph --name client.bootstrap-rgw --keyring /var/lib/ceph/bootstrap-rgw/ceph.keyring auth get-or-create client.rgw.node1 osd allow rwx mon allow rw -o /var/lib/ceph/radosgw/ceph-rgw.node1/keyring
[node1][INFO ] Running command: sudo systemctl enable ceph-radosgw@rgw.node1
[node1][WARNIN] Created symlink from /etc/systemd/system/ceph-radosgw.target.wants/ceph-radosgw@rgw.node1.service to /lib/systemd/system/ceph-radosgw@.service.
[node1][INFO ] Running command: sudo systemctl start ceph-radosgw@rgw.node1
[node1][INFO ] Running command: sudo systemctl enable ceph.target
[ceph_deploy.rgw][INFO ] The Ceph Object Gateway (RGW) is now running on host node1 and default port 7480


At this point, if I try to go to 192.168.40.4:7480, which is node1's address, I get no response. Also, netstat -ant shows nothing listening on port 7480 on node1.



The log shows:



2018-11-27 02:49:16.264165 7f686892aa00  0 ceph version 10.2.10 (5dc1e4c05cb68dbf62ae6fce3f0700e4654fdbbe), process radosgw, pid 5378
2018-11-27 02:54:16.264329 7f684c70a700 -1 Initialization timeout, failed to initialize
2018-11-27 02:54:16.517489 7fd727a09a00 0 deferred set uid:gid to 64045:64045 (ceph:ceph)
2018-11-27 02:54:16.517536 7fd727a09a00 0 ceph version 10.2.10 (5dc1e4c05cb68dbf62ae6fce3f0700e4654fdbbe), process radosgw, pid 5425
2018-11-27 02:59:16.524374 7fd70b7e9700 -1 Initialization timeout, failed to initialize
2018-11-27 02:59:16.787623 7efeb71b6a00 0 deferred set uid:gid to 64045:64045 (ceph:ceph)
2018-11-27 02:59:16.787676 7efeb71b6a00 0 ceph version 10.2.10 (5dc1e4c05cb68dbf62ae6fce3f0700e4654fdbbe), process radosgw, pid 5534


Am I missing something? How can I get Ceph Object Gateway created?







ceph






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 27 '18 at 3:44







Nick Ramirez

















asked Nov 27 '18 at 1:26









Nick RamirezNick Ramirez

235412




235412













  • I eventually fixed this. It had to do with the OSDs not being created successfully.

    – Nick Ramirez
    Jan 21 at 13:44



















  • I eventually fixed this. It had to do with the OSDs not being created successfully.

    – Nick Ramirez
    Jan 21 at 13:44

















I eventually fixed this. It had to do with the OSDs not being created successfully.

– Nick Ramirez
Jan 21 at 13:44





I eventually fixed this. It had to do with the OSDs not being created successfully.

– Nick Ramirez
Jan 21 at 13:44












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53491476%2fceph-object-gateway-not-listening-on-port-7480%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53491476%2fceph-object-gateway-not-listening-on-port-7480%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

To store a contact into the json file from server.js file using a class in NodeJS

Redirect URL with Chrome Remote Debugging Android Devices

Dieringhausen