You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "tobzsc (via GitHub)" <gi...@apache.org> on 2024/01/16 11:54:34 UTC
[I] Several non-existent management servers [cloudstack]
tobzsc opened a new issue, #8516:
URL: https://github.com/apache/cloudstack/issues/8516
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
UI
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main branch.
-->
~~~
4.18.0.0
4.18.1.0
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise
-->
Nothing special as this seems not to be configuration related.
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
N/A
##### SUMMARY
<!-- Explain the problem/feature briefly -->
After an update from 4.18.0.0 to 4.18.1.0 we noticed that we have several management servers in down state under /client/#/managementserver. We only have one management server and would expect there to be only one single server. Also see the picuture.
<img width="1193" alt="mgmt-servers" src="https://github.com/apache/cloudstack/assets/1703330/e9988c45-2296-4fb5-a641-1881597ef75b">
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
<!-- Paste example playbooks or commands between quotes below -->
~~~
I do not have an idea how to reproduce this.
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
~~~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "tobzsc (via GitHub)" <gi...@apache.org>.
tobzsc commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1956545647
Yes, we can add it. We will check with the next update if the problem is solved and get back to you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1943583978
> Of course. Here you are:
>
> ```
> 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
> ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
> ```
>
>
> We do not have more in it.
Can you add a record for your server?
'ServerIP hostname'
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud closed issue #8516: Several non-existent management servers
URL: https://github.com/apache/cloudstack/issues/8516
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "rajujith (via GitHub)" <gi...@apache.org>.
rajujith commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1893625052
@tobzsc These are possibly due to stale entries in the mshost table, can you check:
`select id,msid,name,state,version,service_ip,last_update,removed from mshost;`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "tobzsc (via GitHub)" <gi...@apache.org>.
tobzsc commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1943530290
Of course. Here you are:
```127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6```
We do not have more in it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "tobzsc (via GitHub)" <gi...@apache.org>.
tobzsc commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1893957936
MAC address was never changed. We are not using DHCP.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1893860054
> That fixed the issue. But still we don't know why it happened.
@tobzsc
do you use dhcp IP ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "tobzsc (via GitHub)" <gi...@apache.org>.
tobzsc commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1893642303
```
mysql> select id,msid,name,state,version,service_ip,last_update,removed from mshost;
+----+-----------------+----------------------+-------+----------+------------+---------------------+---------------------+
| id | msid | name | state | version | service_ip | last_update | removed |
+----+-----------------+----------------------+-------+----------+------------+---------------------+---------------------+
| 1 | 139438635443863 | mgmt01.cloud.23m.com | Down | 4.18.0.0 | 10.100.0.1 | 2023-07-21 11:53:53 | 2023-07-28 22:16:49 |
| 2 | 195765048550806 | mgmt01.cloud.23m.com | Down | 4.18.0.0 | 10.100.0.1 | 2023-07-24 15:58:55 | 2023-07-28 22:17:01 |
| 3 | 95390881156670 | mgmt01.cloud.23m.com | Down | 4.18.0.0 | 10.100.0.1 | 2023-07-27 11:01:36 | 2023-07-28 22:17:03 |
| 4 | 50929507305524 | mgmt01.cloud.asdf.com | Down | 4.18.0.0 | 10.100.0.1 | 2023-07-31 12:42:19 | NULL |
| 5 | 55476218781091 | mgmt01.cloud.asdf.com | Down | 4.18.0.0 | 10.100.0.1 | 2023-08-02 13:20:40 | NULL |
| 6 | 182968675161706 | mgmt01.cloud.asdf.com | Down | 4.18.1.0 | 10.100.0.1 | 2023-11-10 10:31:58 | NULL |
| 7 | 209385682338933 | mgmt01.cloud.asdf.com | Down | 4.18.1.0 | 10.100.0.1 | 2023-11-13 14:03:35 | NULL |
| 8 | 204860996050848 | mgmt01.cloud.asdf.com | Down | 4.18.1.0 | 10.100.0.1 | 2023-11-29 12:56:24 | NULL |
| 9 | 279468430192113 | mgmt01.cloud.asdf.com | Down | 4.18.1.0 | 10.100.0.1 | 2023-11-29 15:38:39 | NULL |
| 10 | 12007795354167 | mgmt01.cloud.asdf.com | Down | 4.18.1.0 | 10.100.0.1 | 2023-12-04 15:18:33 | NULL |
| 11 | 46291004457368 | mgmt01.cloud.asdf.com | Down | 4.18.1.0 | 10.100.0.1 | 2023-12-04 15:28:39 | NULL |
| 12 | 143822807052936 | mgmt01.cloud.23m.com | Down | 4.18.1.0 | 10.100.0.1 | 2023-12-04 15:41:48 | NULL |
| 13 | 187737961497700 | mgmt01.cloud.asdf.com | Down | 4.18.1.0 | 10.100.0.1 | 2023-12-05 10:09:17 | NULL |
| 14 | 103509587851758 | mgmt01.cloud.asdf.com | Down | 4.18.1.0 | 10.100.0.1 | 2023-12-05 13:39:14 | NULL |
| 15 | 266940830264052 | mgmt01.cloud.asdf.com | Up | 4.18.1.0 | 10.100.0.1 | 2024-01-16 12:23:36 | NULL |
+----+-----------------+----------------------+-------+----------+------------+---------------------+---------------------+
15 rows in set (0.00 sec)
```
From my understanding I should set all other entries to removed except the one which is active.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1894032324
> MAC address was never changed. We are not using DHCP.
Ok @tobzsc
is hostname configured correctly ?
try the following commands
- which hostname
- ls -l /usr/bin/hostname /bin/hostname
- hostname
- hostname -f
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "tobzsc (via GitHub)" <gi...@apache.org>.
tobzsc commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1893666714
That fixed the issue. But still we don't know why it happened.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "rajujith (via GitHub)" <gi...@apache.org>.
rajujith commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1893661099
> From my understanding I should set all other entries to removed except the one which is active.
Yes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1934671746
We should be able to classify this as a bug - so CloudStack shouldn't create duplicates in mshost table.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1938223580
If we don't know why it happened and how to reproduce we can not classify it as a bug @rohityadavcloud
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1938756297
@tobzsc
can you share the `/etc/hosts` file ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1893594547
Thanks for opening your first issue here! Be sure to follow the issue template!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-1893703378
@tobzsc , I am not sure, but this might be due to breaking an operation half way, i.e. start and stop repeatedly ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Several non-existent management servers [cloudstack]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #8516:
URL: https://github.com/apache/cloudstack/issues/8516#issuecomment-2085260529
I think this is fixed by https://github.com/apache/cloudstack/pull/8988 and same as https://github.com/apache/cloudstack/issues/8174
Closing, pl test 4.19.1.0 when it is released in future, or try the nightlies http://download.cloudstack.org/testing/nightly/latest/
If you still get this issue, pl re-open this issue or log a new one. Thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org