sm:R3.0 build 17- contrail package name with only numeric should not be allowed to configure

Bug #1564355 reported by sundarkh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
High
prasad miriyala
R3.0
New
High
prasad miriyala

Bug Description

sm:R3.0 build 17 package name with only numeric should not be allowed to configure

Right now, it allows, package id allows to be created with only numerals. This should not be allowed

SM Node
--------

Mar 31 03:56:16 nodej8 puppet-master[28628]: Failed when searching for node nodeg21.englab.juniper.net: Could not retrieve facts for nodeg21.englab.juniper.net: undefined method `intern' for 3017:Fixnum

Target node nodeg21
-------------------------------------

Puppet agent unable to detect package with id as only numeric , in this case (id : 3017)

root@nodeg21:~# tail -f /var/log/syslog
Mar 31 03:47:35 nodeg21 puppet-agent[14226]: Unable to fetch my node definition, but the agent run will continue:
Mar 31 03:47:35 nodeg21 puppet-agent[14226]: Error 400 on SERVER: Could not retrieve facts for nodeg21.englab.juniper.net: undefined method `intern' for 3017:Fixnum
Mar 31 03:47:36 nodeg21 puppet-agent[14226]: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node nodeg21.englab.juniper.net: Could not retrieve facts for nodeg21.englab.juniper.net: undefined method `intern' for 3017:Fixnum

sundarkh (sundar-kh)
summary: - sm:R3.0 build 17 package name with only numeric should not be allowed to
- configure
+ sm:R3.0 build 17 contrail package name with only numeric should not be
+ allowed to configure
summary: - sm:R3.0 build 17 contrail package name with only numeric should not be
+ sm:R3.0 build 17- contrail package name with only numeric should not be
allowed to configure
sundarkh (sundar-kh)
description: updated
Revision history for this message
sundarkh (sundar-kh) wrote :

ID 140402 >>>> numeral only
Category image
Type ubuntu
Version 140402

Details
Path /cs-shared/images/ubuntu-14.04.2-server-amd64.iso
Kickstart /var/www/html/contrail/images/140402.ks
Kickseed /var/www/html/contrail/images/140402.seed

Re image goes through successfully with Image id as numeral only

Changed in juniperopenstack:
milestone: r3.0.1.0 → none
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.