[FB-4981] MySQL URL 및 Curl 업데이트

묘사

패치에 대한 설명
percona URL 수정
권장 릴리즈 노트
Percona url 복구 프로그램
위험을 예측하다
고성능 MySQL 설치
관련된 구성 요소
MySQL
테스트 완료 설명
  • 새로운 환경 조성
  • 선택한 MySQL 버전
  • 부팅된 솔로 인스턴스
  • chef가 성공적으로 실행되었는지, MySQL이 정확한지 검사
  • 여러 인스턴스가 시작됨
  • 요리사의 성공 운행 검사
  • MySQL 버전 확인
  • 품질 보증 설명
  • 중복 테스트
  • 토론 #1

    Solo-mysql v8 검사를 통해 ->8.0.18-9=>Pass로 표시
    다른 두 버전의 mysql와 함께 솔로와 mult envs->에서 오류가 발생했습니다.
    다기능x 환경
    NoMethodError
    -------------
    undefined method `<<' for nil:NilClass
    
    Cookbook Trace:
    ---------------
      /etc/chef/recipes/cookbooks/mysql/recipes/install.rb:78:in `from_file'
      /etc/chef/recipes/cookbooks/mysql/recipes/master.rb:6:in `from_file'
      /etc/chef/recipes/cookbooks/db_master/recipes/prep.rb:7:in `from_file'
      /etc/chef/recipes/cookbooks/ey-init/recipes/main.rb:9:in `block in from_file'
      /etc/chef/recipes/cookbooks/ey-init/recipes/main.rb:9:in `each'
      /etc/chef/recipes/cookbooks/ey-init/recipes/main.rb:9:in `from_file'
    
    Relevant File Content:
    ----------------------
    /etc/chef/recipes/cookbooks/mysql/recipes/install.rb:
    
     71:      source "mysql_override.conf"
     72:      owner "root"
     73:      group "root"
     74:      mode 0644
     75:      notifies :run, "execute[reload-systemd]", :immediately
     76:    end
     77:  
     78>>   packages << 'percona-server-server'
     79:  end
     80:  
     81:  ruby_block "install mysql using version on lock file if present" do
     82:    block do
     83:      # check if the version is valid
     84:      if File.exists?(lock_version_file)
     85:        install_version  = %x{cat #{lock_version_file}}.strip
     86:      else
     87:        install_version = node['mysql']['latest_version']
    
    System Info:
    
    독주x
    ls: 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
    
    ================================================================================
    Error executing action `run` on resource 'execute[start-mysql]'
    ================================================================================
    
    Errno::ENOENT
    -------------
    execute[Guard resource] (dynamically defined) had an error: Errno::ENOENT: No such file or directory - /etc/init.d/mysql
    
    Resource Declaration:
    ---------------------
    # In /etc/chef/recipes/cookbooks/mysql/recipes/startup.rb
    
     13: execute "start-mysql" do
     14:   sleeptime = 15      # check mysql's status every 15 seconds
     15:   sleeplimit = 7200   # give mysql 2 hours to start (for long recovery operations)
     16: 
     17:   command "/engineyard/bin/mysql_start --password #{node.engineyard.environment['db_admin_password']} --check #{sleeptime} --timeout #{sleeplimit}"
     18: 
     19:   timeout sleeplimit
     20: 
     21:   not_if "/etc/init.d/mysql status"
     22: end
     23: 
    
    

    토론 #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->ok
    Msyql56-> 다중 환경 -> 일반

    좋은 웹페이지 즐겨찾기