Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSConfigAgent Error inventory.go:57, Error policies.go:193 #428

Open
bdaltrendify opened this issue Apr 13, 2022 · 2 comments
Open

OSConfigAgent Error inventory.go:57, Error policies.go:193 #428

bdaltrendify opened this issue Apr 13, 2022 · 2 comments

Comments

@bdaltrendify
Copy link

Ekran Alıntısı2

How can I solve this problems?

@bdaltrendify bdaltrendify changed the title OSConfigAgent Error inventory.go:57, Error plicies.go:193 OSConfigAgent Error inventory.go:57, Error policies.go:193 Apr 13, 2022
@adjackura
Copy link
Contributor

Do you have the full error logs? The posted log is getting cut off so I can't see the errors.

@rogerio-bassete
Copy link

I have the same problem.

CentOS Linux release 7.9.2009 (Core)
Name : google-cloud-ops-agent
Architecture: x86_64
Version: 2.28.0

LOG:

"MESSAGE": "2023-03-27T14:01:26.0936-03:00 OSConfigAgent Error inventory.go:55: packages.GetPackageUpdates() error: error getting yum updates: error checking for yum updates, non-zero error code from 'yum update' but no packages parsed, stdout: \"Plugins carregados: fastestmirror\\r\\nResolvendo dependências\\r\\n--> Executando verificação da transação\\r\\n---> O pacote google-cloud-ops-agent.x86_64 0:2.28.0-1.el7 será atualizado\\r\\n---> O pacote google-cloud-ops-agent.x86_64 0:2.29.0-1.el7 será uma atualização\\r\\n---> O pacote google-osconfig-agent.x86_64 1:20221214.00-g1.el7 será atualizado\\r\\n---> O pacote google-osconfig-agent.x86_64 1:20230227.01-g1.el7 será uma atualização\\r\\n--> Resolução de dependências finalizada\\r\\n\\r\\nDependências resolvidas\\r\\n\\r\\n====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================\\r\\n Package                                                                                                                        Arq.                                                                                                           Versão                                                                                                                          Repo                                                                                                                            Tam.\\r\\n====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================\\r\\nAtualizando:\\r\\n google-cloud-ops-agent                                                                                                         x86_64                                                                                                         2.29.0-1.el7                                                                                                                    google-cloud-ops-agent                                                                                                         143 M\\r\\n google-osconfig-agent                                                                                                          x86_64                                                                                                         1:20230227.01-g1.el7                                                                                                            google-compute-engine                                                                                                          4.9 M\\r\\n\\r\\nResumo da transação\\r\\n====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================\\r\\nUpgrade  2 Packages\\r\\n\\r\\nTamanho total do download: 148 M\\r\\nExiting on user command\\r\\nYour transaction was saved, rerun it with:\\r\\n yum load-transaction /tmp/yum_save_tx.2023-03-27.14-01.E9xAGH.yumtx\\r\\n\""
   "message": "packages.GetPackageUpdates() error: error getting yum updates: error checking for yum updates, non-zero error code from 'yum update' but no packages parsed, stdout: \"Plugins carregados: fastestmirror\\r\\nResolvendo dependências\\r\\n--> Executando verificação da transação\\r\\n---> O pacote google-osconfig-agent.x86_64 1:20221214.00-g1.el7 será atualizado\\r\\n---> O pacote google-osconfig-agent.x86_64 1:20230227.01-g1.el7 será uma atualização\\r\\n--> Resolução de dependências finalizada\\r\\n\\r\\nDependências resolvidas\\r\\n\\r\\n====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================\\r\\n Package                                                                                                                        Arq.                                                                                                            Versão                                                                                                                         Repo                                                                                                                            Tam.\\r\\n====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================\\r\\nAtualizando:\\r\\n google-osconfig-agent                                                                                                          x86_64                                                                                                          1:20230227.01-g1.el7                                                                                                           google-compute-engine                                                                                                          4.9 M\\r\\n\\r\\nResumo da transação\\r\\n====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================\\r\\nUpgrade  1 Package\\r\\n\\r\\nTamanho total do download: 4.9 M\\r\\nExiting on user command\\r\\nYour transaction was saved, rerun it with:\\r\\n yum load-transaction /tmp/yum_save_tx.2023-03-27.13-11.2yXY3G.yumtx\\r\\n\"",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants