Ubuntu14.04: servers reimaged with ubuntu14.04. base OS, has Puppet agent is in disabled state

Bug #1401432 reported by Bharat Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.0
Fix Released
Critical
Thilak Raj
Trunk
Fix Released
Critical
Thilak Raj

Bug Description

servers reimaged with ubuntu14.04 base OS with server-manager has puppet agent in disabled state.
tested with build #12 with ubuntu server-manager

Logs:
=====
root@nodeg32:~# puppet agent -t
Notice: Ignoring --listen on onetime run
Notice: Skipping run of Puppet configuration client; administratively disabled (Reason: 'Disabled by default on new installations');
Use 'puppet agent --enable' to re-enable.
root@nodeg32:~#

information type: Private → Public
Revision history for this message
Abhay Joshi (abhayj) wrote :

Removing blocker. Problem is not seen when using SM installed on Ubuntu 12.04.3. SM install on Ubuntu 14.04 yet to be completed.

tags: removed: blocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/5704
Committed: http://github.org/Juniper/contrail-server-manager/commit/b0983fea6bd0fa4347bf6785f70b19b147f60bc2
Submitter: Zuul
Branch: R2.0

commit b0983fea6bd0fa4347bf6785f70b19b147f60bc2
Author: tsurendra <email address hidden>
Date: Tue Dec 16 14:52:19 2014 -0800

[Ubuntu14.04: servers reimaged with ubuntu14.04. base OS, has Puppet
agent is in disabled state]

Closes-Bug: #1401432

Issue:
Trusty repo has puppet 3.x > 2.7 which is a part of smgr repo.
As a result puppet from trusty repo gets installed against 2.7.x
Eventhough SMGR repo is before trusty repo in sources.list.

Fix:
Install pupet having the smgr repo alone in the sources.list.
after install of puppet revert the repo to old form.

Testing:
Re-image and provision on Ubuntu 14.0.4

Change-Id: Id8733dbac62cf5eb2c0e9c3ab757ed2b10dc7a97

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/5705
Committed: http://github.org/Juniper/contrail-server-manager/commit/a977b12d900919750a94e52523bd152fe82e3b2d
Submitter: Zuul
Branch: master

commit a977b12d900919750a94e52523bd152fe82e3b2d
Author: tsurendra <email address hidden>
Date: Tue Dec 16 14:52:19 2014 -0800

[Ubuntu14.04: servers reimaged with ubuntu14.04. base OS, has Puppet
agent is in disabled state]

Closes-Bug: #1401432

Issue:
Trusty repo has puppet 3.x > 2.7 which is a part of smgr repo.
As a result puppet from trusty repo gets installed against 2.7.x
Eventhough SMGR repo is before trusty repo in sources.list.

Fix:
Install pupet having the smgr repo alone in the sources.list.
after install of puppet revert the repo to old form.

Testing:
Re-image and provision on Ubuntu 14.0.4

Change-Id: Id8733dbac62cf5eb2c0e9c3ab757ed2b10dc7a97

Revision history for this message
Bharat Kumar (pbharat) wrote :
Download full text (3.4 KiB)

This issue is Fixed. Hence closing the bug.

Logs:
====
root@nodeg37:~# service puppet status
 * agent is running
root@nodeg37:~#

root@nodeg37:~# puppet agent -t
Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
   (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning')
Notice: Ignoring --listen on onetime run
Warning: Local environment: "production" doesn't match server specified node environment "ubuntu14icehouse13", switching agent to "ubuntu14icehouse13".
Info: Retrieving pluginfacts
Info: Retrieving plugin
Notice: /File[/var/lib/puppet/lib/puppet]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/vs_port]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/neutron_plugin_cisco]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/keystone_user_role]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/database_user]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/database_user/mysql.rb]/ensure: defined content as '{md5}26d55375b308ffa8cf9db68d0e039c5f'
Notice: /File[/var/lib/puppet/lib/puppet/provider/cinder_config]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/neutron_dhcp_agent_config]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/nova_project]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/nova_project/nova_manage.rb]/ensure: defined content as '{md5}ce8d1b84545b9f9b6c5904b25997a7a0'
Notice: /File[/var/lib/puppet/lib/puppet/provider/nova_admin_tenant_id_setter]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/glance.rb]/ensure: defined content as '{md5}7b75665d84920b5ede4d19368f5cce7b'
Notice: /File[/var/lib/puppet/lib/puppet/provider/ini_subsetting]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/swift_account_config]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/swift_account_config/ini_setting.rb]/ensure: defined content as '{md5}2b3d5bcc9f60702f7ff42a26b3618e58'
Notice: /File[/var/lib/puppet/lib/puppet/provider/sysctl_runtime]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/vs_bridge]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/glance_cache_config]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/keystone_endpoint]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/neutron_plugin_ovs]/ensure: created

root@nodeg37:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
root@nodeg37:~#
root@nodeg37:~# contrail-version
Package Version Build-ID | Repo | Package Name
-------------------------------------- ------------------------------ ----------------------------------
contrail-analytics 2.10-13 13
contrail-config 2.10-13 13
contrail-config-openstack 2.10-13 13
c...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.