fuel deploy ironic fails to start in.tftpd the first time

Bug #1651362 reported by Wei Hui
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Wei Hui

Bug Description

puppet.log:
2016-12-15T09:32:23.302216+00:00 err: Could not start Service[tftpd-hpa]: Execution of '/usr/sbin/in.tftpd -l -a 0.0.0.0:69 -u ironic --map-file /var/lib/tftpboot/map-file /var/lib/tftpboot' returned 1: /usr/share/ruby/vendor_ruby/puppet/util/log/destinations.rb:115:in `flush': Bad file descriptor (Errno::EBADF)

This error log shows because puppet starts in.tftpd before the package was installed.
Add upsteam puppetlabs-tftp resource dependecy can fix this problem.
https://github.com/huiweics/puppetlabs-tftp/commit/5c27dc5810d84054050df160afc6dc11a0515df2

If upsteam puppet changes, we may need to update fuel-library's Puppetfile which ref upsteam repo's tag
https://github.com/openstack/fuel-library/blob/master/deployment/Puppetfile#L127

Tags: area-library
Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
milestone: none → 9.2
importance: Undecided → High
status: New → Confirmed
tags: added: area-library
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to puppet-modules/puppetlabs-tftp (master)

Fix proposed to branch: master
Change author: Wei Hui <email address hidden>
Review: https://review.fuel-infra.org/29464

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

The issue here is that the commit does not pass CI for some FUEL CI related reason - it gets 503 from rubygems.org

Revision history for this message
Wei Hui (huiweics) wrote :

rake 12.0.0 renamed last_comment to last_description, we need to update rspec-core.
I will update Gemfile fix this.

Revision history for this message
Wei Hui (huiweics) wrote :

@vkuklin, I updated Gemfile, "bundle install" and "bundle exec rake lint --trace" work fine on my local computer, but CI servers "bundle install" failed to find compatible versions for gems. I think it related to this 503 error from rubygems.org.

Andrey Nikitin (heos)
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Pawel Brzozowski (pbrzozowski)
Changed in fuel:
status: In Progress → Confirmed
assignee: Pawel Brzozowski (pbrzozowski) → Fuel DevOps (fuel-devops)
Roman Vyalov (r0mikiam)
Changed in fuel:
milestone: 9.2 → 11.0
Revision history for this message
Andrey Nikitin (heos) wrote :

Could you please check this error again and confirm, that it still exists ?

Changed in fuel:
status: Confirmed → Incomplete
assignee: Fuel DevOps (fuel-devops) → Wei Hui (huiweics)
Changed in fuel:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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