You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "jgotteswinter (via GitHub)" <gi...@apache.org> on 2025/04/01 15:11:56 UTC
[I] cloudstack-usage logs private keys [cloudstack]
jgotteswinter opened a new issue, #10646:
URL: https://github.com/apache/cloudstack/issues/10646
### problem
We just finished upgrading 4.19.1.3 to 4.19.2.0. While checking the logs after the upgrade, we saw that the usage server logs contain several private keys which seem to be generated on startup.
### versions
4.19.2.0, KVM, Ubuntu 24.04
### The steps to reproduce the bug
1.
2.
3.
...
### What to do about it?
_No response_
--
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] cloudstack-usage logs private keys [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #10646:
URL: https://github.com/apache/cloudstack/issues/10646#issuecomment-2769787527
@jgotteswinter
Can you give an example ?
--
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] cloudstack-usage logs private keys [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #10646:
URL: https://github.com/apache/cloudstack/issues/10646#issuecomment-2770563128
Thanks @jgotteswinter
Apprently we do not need to log it
https://github.com/apache/cloudstack/blob/2dfe6a633370e172f7d9354a02c1d225d70dd32e/usage/src/main/java/com/cloud/usage/UsageManagerImpl.java#L234
cc @DaanHoogland
--
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] cloudstack-usage logs private keys [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache closed issue #10646: cloudstack-usage logs private keys
URL: https://github.com/apache/cloudstack/issues/10646
--
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] cloudstack-usage logs private keys [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #10646:
URL: https://github.com/apache/cloudstack/issues/10646#issuecomment-2772393333
@weizhouapache are you suggesting
1. not logging at all or
2. lowerthe log level (to trace for instance) or
3. filtering the config to not include the privicy sensitive fields?
--
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] cloudstack-usage logs private keys [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #10646:
URL: https://github.com/apache/cloudstack/issues/10646#issuecomment-2772457982
> [@weizhouapache](https://github.com/weizhouapache) are you suggesting
>
> 1. not logging at all or
> 2. lowerthe log level (to trace for instance) or
> 3. filtering the config to not include the privicy sensitive fields?
@DaanHoogland
1/2 are fine with me
--
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] cloudstack-usage logs private keys [cloudstack]
Posted by "jgotteswinter (via GitHub)" <gi...@apache.org>.
jgotteswinter commented on issue #10646:
URL: https://github.com/apache/cloudstack/issues/10646#issuecomment-2770042949
sure
`2025-04-01 00:15:00,001 INFO [cloud.usage.UsageManagerImpl] (Usage-Job-1:null) (logid:) starting usage job...
2025-04-01 00:15:00,008 DEBUG [cloud.usage.UsageManagerImpl] (Usage-Job-1:null) (logid:) Not owner of usage job, skipping...
2025-04-01 00:15:00,008 INFO [cloud.usage.UsageManagerImpl] (Usage-Job-1:null) (logid:) usage job complete
...
...
025-04-01 07:30:25,020 DEBUG [utils.db.DbProperties] (main:null) (logid:) DB properties were already loaded
2025-04-01 07:30:25,020 DEBUG [utils.crypt.CloudStackEncryptor] (main:null) (logid:) Calling to initialize for class com.cloud.utils.crypt.DBEncryptionUtil
2025-04-01 07:30:25,021 DEBUG [utils.crypt.CloudStackEncryptor] (main:null) (logid:) Initialized with encryptor : AeadBase64Encryptor
2025-04-01 07:30:25,021 DEBUG [utils.crypt.DBEncryptionUtil] (main:null) (logid:) initialized
2025-04-01 07:30:25,029 INFO [cloud.usage.UsageManagerImpl] (main:null) (logid:) configs = {ca.framework.cert.signature.algorithm=SHA256withRSA, ca.framework.background.task.delay=3600, restart.retry.interval=600, allow.additional.vm.configuration.list.xenserver=, mandate.user.2fa=false, outofbandmanagement.ipmitool.retries=1, user.password.encoders.exclude=MD5,LDAP,PLAINTEXT, tungsten.plugin.enable=false,....
...
...
router.stats.interval=300, ca.plugin.root.ca.certificate=-----BEGIN CERTIFICATE-----
MIIFDTCCAvWgAwIBAgIJAN6cWV1i16CgMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV
...
...
...
-----END CERTIFICATE-----
storpool.volumes.stats.interval=3600, backup.plugin.networker.url=https://localhost:9090/nwrestapi/v3, outofbandmanagement.action.timeout=60, consoleproxy.session.max=50, expunge.workers=1, secstorage.ssl.cert.domain=, kvm.ssh.to.agent=true,
...
...
... saml2.redirect.url=xxxx-xxx.net/client, ssh.privatekey=-----BEGIN EC PRIVATE KEY-----
-----END EC PRIVATE KEY-----
`
--
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] cloudstack-usage logs private keys [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #10646:
URL: https://github.com/apache/cloudstack/issues/10646#issuecomment-2800856783
fixed by #10649
--
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] cloudstack-usage logs private keys [cloudstack]
Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #10646:
URL: https://github.com/apache/cloudstack/issues/10646#issuecomment-2769706011
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