Closed logbie closed 5 years ago
@logbie i'm curious if that is an issue with the system. Can you install mysql-server without using salt? Do you still get the same error?
I can install mysql just fine when run from apt on the command line. i get the same error when i run
salt '<id>' pkg.install mysql-server
this command works on ubuntu 14.04 but will not run on 16.04.2.
if you need any further info let me know
FYI, this is working correctly for me:
sudo salt 'mysqlminion' pkg.install mysql-server
mysqlminion:
----------
mysql-server:
----------
new:
5.7.18-0ubuntu0.16.04.1
old:
mysqlminion:
Salt Version:
Salt: 2016.11.6
Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.4.2
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.8
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: 1.0.3
msgpack-pure: Not Installed
msgpack-python: 0.4.6
mysql-python: 1.3.7
pycparser: Not Installed
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 2.7.12 (default, Nov 19 2016, 06:48:10)
python-gnupg: Not Installed
PyYAML: 3.11
PyZMQ: 15.2.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.1.4
System Versions:
dist: Ubuntu 16.04 xenial
machine: x86_64
release: 3.13.0-123-generic
system: Linux
version: Ubuntu 16.04 xenial
As well as a state:
sudo salt 'mysqlminion' state.sls mysql
mysqlminion:
----------
ID: mysql-server
Function: pkg.installed
Result: True
Comment: The following packages were installed/updated: mysql-server
Started: 21:40:51.192887
Duration: 81760.58 ms
Changes:
----------
<--- snip --->
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
When i try to apply a state to my minions in setup everything else just fine but will not install mysql-server
I am running ubuntu 16.04.2 on a Digital ocean VM (both master and minion)
I am using GitFS and salt formulas
Error produced
Master config File
Steps to Reproduce Issue
(Include debug logs if possible and relevant.)
Versions Report