Ceph dashboard isn't working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Invalid
|
Undecided
|
Ravinder Kumar |
Bug Description
Hello,
I've deployed OpenStack with Ceph as a backend storage successfully but for some reason, I can't access ceph dashboard.
I tried with enabling the module but no luck.
[root@oscontrol
(ceph-mon)
{
"enabled_
"balancer",
"restful",
"status"
],
"disabled_
"influx",
"selftest",
"zabbix"
]
}
Sabbir Sakib (sakibsys) wrote : | #1 |
Changed in kolla-ansible: | |
assignee: | nobody → Ravinder Kumar (rhcayadav) |
Ravinder Kumar (rhcayadav) wrote : | #2 |
@Sabbir Sakib (sakibsys) Now with queens image (with centos-binary verified ) , it is working fine. You need to just enable dashboard module. And it serves on 7000 port. make docker exec from ceph_mon container.
[root@controller ~]# docker exec -it ceph_mon bash
(ceph-mon)
(ceph-mon)
{
"enabled_
"balancer",
"restful",
"status"
],
"disabled_
"influx",
"selftest",
"zabbix"
]
}
(ceph-mon)
{
"dashboard": "http://
}
please check services. I have checked ceph portal on port 7000 , working good.
Sabbir Sakib (sakibsys) wrote : | #3 |
@rhcayadav I have enabled the dashboard but I can't telnet to port 7000 and also, getting "This site can’t be reached" from the browser.
Do I need to enable/install the dashboard in globals.yml file ?
(ceph-mon)
{
"enabled_
"balancer",
"restful",
"status"
],
"disabled_
"influx",
"selftest",
"zabbix"
]
}
(ceph-mon)
{
"dashboard": "http://
}
Sabbir Sakib (sakibsys) wrote : | #4 |
Something like below adding in globals.yml
enable_
Ravinder Kumar (rhcayadav) wrote : Re: [Bug 1765808] Re: Ceph dashboard isn't working | #5 |
please try latest queens image , i have verified that image , but need to
enable dashboard. i looking to give a patch to enable ceph dashboard. it is
only in global.yaml nothing in code still. pleaee tell me your setup
specifications version etc
On Jun 5, 2018 10:41 PM, "Sabbir Sakib" <email address hidden> wrote:
> Something like below adding in globals.yml
>
> enable_
>
> --
> You received this bug notification because you are a bug assignee.
> https:/
>
> Title:
> Ceph dashboard isn't working
>
> Status in kolla-ansible:
> New
>
> Bug description:
> Hello,
> I've deployed OpenStack with Ceph as a backend storage
> successfully but for some reason, I can't access ceph dashboard.
>
>
> I tried with enabling the module but no luck.
>
> [root@oscontrol
> (ceph-mon)
> {
> "enabled_modules": [
> "balancer",
> "dashboard",
> "restful",
> "status"
> ],
> "disabled_modules": [
> "influx",
> "localpool",
> "prometheus",
> "selftest",
> "zabbix"
> ]
> }
>
> To manage notifications about this bug go to:
> https:/
>
Sabbir Sakib (sakibsys) wrote : | #6 |
I'm using kolla-ansible v6 with latest queens docker container. Can you please share what are the changes you made or the PR link. I'll double check my settings manually.
[root@osdeploy01 kolla]# pip list | grep -i kolla-ansible
kolla-ansible 6.0.0
Sabbir Sakib (sakibsys) wrote : | #7 |
Here is the globals.yml file.
config_strategy: "COPY_ALWAYS"
kolla_base_distro: "centos"
kolla_install_type: "binary"
openstack_release: "queens"
node_custom_config: "/etc/kolla/config"
openstack_
multiple_
- "{{ openstack_
- "RegionTwo"
kolla_internal_
kolla_internal_
kolla_external_
kolla_external_
network_interface: "bond0"
api_interface: "{{ network_interface }}"
storage_interface: "{{ network_interface }}"
cluster_interface: "{{ network_interface }}"
tunnel_interface: "{{ network_interface }}"
dns_interface: "{{ network_interface }}"
neutron_
neutron_
keepalived_
openstack_
nova_console: "novnc"
enable_keystone: "yes"
enable_aodh: "yes"
enable_
enable_ceph: "yes"
enable_ceph_mds: "yes"
enable_ceph_rgw: "yes"
enable_cinder: "yes"
enable_collectd: "yes"
enable_fluentd: "yes"
enable_haproxy: "yes"
enable_heat: "yes"
enable_horizon: "yes"
enable_
enable_
enable_
enable_magnum: "yes"
enable_
enable_
enable_
enable_trove: "yes"
ceph_pool_type: "replicated"
ceph_pool_pg_num: 512
ceph_pool_pgp_num: 512
keystone_
glance_
glance_
cinder_
cinder_
nova_backend_ceph: "{{ enable_ceph }}"
nova_compute_
tempest_image_id:
tempest_
tempest_
tempest_
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master) | #8 |
Fix proposed to branch: master
Review: https:/
Changed in kolla-ansible: | |
status: | New → In Progress |
Sabbir Sakib (sakibsys) wrote : | #9 |
Still not working. I guess for multinode with HA, you may need to add/allow the dashboard into haproxy.
Ravinder Kumar (rhcayadav) wrote : Re: [Bug 1765808] Re: Ceph dashboard isn't working | #10 |
ok
i will test it in ha and will update patch if needed.
On Jun 10, 2018 3:20 AM, "Sabbir Sakib" <email address hidden> wrote:
Still not working. I guess for multinode with HA, you may need to
add/allow the dashboard into haproxy.
--
You received this bug notification because you are a bug assignee.
https:/
Title:
Ceph dashboard isn't working
Status in kolla-ansible:
In Progress
Bug description:
Hello,
I've deployed OpenStack with Ceph as a backend storage successfully
but for some reason, I can't access ceph dashboard.
I tried with enabling the module but no luck.
[root@
(ceph-
{
"
"status"
],
"
"influx",
"zabbix"
]
}
To manage notifications about this bug go to:
https:/
Ravinder Kumar (rhcayadav) wrote : | #11 |
@sabbir Hey i have checked this patch in HA setup. working good , and we don't need haproxy for ceph_mgr because its HA is already configured in Ceph. suggestions welcome..
so you can access ceph dashboard(ceph-mgr) will running(active ) on one of controller and remaining will be in standby mode.
(ceph-mon)
{
"dashboard": "http://
}
(ceph-mon)
8755
My testing env having 3 controllers (orioncn1 , orioncn2 , orioncn3 ) 2 and compute ( orioncm1 , orioncm2 ) and 5 osd extened in both controllers and compute
===>>>> here is output below <<<<<========
root@orioncn1:~# docker exec -it ceph_mgr bash
(ceph-mgr)
[errno 2] error connecting to the cluster
(ceph-mgr)
exit
root@orioncn1:~# docker exec -it ceph_mon bash
(ceph-mon)
{
"enabled_
"balancer",
"restful",
"status"
],
"disabled_
"influx",
"selftest",
"zabbix"
]
}
root@orioncn1:~# docker exec -it ceph_mon bash
(ceph-mon)
cluster:
id: 774f4f6b-
health: HEALTH_OK
services:
mon: 3 daemons, quorum 192.168.
mgr: orioncn2(active), standbys: orioncn3, orioncn1
osd: 5 osds: 5 up, 5 in
data:
pools: 5 pools, 320 pgs
objects: 0 objects, 0 bytes
usage: 537 MB used, 134 GB / 134 GB avail
pgs: 320 active+clean
(ceph-mon)
{
"epoch": 42,
"active_gid": 4127,
"active_name": "orioncn2",
"active_addr": "192.168.
"available": true,
"standbys": [
{
"gid": 22067,
"name": "orioncn3",
]
},
{
"gid": 22359,
"name": "orioncn1",
]
}
],
"modules": [
"balancer",
"restful",
"status"
],
"available_
"balancer",
"influx",
"restful",
"selftest",
"status",
"zabbix"
],
"services": {
}
}
(ceph-mon)
{
"dashboard": "http://
}
(ceph-mon)
8755
Sabbir Sakib (sakibsys) wrote : | #12 |
Am I doing something wrong?
(ceph-mon)
{
"enabled_
"balancer",
"restful",
"status"
],
"disabled_
"influx",
"selftest",
"zabbix"
]
}
(ceph-mon)
{
"dashboard": "http://
}
[root@controller01 ~]# curl http://
curl: (7) Failed connect to controller01.
[root@oscontrol
Trying 192.168.1.102..
telnet: connect to address 192.168.1.102: Connection refused
Ravinder Kumar (rhcayadav) wrote : | #13 |
As per my understanding you should check created date(in my case its latest 43 hours ago ) of your ceph related images on controller and compute , if it is older ,you should update it and your ceph cluster with new images.
root@orioncn3:~# docker images |grep ceph
REPOSITORY TAG IMAGE ID CREATED SIZE
kolla/ubuntu-
kolla/ubuntu-
kolla/ubuntu-
Ravinder Kumar (rhcayadav) wrote : | #14 |
or please check with <IP>:7000 , because may be your dns is not working properly.
Sabbir Sakib (sakibsys) wrote : | #15 |
Nothing wrong with the DNS and I've checked with IP:7000 as well and got the same result.
Looks like you're using ubuntu binary, in my case I'm using CentOS binary.
Also, How do you upgrade docker images using kolla-ansible?
I basically do "kolla-ansible pull" to pull the latest images and "kolla-ansible deploy" to deploy and update the existing inages.
Ravinder Kumar (rhcayadav) wrote : | #16 |
I also checked this on centos , works good in latest queens.
For image upgrade
As per my opinion , if you on test environment >> just remove ceph containers,volumes , than ceph images and than do parted again for osd disk's , so it will formate them .
remove ceph << rm -rvf /etc/kolla/ceph* & rrm -rvf /var/lib/ceph/osd/* >> from all nodes.
docker pull new images and run deploy again
after successfully upgrading ceph ,if your openstack services does not work , restart all openstack services , that will work , this method is verified by me.
Note : i never did it with kolla-ansible upgrade or in production env. so if it is in production env do it on your risk , because usng above method will be data loss 100% .
Sabbir Sakib (sakibsys) wrote : | #18 |
Thanks, Ravinder. The environment is a semi prod and can't remove any
container at this moment. I will create another ticket with the kolla
community asking how to upgrade container without removing existing once. I
guess you can close this ticket since the dashboard is working for you.
On Mon, Jun 11, 2018 at 10:31 PM Ravinder Kumar <email address hidden>
wrote:
> I also checked this on centos , works good in latest queens.
>
> For image upgrade
>
> As per my opinion , if you on test environment >> just remove ceph
> containers,volumes , than ceph images and than do parted again for osd
> disk's , so it will formate them .
> remove ceph << rm -rvf /etc/kolla/ceph* & rrm -rvf /var/lib/ceph/osd/* >>
> from all nodes.
>
> docker pull new images and run deploy again
>
>
> after successfully upgrading ceph ,if your openstack services does not
> work , restart all openstack services , that will work , this method is
> verified by me.
>
> Note : i never did it with kolla-ansible upgrade or in production env.
> so if it is in production env do it on your risk , because usng above
> method will be data loss 100% .
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Ceph dashboard isn't working
>
> Status in kolla-ansible:
> In Progress
>
> Bug description:
> Hello,
> I've deployed OpenStack with Ceph as a backend storage
> successfully but for some reason, I can't access ceph dashboard.
>
>
> I tried with enabling the module but no luck.
>
> [root@oscontrol
> (ceph-mon)
> {
> "enabled_modules": [
> "balancer",
> "dashboard",
> "restful",
> "status"
> ],
> "disabled_modules": [
> "influx",
> "localpool",
> "prometheus",
> "selftest",
> "zabbix"
> ]
> }
>
> To manage notifications about this bug go to:
> https:/
>
Sabbir Sakib (sakibsys) wrote : | #17 |
Thanks, Ravinder. The environment is a semi prod and can't remove any container at this moment. I will create another ticket with the kolla community asking how to upgrade container without removing existing once. I guess you can close this ticket since the dashboard is working for you.
Surya Prakash Singh (confisurya) wrote : | #19 |
This is duplicate of below bug:
Changed in kolla-ansible: | |
status: | In Progress → Invalid |
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (master) | #20 |
Change abandoned by Surya Prakash (spsurya) (<email address hidden>) on branch: master
Review: https:/
Reason: https:/
Do I need to make any changes in IpTable roles?