salt icon indicating copy to clipboard operation
salt copied to clipboard

2014.7.5 for Lucid packages?

Open junster1 opened this issue 11 years ago • 23 comments

Any chance we can get Lucid versions built for 2014.7.5?

@joehealy

junster1 avatar Apr 29 '15 18:04 junster1

Lucid will reach end of life in a few days, so we've decided to similarly drop support.

jfindlay avatar Apr 29 '15 19:04 jfindlay

I will be aiming to get a final release up today though.

Cheers,

Joe

On Thu, Apr 30, 2015 at 5:27 AM, Justin Findlay [email protected] wrote:

Lucid will reach end of life in a few days, so we've decided to similarly drop support.

— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/23179#issuecomment-97551614.

joehealy avatar Apr 29 '15 22:04 joehealy

Package has gone up to the main salt repository.

Should be available in a few minutes.

Cheers,

Joe

On Thu, Apr 30, 2015 at 8:12 AM, Joe Healy [email protected] wrote:

I will be aiming to get a final release up today though.

Cheers,

Joe

On Thu, Apr 30, 2015 at 5:27 AM, Justin Findlay [email protected] wrote:

Lucid will reach end of life in a few days, so we've decided to similarly drop support.

— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/23179#issuecomment-97551614.

joehealy avatar Apr 30 '15 00:04 joehealy

Thanks, @joehealy!

jfindlay avatar Apr 30 '15 15:04 jfindlay

Thanks for taking the time to support on old os. We are pushing to get off it as soon as we can, but would like to keep things as uniform as possible.

However, when testing this out I am getting these errors.

$ dpkg -i salt-common_2014.7.5+ds-1lucid2_all.deb 
Selecting previously deselected package salt-common.
(Reading database ... 246384 files and directories currently installed.)
Unpacking salt-common (from salt-common_2014.7.5+ds-1lucid2_all.deb) ...
Setting up salt-common (2014.7.5+ds-1lucid2) ...

Processing triggers for man-db ...
Processing triggers for python-support ...
Compiling /usr/lib/pymodules/python2.6/salt/_syspaths.py ...
SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.6/salt/_syspaths.py', 2, 1, '. (Date from debian changelog)\n'))

Although it shows clean according to dpkg -l.

$ dpkg -l |grep salt
ii  salt-common                                       2014.7.5+ds-1lucid2                             shared libraries that salt requires for all 
ii  salt-minion                                       2014.7.5+ds-1lucid2                             client package for salt, the distributed rem

But when trying to run salt-call --versions, I get the following errors. I tried installing salt-ssh, also doesn't include those libraries.

$ salt-call --versions
Traceback (most recent call last):
  File "/usr/bin/salt-call", line 7, in <module>
    from salt.scripts import salt_call
  File "/usr/lib/python2.6/dist-packages/salt/scripts.py", line 17, in <module>
  File "/usr/lib/python2.6/dist-packages/salt/cli/__init__.py", line 17, in <module>
  File "/usr/lib/python2.6/dist-packages/salt/client/ssh/__init__.py", line 143, in <module>
  File "/usr/lib/python2.6/dist-packages/salt/utils/__init__.py", line 1066, in fopen
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.6/dist-packages/salt/client/ssh/ssh_py_shim.pyc'

junster1 avatar Apr 30 '15 16:04 junster1

Thanks for the feedback - I'll look at getting another build up ASAP.

Thanks very much for testing these and the feedback.

I'm very keen to get a final "good" release up to launchpad before it shuts off for lucid.

Cheers,

Joe

On Fri, May 1, 2015 at 2:29 AM, Ryan Larson [email protected] wrote:

Thanks for taking the time to support on old os. We are pushing to get off it as soon as we can, but would like to keep things as uniform as possible.

However, when testing this out I am getting these errors. dpkg -i salt-common_2014.7.5+ds-1lucid2_all.deb

Selecting previously deselected package salt-common. (Reading database ... 246384 files and directories currently installed.) Unpacking salt-common (from salt-common_2014.7.5+ds-1lucid2_all.deb) ... Setting up salt-common (2014.7.5+ds-1lucid2) ...

Processing triggers for man-db ... Processing triggers for python-support ... Compiling /usr/lib/pymodules/python2.6/salt/_syspaths.py ... SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.6/salt/_syspaths.py', 2, 1, '. (Date from debian changelog)\n'))

Although it shows clean according to dpkg -l. dpkg -l |grep salt

ii salt-common 2014.7.5+ds-1lucid2 shared libraries that salt requires for all ii salt-minion 2014.7.5+ds-1lucid2 client package for salt, the distributed rem

But when trying to run salt-call --versions, I get the following errors. I tried installing salt-ssh, also doesn't include those libraries. salt-call --versions

Traceback (most recent call last): File "/usr/bin/salt-call", line 7, in from salt.scripts import salt_call File "/usr/lib/python2.6/dist-packages/salt/scripts.py", line 17, in File "/usr/lib/python2.6/dist-packages/salt/cli/init.py", line 17, in File "/usr/lib/python2.6/dist-packages/salt/client/ssh/init.py", line 143, in File "/usr/lib/python2.6/dist-packages/salt/utils/init.py", line 1066, in fopen IOError: [Errno 2] No such file or directory: '/usr/lib/python2.6/dist-packages/salt/client/ssh/ssh_py_shim.pyc'

— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/23179#issuecomment-97869374.

joehealy avatar May 01 '15 00:05 joehealy

I've uploaded a new package to launchpad. This will have fixed the first issue (the exception regarding _syspath).

It may have fixed the second issue as a result, but I'm not sure.

What version are you upgrading from as the exception following your salt-call call is not from 2014.7.5 as line 1066 is not in fopen?

Can you please test and let me know how it goes - hopefully we can do this while launchpad is still building for lucid.

cheers,

Joe

On Fri, May 1, 2015 at 10:16 AM, Joe Healy [email protected] wrote:

Thanks for the feedback - I'll look at getting another build up ASAP.

Thanks very much for testing these and the feedback.

I'm very keen to get a final "good" release up to launchpad before it shuts off for lucid.

Cheers,

Joe

On Fri, May 1, 2015 at 2:29 AM, Ryan Larson [email protected] wrote:

Thanks for taking the time to support on old os. We are pushing to get off it as soon as we can, but would like to keep things as uniform as possible.

However, when testing this out I am getting these errors. dpkg -i salt-common_2014.7.5+ds-1lucid2_all.deb

Selecting previously deselected package salt-common. (Reading database ... 246384 files and directories currently installed.) Unpacking salt-common (from salt-common_2014.7.5+ds-1lucid2_all.deb) ... Setting up salt-common (2014.7.5+ds-1lucid2) ...

Processing triggers for man-db ... Processing triggers for python-support ... Compiling /usr/lib/pymodules/python2.6/salt/_syspaths.py ... SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.6/salt/_syspaths.py', 2, 1, '. (Date from debian changelog)\n'))

Although it shows clean according to dpkg -l. dpkg -l |grep salt

ii salt-common 2014.7.5+ds-1lucid2 shared libraries that salt requires for all ii salt-minion 2014.7.5+ds-1lucid2 client package for salt, the distributed rem

But when trying to run salt-call --versions, I get the following errors. I tried installing salt-ssh, also doesn't include those libraries. salt-call --versions

Traceback (most recent call last): File "/usr/bin/salt-call", line 7, in from salt.scripts import salt_call File "/usr/lib/python2.6/dist-packages/salt/scripts.py", line 17, in File "/usr/lib/python2.6/dist-packages/salt/cli/init.py", line 17, in File "/usr/lib/python2.6/dist-packages/salt/client/ssh/init.py", line 143, in File "/usr/lib/python2.6/dist-packages/salt/utils/init.py", line 1066, in fopen IOError: [Errno 2] No such file or directory: '/usr/lib/python2.6/dist-packages/salt/client/ssh/ssh_py_shim.pyc'

— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/23179#issuecomment-97869374.

joehealy avatar May 01 '15 02:05 joehealy

Looks like launchpad is now rejecting lucid builds. That is less than ideal.

I'll do a build on my own and host it at debian.saltstack.com - I'll let you know when it is up (expecting this afternoon/over the weekend).

Cheers,

Joe

On Fri, May 1, 2015 at 12:38 PM, Joe Healy [email protected] wrote:

I've uploaded a new package to launchpad. This will have fixed the first issue (the exception regarding _syspath).

It may have fixed the second issue as a result, but I'm not sure.

What version are you upgrading from as the exception following your salt-call call is not from 2014.7.5 as line 1066 is not in fopen?

Can you please test and let me know how it goes - hopefully we can do this while launchpad is still building for lucid.

cheers,

Joe

On Fri, May 1, 2015 at 10:16 AM, Joe Healy [email protected] wrote:

Thanks for the feedback - I'll look at getting another build up ASAP.

Thanks very much for testing these and the feedback.

I'm very keen to get a final "good" release up to launchpad before it shuts off for lucid.

Cheers,

Joe

On Fri, May 1, 2015 at 2:29 AM, Ryan Larson [email protected] wrote:

Thanks for taking the time to support on old os. We are pushing to get off it as soon as we can, but would like to keep things as uniform as possible.

However, when testing this out I am getting these errors. dpkg -i salt-common_2014.7.5+ds-1lucid2_all.deb

Selecting previously deselected package salt-common. (Reading database ... 246384 files and directories currently installed.) Unpacking salt-common (from salt-common_2014.7.5+ds-1lucid2_all.deb) ... Setting up salt-common (2014.7.5+ds-1lucid2) ...

Processing triggers for man-db ... Processing triggers for python-support ... Compiling /usr/lib/pymodules/python2.6/salt/_syspaths.py ... SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.6/salt/_syspaths.py', 2, 1, '. (Date from debian changelog)\n'))

Although it shows clean according to dpkg -l. dpkg -l |grep salt

ii salt-common 2014.7.5+ds-1lucid2 shared libraries that salt requires for all ii salt-minion 2014.7.5+ds-1lucid2 client package for salt, the distributed rem

But when trying to run salt-call --versions, I get the following errors. I tried installing salt-ssh, also doesn't include those libraries. salt-call --versions

Traceback (most recent call last): File "/usr/bin/salt-call", line 7, in from salt.scripts import salt_call File "/usr/lib/python2.6/dist-packages/salt/scripts.py", line 17, in File "/usr/lib/python2.6/dist-packages/salt/cli/init.py", line 17, in File "/usr/lib/python2.6/dist-packages/salt/client/ssh/init.py", line 143, in File "/usr/lib/python2.6/dist-packages/salt/utils/init.py", line 1066, in fopen IOError: [Errno 2] No such file or directory: '/usr/lib/python2.6/dist-packages/salt/client/ssh/ssh_py_shim.pyc'

— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/23179#issuecomment-97869374.

joehealy avatar May 01 '15 02:05 joehealy

I haven't set up the hosting for the lucid packages yet, but they can be downloaded from https://www.dropbox.com/s/92ldi8b8la50h6h/salt_2014.7.5%2Bds-1lucid3.tar.gz?dl=0 in the short term.

joehealy avatar May 01 '15 04:05 joehealy

That seems to have fixed the issue, thank you very much.

$ salt-call --versions Salt: 2014.7.5 Python: 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) Jinja2: 2.7.3 M2Crypto: 0.22 msgpack-python: 0.4.2 msgpack-pure: Not Installed pycrypto: 2.6.1 libnacl: Not Installed PyYAML: 3.11 ioflo: Not Installed PyZMQ: 14.4.1 RAET: Not Installed ZMQ: 4.0.5 Mako: Not Installed Debian source package: 2014.7.5+ds-1lucid3

junster1 avatar May 01 '15 04:05 junster1

Great to hear - I'll get these hosted at debian.saltstack.com tonight.

On Fri, May 1, 2015 at 2:56 PM, Ryan Larson [email protected] wrote:

That seems to have fixed the issue, thank you very much.

$ salt-call --versions Salt: 2014.7.5 Python: 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) Jinja2: 2.7.3 M2Crypto: 0.22 msgpack-python: 0.4.2 msgpack-pure: Not Installed pycrypto: 2.6.1 libnacl: Not Installed PyYAML: 3.11 ioflo: Not Installed PyZMQ: 14.4.1 RAET: Not Installed ZMQ: 4.0.5 Mako: Not Installed Debian source package: 2014.7.5+ds-1lucid3

— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/23179#issuecomment-98045320.

joehealy avatar May 01 '15 05:05 joehealy

@junster1, do you think this issue can be closed now?

jfindlay avatar May 11 '15 20:05 jfindlay

I can verify this works on a freshly built Ubuntu 10.04 machine whereas the version from ppa.launchpad.net/saltstack was failing horribly. Was actually just coming here to report the issue and was pleasantly surprised to see it fixed, and also a reason why I was unable to find it in the "usual places".

dragon788 avatar May 12 '15 00:05 dragon788

Great to hear. I'll delete the one from ppa.launchpad.net/saltstack as it is broken and the debian.saltstack.com packages have been confirmed to work by a real ubuntu user.

On Tue, May 12, 2015 at 10:18 AM, dragon788 [email protected] wrote:

I can verify this works on a freshly built Ubuntu 10.04 machine whereas the version from ppa.launchpad.net/saltstack was failing horribly. Was actually just coming here to report the issue and was pleasantly surprised to see it fixed, and also a reason why I was unable to find it in the "usual places".

— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/23179#issuecomment-101079846.

joehealy avatar May 12 '15 00:05 joehealy

Yes, I am happy with the current build, please close the ticket. Thanks.

junster1 avatar May 12 '15 00:05 junster1

I installed the version from debian.saltstack.com and am not getting the one error anymore, but still the other one concerning missing libraries:

$ salt-minion -l info
Traceback (most recent call last):
  File "/usr/bin/salt-minion", line 6, in <module>
    from salt.scripts import salt_minion
  File "/usr/lib/python2.6/dist-packages/salt/scripts.py", line 17, in <module>
  File "/usr/lib/python2.6/dist-packages/salt/cli/__init__.py", line 17, in <module>
  File "/usr/lib/python2.6/dist-packages/salt/client/ssh/__init__.py", line 143, in <module>
  File "/usr/lib/python2.6/dist-packages/salt/utils/__init__.py", line 1066, in fopen
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.6/dist-packages/salt/client/ssh/ssh_py_shim.pyc'
$ dpkg -l |grep salt
ii  salt-common                     2014.7.5+ds-1lucid3                             shared libraries that salt requires for all 
ii  salt-minion                     2014.7.5+ds-1lucid3                             client package for salt, the distributed rem

4001982248998 avatar May 12 '15 06:05 4001982248998

What version are you upgrading from as the exception following your salt-call call is not from 2014.7.5 as line 1066 is not in fopen?

Could that be left over from a manual install or from an earlier version?

On Tue, May 12, 2015 at 4:10 PM, svenehret [email protected] wrote:

I installed the version from debian.saltstack.com and am not getting the one error anymore, but still the other one concerning missing libraries:

$ salt-minion -l info Traceback (most recent call last): File "/usr/bin/salt-minion", line 6, in from salt.scripts import salt_minion File "/usr/lib/python2.6/dist-packages/salt/scripts.py", line 17, in File "/usr/lib/python2.6/dist-packages/salt/cli/init.py", line 17, in File "/usr/lib/python2.6/dist-packages/salt/client/ssh/init.py", line 143, in File "/usr/lib/python2.6/dist-packages/salt/utils/init.py", line 1066, in fopen IOError: [Errno 2] No such file or directory: '/usr/lib/python2.6/dist-packages/salt/client/ssh/ssh_py_shim.pyc'

$ dpkg -l |grep salt ii salt-common 2014.7.5+ds-1lucid3 shared libraries that salt requires for all ii salt-minion 2014.7.5+ds-1lucid3 client package for salt, the distributed rem

— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/23179#issuecomment-101147704.

joehealy avatar May 12 '15 06:05 joehealy

it was version 2014.7.1:

Start-Date: 2015-05-12  08:56:36
Upgrade: salt-common (2014.7.1+ds-3lucid6, 2014.7.5+ds-1lucid2), salt-minion (2014.7.1+ds-3lucid6, 2014.7.5+ds-1lucid2)
End-Date: 2015-05-12  08:56:46

I tried purging both packets salt-common and salt-minion and reinstalling them afterwards, but the error stays.

4001982248998 avatar May 12 '15 06:05 4001982248998

If you notice when you purge the 2014.7.1 package, it shows an error saying that /usr/lib/python2.6/dist-packages/salt/ is not empty, not removing. That is what is causing this error.

If you simply remove the package and then remove that directory structure manually, the new package version installs and works cleanly. I don't see it as an issue with the current package, more of an issue with the previous version.

junster1 avatar May 12 '15 12:05 junster1

true. Tried it and it works. Cheers!

4001982248998 avatar May 12 '15 12:05 4001982248998