[FB-4981] MySQL URL 및 Curl 업데이트
5499 단어 ey-cookbooks-stable-v6
묘사
패치에 대한 설명percona URL 수정
권장 릴리즈 노트
Percona url 복구 프로그램
위험을 예측하다
고성능 MySQL 설치
관련된 구성 요소
MySQL
테스트 완료 설명
토론 #1
Solo-mysql v8 검사를 통해 ->8.0.18-9=>Pass로 표시다른 두 버전의 mysql와 함께 솔로와 mult envs->에서 오류가 발생했습니다.
다기능x 환경
[0mNoMethodError[0m
-------------[0m
undefined method `<<' for nil:NilClass[0m
[0mCookbook Trace:[0m
---------------[0m
/etc/chef/recipes/cookbooks/mysql/recipes/install.rb:78:in `from_file'
[0m /etc/chef/recipes/cookbooks/mysql/recipes/master.rb:6:in `from_file'
[0m /etc/chef/recipes/cookbooks/db_master/recipes/prep.rb:7:in `from_file'
[0m /etc/chef/recipes/cookbooks/ey-init/recipes/main.rb:9:in `block in from_file'
[0m /etc/chef/recipes/cookbooks/ey-init/recipes/main.rb:9:in `each'
[0m /etc/chef/recipes/cookbooks/ey-init/recipes/main.rb:9:in `from_file'[0m
[0mRelevant File Content:[0m
----------------------[0m
/etc/chef/recipes/cookbooks/mysql/recipes/install.rb:
[0m
[0m 71: source "mysql_override.conf"
[0m 72: owner "root"
[0m 73: group "root"
[0m 74: mode 0644
[0m 75: notifies :run, "execute[reload-systemd]", :immediately
[0m 76: end
[0m 77:
[0m 78>> packages << 'percona-server-server'
[0m 79: end
[0m 80:
[0m 81: ruby_block "install mysql using version on lock file if present" do
[0m 82: block do
[0m 83: # check if the version is valid
[0m 84: if File.exists?(lock_version_file)
[0m 85: install_version = %x{cat #{lock_version_file}}.strip
[0m 86: else
[0m 87: install_version = node['mysql']['latest_version']
[0m
[0mSystem Info:[0m
독주xls: cannot access '/var/log/engineyard/apps/': No such file or directory
ls: cannot access '/var/log/engineyard/apps/': No such file or directory
sh: 1: cd: can't cd to /data/nginx/servers
Setting up better bash prompt for user: deploy ...
Found home directory /home/deploy for deploy ...
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Unsupported file /tmp/src/Percona-Server-5.6.47/percona-server-common*.deb given on commandline
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Unsupported file /tmp/src/Percona-Server-5.6.47/libperconaserverclient18.1_*.deb given on commandline
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Unsupported file /tmp/src/Percona-Server-5.6.47/percona-server-client*.deb given on commandline
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Unsupported file /tmp/src/Percona-Server-5.6.47/percona-server-server*.deb given on commandline
[0m
================================================================================[0m
[31mError executing action `run` on resource 'execute[start-mysql]'[0m
================================================================================[0m
[0mErrno::ENOENT[0m
-------------[0m
execute[Guard resource] (dynamically defined) had an error: Errno::ENOENT: No such file or directory - /etc/init.d/mysql[0m
[0mResource Declaration:[0m
---------------------[0m
# In /etc/chef/recipes/cookbooks/mysql/recipes/startup.rb
[0m
[0m 13: execute "start-mysql" do
[0m 14: sleeptime = 15 # check mysql's status every 15 seconds
[0m 15: sleeplimit = 7200 # give mysql 2 hours to start (for long recovery operations)
[0m 16:
[0m 17: command "/engineyard/bin/mysql_start --password #{node.engineyard.environment['db_admin_password']} --check #{sleeptime} --timeout #{sleeplimit}"
[0m 18:
[0m 19: timeout sleeplimit
[0m 20:
[0m 21: not_if "/etc/init.d/mysql status"
[0m 22: end
[0m 23:
[0m
토론 #2
안녕@pasanchamikara 다시 만들 수 없음을 검사해 주셔서 감사합니다.새로 시작한 인스턴스와 볼륨 또는 스냅샷은 어디에 있습니까?나 둘 다 해봤어.토론 #셋
Hi @pasanchamikara Thanks for checking I'm unable to recreate. Where these freshly booted instances and volume or from a snapshot? as I've tried both.
감사합니다 @mushyy.나는 지금 labrea로 같은 시도를 했는데 효과가 좋은 것 같다.그러나, 나는 중첩과 집행을 시도했지만, 나에게는 적용되지 않았다.
내가 따르는 절차를 규명하기 위해
1. I overlayed the recipes
2. i. Tried with `/opt/chef/embedded/bin/chef-solo -j /etc/chef/dna.json -c /etc/chef/solo.rb > /var/log/chef.manual.log 2>&1`
ii. Tried running the main chef run `i.apply_updates(User.by_email("[email protected]"), :main)`
토론 #4
토론 #5
Msyql56->mono Env->okMsyql56-> 다중 환경 -> 일반
Reference
이 문제에 관하여([FB-4981] MySQL URL 및 Curl 업데이트), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://github.com/engineyard/ey-cookbooks-stable-v6/issues/199텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)